[Samba] Auth Problem

Felipe Augusto van de Wiel felipe at paranacidade.org.br
Tue Oct 3 17:14:11 GMT 2006

Hash: SHA1

On 10/02/2006 06:57 AM, Marian Neagul escreveu:
> Hello,


> I have a problem related to user authentication: Users can not login from
> Windows workstations.
> I get the following error:
> "The system could not log you in. Make sure your User Name and domain are
> correct then type your password again."
> Users can access shares, they are prompted for a user and password and it is
> ok. The same user and password does not work for login.
> What could be the problem? I've posted the logs and smb.conf  at
> http://www.info.uvt.ro/~neagul/samba/
> I want to mention that the server is a production server and was hit by a
> hardware failure. :-( I restored everything but it doesn't work.

	Are you using LDAP, right? How did you restore the LDAP
information? Did you define the proper sid on the Samba? Did you
store the LDAP password (smbpasswd -w)?

[2006/10/02 13:25:39, 5] lib/smbldap.c:smbldap_search_ext(1080)
  smbldap_search_ext: base => [dc=info,dc=uvt,dc=ro], filter =>
[(&(sambaSID=S-1-5-21-891903661-3504879653-345467806-501)(objectclass=sambaSamAccount))], scope => [2]
[2006/10/02 13:25:39, 4] passdb/pdb_ldap.c:ldapsam_getsampwsid(1569)
  ldapsam_getsampwsid: Unable to locate SID [S-1-5-21-891903661-3504879653-345467806-501] count=0

	This is what got my attention.

> Thank you!
> Marian Neagul

	I hope this helps.

- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/           Phone: (+55 41 3350 3300)
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org


More information about the samba mailing list