On Wed, 17 Sep 2003 13:23:40 +0300 [EMAIL PROTECTED] wrote: > Hi All, > > I want to enable two users from our windows domain to access particular > share from my samba server. I am new to linux ... please help me out. > > I'd setup public share and configured samba long time before. It works fine. > Now I want to create new share to give access to particular users. Here is > how I did that. > > * I created a folder, lets say "folder" in my Linux box. > * Change its permission to 0765. > * The user names of the windows network are "14200" and "14210". > * I tried # smbadduser 14200:My_name > * It gives me error 14200 is not in PASSWD database SKIPPING... > * Then I tried to create a user with # adduser 14200 > * It gives the error not a valid name. (It seems to me that Linux does > not support only numeric characters in user name). >
Hi Yasir, You are correct that user names should not start with a number. Fortunately Samba allows you to map SMB names to local user names. You were on the right track with smbadduser except that the local name has to come first. smbadduser My_name:14200 also make sure this line is uncommented in your smb.conf file: username map = /etc/samba/smbusers This tells Samba to use the mappings found in the smbusers file which looks like this: Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list