Wieprecht, Karen M.
2002-Nov-04 21:42 UTC
[Samba] User nobody logging in to shares instead of domain us er
I am assuming that you have guest ok = yes, and that guest is the nobody account. It sounds like your name lookups are not searching winbind, do you have winbind in your nsswitch.conf file for password and group? Have you restarted your nameservice lookups (automatic on solaris, nsadmin restart on Irix, don't know about other platforms but a reboot should certainly take care of it if you don't have a platform-specific command to do this. Also, you are using "+" as a winbindseparator ... Are you also using NIS? If so, you may want to try using "_" instead as a winbind separator, I seemed to have problems with "+" interacting adversely with NIS. Karen Wieprecht -----Original Message----- From: David Shapiro [mailto:David.Edward.Shapiro@bti.com] Sent: Monday, November 04, 2002 2:01 PM To: 'samba@lists.samba.org' Subject: [Samba] User nobody logging in to shares instead of domain user Hello, I have winbind and pam enabled on samba 2.2.6. The problem I am having is that the login it is using to check for authentication to a share I made is user called "nobody" instead of the domain user INS+DavidSha. I see in the workstation log: [2002/11/04 14:00:43, 10] lib/username.c:user_in_list(456) user_in_list: checking user nobody in list INS+DavidSha user_in_list: checking user |nobody| against |INS+DavidSha| [2002/11/04 14:00:43, 10] lib/username.c:user_in_list(456) 2002/11/04 14:00:43, 2] smbd/service.c:make_connection(331) Invalid username/password for samba-lib [nobody] [2002/11/04 14:00:43, 3] smbd/error.c:error_packet(110) error packet at smbd/reply.c(166) cmd=117 (SMBtconX) NT_STATUS_WRONG_PASSWORD [ [2002/11/04 14:00:43, 6] lib/util_sock.c:write_socket(521) getent passwd returns domain users, so I think winbind is working. The share is set up as follows: [samba-lib] comment = Samba lib path = /usr/local/samba/lib valid users = INS+DavidSha read only = No The directory has group ownership of group called users with gid of 10000. I have set up several samba servers. I am stumped on this one. David -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
David Shapiro
2002-Nov-04 21:56 UTC
[Samba] User nobody logging in to shares instead of domain us er
I have winbind in nsswitch.conf. The getent passwd command works fine, which shows the libaries exist and that winbind is ready to be used for authentication. It is a solaris system. I have used + fine as a separator for a year now. guest ok is actually set to no. The guest user is nobody. David -----Original Message----- From: Wieprecht, Karen M. [mailto:Karen.Wieprecht@jhuapl.edu] Sent: Monday, November 04, 2002 4:41 PM To: 'David Shapiro'; 'samba@lists.samba.org' Subject: RE: [Samba] User nobody logging in to shares instead of domain us er I am assuming that you have guest ok = yes, and that guest is the nobody account. It sounds like your name lookups are not searching winbind, do you have winbind in your nsswitch.conf file for password and group? Have you restarted your nameservice lookups (automatic on solaris, nsadmin restart on Irix, don't know about other platforms but a reboot should certainly take care of it if you don't have a platform-specific command to do this. Also, you are using "+" as a winbindseparator ... Are you also using NIS? If so, you may want to try using "_" instead as a winbind separator, I seemed to have problems with "+" interacting adversely with NIS. Karen Wieprecht -----Original Message----- From: David Shapiro [mailto:David.Edward.Shapiro@bti.com] Sent: Monday, November 04, 2002 2:01 PM To: 'samba@lists.samba.org' Subject: [Samba] User nobody logging in to shares instead of domain user Hello, I have winbind and pam enabled on samba 2.2.6. The problem I am having is that the login it is using to check for authentication to a share I made is user called "nobody" instead of the domain user INS+DavidSha. I see in the workstation log: [2002/11/04 14:00:43, 10] lib/username.c:user_in_list(456) user_in_list: checking user nobody in list INS+DavidSha user_in_list: checking user |nobody| against |INS+DavidSha| [2002/11/04 14:00:43, 10] lib/username.c:user_in_list(456) 2002/11/04 14:00:43, 2] smbd/service.c:make_connection(331) Invalid username/password for samba-lib [nobody] [2002/11/04 14:00:43, 3] smbd/error.c:error_packet(110) error packet at smbd/reply.c(166) cmd=117 (SMBtconX) NT_STATUS_WRONG_PASSWORD [ [2002/11/04 14:00:43, 6] lib/util_sock.c:write_socket(521) getent passwd returns domain users, so I think winbind is working. The share is set up as follows: [samba-lib] comment = Samba lib path = /usr/local/samba/lib valid users = INS+DavidSha read only = No The directory has group ownership of group called users with gid of 10000. I have set up several samba servers. I am stumped on this one. David -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba