Thanks Oliver, I will check all the files in /etc/pam.d My problems are with samba, but after a little troubleshooting I think that some of them are originated at PAM/Ldap level, so I'm checking this first. I've followed the guide taken from Ubuntu site: https://help.ubuntu.com/8.10/serverguide/C/network-authentication.html
I think that if I can succeed in authenticating via shell or ssh I can then rule-out pam issues and work on samba configuration. Thanks, Riccardo --------- Original Message -------- Da: Olivier Nicole <[email protected]> To: Cc: [email protected] Oggetto: Re: [Samba] Samba+Ldap problems Data: 03/06/09 12:42 > > > Hi, > > > I'm trying to use it to > > login via ssh. This user cannot authenticate. > > Here is the result from auth.log and some configurations files > > This is not a samba problem but a SSH/Ubuntu/Ldap problem :) > > You need both packages pam_ldap AND nss_ldap. > > You need to configure both (configuration is very similar, but there > may be some differences). > > To give a brief explanation: > > pam_ldap is used by ssh (you need to configure /etc/pam.d/ssh !) to > accept the username and password > > nss_ldap is used by thing slike getent, or to show your correct > username and group when you do a "ls -l" > > Now it much depends how your LDAP tree is organized, so I cannot give > much more advise; what is the objectClass you use for your users? I am > surprised to see that user and password belongs to different place in > the LDAP tree. I am also surprised that the /etc/pam.d example you > give do not contain a single reference to ldap... > > There are good how-to floating on Google, that work you step by step. > > > Best regards, > > Olivier > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
