7 replies
by mckaytech
There are three pieces to this. The first is to get the password scheme correct. - you'll need a statement in your smb.conf that says 'encrypt passwords = yes'.
Then you'll need to create a Samba user id and password for each user. You can either do this manually in the smbpasswd file or with a utility like smbadduser.
Finally, you'll need to create the directory with appropriate permissions, identify the share in the smb.conf and assign the users to it. For the permissions, you can either use groups or you can just put a line in the smb.conf that says 'valid users = user1 user2'.
If you would like a sample smb.conf to work from, please write to me off-the-list and I'll send you one that I use for a Samba server in an NT/Win98 environment.
paul
by cybergod
by braveh4rt
You can do it by setting up in smb.conf and make the directory home accessable with samba.
make sure the line like this is there
[home]
browseable=yes
this will make the user login to samba with windows will see their home directory.
if u want to make global share just add this
[global]
path=\usr\local\sharedir
guest = yes
browsable=yes
this will make all user see this directory.
And 1 point u should know, if u want samba aunthicate the user permisison then u must hack the windows registry to make their password encryption disabled cause samba and win encryption is different.
Try to read the samba man with
user@www#man samba
I got my pc running samba and share folder with windows box.
may help u
Tcs
by cybergod
by mckaytech
I'm sorry the sample smb.conf didn't help. What are the directory and file permissions on the Linux file structure? Does the output from 'ls -l ' show correct permissions and ownership on the directory/files you're trying to share?
paul
by cybergod
by cybergod
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending