I have a share set up in Samba so only 3 users can get to it. [test-share] path=/home/tom/test-dir valid users = user1, user2, user3 read only = yes printable = no user1 has an account on the UNIX box itself and can connect no problem. user2 and user3 have accounts on the NT domain. Security is set to 'server' and password server set to the PDC and BDC's. A username map is set up as follows: nobody = user2 user3 So it should map to 'nobody' when they connect. When they do try to connect, they get prompted for a username and password (which of course doesn't work.) Is there a problem with mapping users to 'nobody' in a username map, and using "valid users"? Thanks in advance, Tom __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
MCCALL,DON (HP-USA,ex1)
2001-Feb-27 15:47 UTC
security=server / username map / valid users NOT working
Tom, I THINK that what samba is looking for in the valid users = list is the UNIX names of the users that are in the usermap file; the mapped user is the account and password that I believe it is going to test against when it does the tconn&x to the particular share where there is a valid users parameter. Hope this helps, Don -----Original Message----- From: Tom [mailto:freyason@yahoo.com] Sent: Monday, February 26, 2001 2:36 PM To: samba@lists.samba.org Subject: security=server / username map / valid users NOT working I have a share set up in Samba so only 3 users can get to it. [test-share] path=/home/tom/test-dir valid users = user1, user2, user3 read only = yes printable = no user1 has an account on the UNIX box itself and can connect no problem. user2 and user3 have accounts on the NT domain. Security is set to 'server' and password server set to the PDC and BDC's. A username map is set up as follows: nobody = user2 user3 So it should map to 'nobody' when they connect. When they do try to connect, they get prompted for a username and password (which of course doesn't work.) Is there a problem with mapping users to 'nobody' in a username map, and using "valid users"? Thanks in advance, Tom __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba