[Samba] User in passdb, but getpwnam() fails!
adi at westindo.co.id
Wed Jan 19 07:07:04 GMT 2005
I'm using Mandrake 10.0, the nsswitch.conf file is already configured, and
from getent passwd, i can see the user name that I'm using, BTW I tried to
reconfigure everything from the begining again, and now I can login using
the root password, but stilll not as a Domain user, still the same problem
----- Original Message -----
From: "Daniel Wilson" <daniel.wilson at sunderland.ac.uk>
To: <samba at lists.samba.org>
Sent: Tuesday, January 18, 2005 5:56 PM
Subject: Re: [Samba] User in passdb, but getpwnam() fails!
> 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
> >username & password but I can't login to the domain, I'm using samba
> >with ldap backend, can anyone help me with this, I know it's been posted
> >before but I can't find a solution.
> Daniel Wilson
> Systems Administrator
> IT & Communications Service
> University of Sunderland
> Unit1 Technology Park
> Chester Road
> SR2 7PT
> 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
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba