Results 1 to 1 of 1
Hello,
Firstly, please excuse me for my English.
I would like to dynamically create Samba shares with LAMP application.
The users being able to have access to shares are listed ...
- 07-01-2007 #1Just Joined!
- Join Date
- Jul 2007
- Posts
- 1
Dynamic configuration of Samba from LAMP
Hello,
Firstly, please excuse me for my English.
I would like to dynamically create Samba shares with LAMP application.
The users being able to have access to shares are listed in a Active Directory server. To create a share I theoretically need only the name of the user. I think that by using Kerberos and ldap it is suitabe. I will not like to be obliged to create linux accounts or storing the password of the user in my MySQL database.
However, I don't know how to solve this problem. In theory I should pass by the following stages:
mkdir /home/john_doe
chown samba /home/john_doe
echo "[john_doe] \
path=/home/john_doe \
browsable=yes \
valid users=\"DOE john\" >> /etc/samba/smb.conf
Where "DOE John" is the name of user defined in AD.
Can you help me a little bit to configure Samba ?
Thank you in advance,
Yves


Reply With Quote