LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   username map in samba (https://www.linuxquestions.org/questions/linux-software-2/username-map-in-samba-112577/)

robert.china 11-05-2003 04:42 AM

username map in samba
 
samba 3.00 on redhat8
1. I have two users in system. one is root, the other is robert,
2. I add two users into /etc/samba/smbpasswd, one is root, the other is robert,
3. I add the line into /etc/samba/smbusers
root = robert
4. from windows xp, I use
net use z: \\sambaserver\datadir
a. I login with the user robert, and see the shared folder
I can't add or delete files in the folder
b. I login with the user root and see the shared folder
I can add or delete files, even do everything in the folder

I assume that during login session, robert has been mapped to root, so I should have all rights that root has, but in fact I can't, why?

5. I delete both roberts, things go worse. robert can't log into samba folder.

Thanks for your analysis!

robert.china 11-05-2003 07:10 PM

no comment? why?
any samba expert here?

robert.china 11-05-2003 08:47 PM

I got the answer, there is no
username map = /etc/samba/smbusers
in my /etc/samba/smb.conf

I have been thinking that it is the default setting for rh8, while it is not.

Hope this helps for those having the same problem with me.


All times are GMT -5. The time now is 08:37 PM.