[Samba] samba authectication mechanism

garumuga at sahasrasolutions.com garumuga at sahasrasolutions.com
Tue Jan 24 17:08:37 GMT 2006


Hi all,



We are trying to use samba (ver 3.0.20b) on Linux 2.6.12.6 kernel version.

We want to support multiple authentication mechanisms support that we are
developing based on Samba server. Some of these authentication mechanisms
that we are targetting are: UNIX password, NIS, LDAP mechanisms.

We are able to successfully use the UNIX password to authenticate a Samba
user while he tries to login into the Samba server. However, when the user
is coming in from a NIS server, we get an error stating that
"NT_STATUS_LOGON_FAILURE".

We referred to some documentation that said that even after importing the
NIS users from NIS server, we need to change the password using the
smbpasswd command for a NIS user before Samba recognises this user as a
valid one. Is this conversion from the NIS server database to the Samba
password database a mandatory one? If so, we felt that this would be an
additional overhead that has to be handled for each and every user by
changing his password for Samba access?

Have anyone tried to setup a Samba server with NIS system database without
requiring a manual update of the password in the Samba database. We would
ideally like the Samba authentication to recognise the password in the NIS
database for that user.

Any help that you can offer to get this resolved for us would be very
highly appreciated.

Have a good day,

Thanks

Govind



More information about the samba mailing list