[Samba] Samba works fine but can't login to linux using LDAP backend

Adi Nugraha adi at westindo.co.id
Thu Feb 17 05:17:19 GMT 2005


yes, here's my pam.d/login

auth       required     pam_securetty.so
auth       required     pam_stack.so service=system-auth
auth       required     pam_nologin.so
account    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth
session    optional     pam_console.so

#auth      required     pam_securetty.so
#auth      required     pam_nologin.so
auth       sufficient   pam_ldap.so
auth       required     pam_unix.so nullok try_first_pass #set_secrpc
account    sufficient   pam_ldap.so
account    required     pam_unix.so
password   required     pam_pwcheck.so nullok
password   required     pam_ldap.so use_first_pass use_authtok
password   required     pam_unix.so nullok use_first_pass use_authtok
session    required     pam_unix.so none # debug or trace
session    required     pam_limits.so
session    required     pam_env.so
session    optional     pam_mail.so

and as I've said, getent passwd returns the user in the ldap and When I
login from the linux box itself it asks for 2 password the local and ldap
password, but I can't login using LDAP passwords

I didn't configure sshd tho

----- Original Message -----
From: "Jeff Saxton" <jeff.saxton at sensage.com>
To: <adi at westindo.co.id>
Cc: <samba at samba.org>
Sent: Thursday, February 17, 2005 10:17 AM
Subject: Re: [Samba] Samba works fine but can't login to linux using LDAP
backend


> So you configured PAM to use LDAP?
> > Hi
> > I have 2 questions :
> >
> > 1. I've setup a samba with ldap backend and everything is working fine
> > with samba but I can't login to the OS using the users I added through
> > the smbldap-useradd utility, getent passwd worked fine and i can see the
> > user but I can't login,
> >
> > I'm using mandrake 10.0 and samba 3.0.2a anyon knows why? I've followed
> > some of the threads but the most I gt out of it is to use ldap passwd
> > sync = yes which I am already using,
> >
> > 2. I know this is off topic but does will rsync backup the acl from a
> > w2k server to the samba share ?
> >
> > thanks
> >
> > --
> > 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 mailing list