[Samba] User in passdb, but getpwnam() fails!
daniel.wilson at sunderland.ac.uk
Tue Jan 18 10:56:14 GMT 2005
what is the Operating System on the samba server?
Also you need to edit your nsswitch conf file, usually
/etc/nsswitch.conf to have:
passwd: files ldap
group: files ldap
Your problem is that your OS isnt looking at ldap for its user accounts,
its also looking at your passwd file (/etc/passwd)
Adi Nugraha wrote:
>my problem is just like the subject, I could browse the shares with the same
>username & password but I can't login to the domain, I'm using samba 3.0.2.a
>with ldap backend, can anyone help me with this, I know it's been posted
>before but I can't find a solution.
IT & Communications Service
University of Sunderland
Unit1 Technology Park
Tel: 0191 515 2695
This e-mail contains information which is confidential and may be
privileged and is for the exclusive use of the recipient.
It is the responsibility of the recipient to ensure that this message
and its attachments are virus free.
Any views or opinions presented are solely those of the author and do
not necessarily represent those of the University, unless otherwise
More information about the samba