smythsys
April 15th, 2009, 04:40 PM
Hi,
I've set up a 8.10 Ubuntu LDAP server on a local network. It seems to be working fine locally (I can ldap search, phpldap manage and so on).
The problems arise when trying to connect a client. The client can ldapsearch the server (specifying the ip address). However when I try any command and it queries the server (finder, pamtest, getent...) I get auth failed and on the auth log I get the following.
Apr 15 15:44:58 Puesto1 pamtest: PAM unable to dlopen(/lib/security/pam_foreground.so): /lib/security/pam_foreground.so: cannot open shared object file: No such file or directory
Apr 15 15:44:58 Puesto1 pamtest: PAM adding faulty module: /lib/security/pam_foreground.so
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: failed to bind to LDAP server ldapi:///192.168.1.168: Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: reconnecting to LDAP server...
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: failed to bind to LDAP server ldapi:///192.168.1.168: Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
Apr 15 15:45:02 Puesto1 pamtest: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Apr 15 15:45:02 Puesto1 pamtest: nss_ldap: failed to bind to LDAP server ldapi:///192.168.1.168: Can't contact LDAP server
Apr 15 15:45:02 Puesto1 pamtest: nss_ldap: could not search LDAP server - Server is unavailable
Apr 15 15:45:02 Puesto1 pamtest: pam_unix(passwd:auth): check pass; user unknown
Apr 15 15:45:02 Puesto1 pamtest: pam_unix(passwd:auth): authentication failure; logname=persona uid=1000 euid=1000 tty= ruser= rhost=
Would anybody know why the client canīt connect to the server?
I'd appreciate any help.
Thanks
I've set up a 8.10 Ubuntu LDAP server on a local network. It seems to be working fine locally (I can ldap search, phpldap manage and so on).
The problems arise when trying to connect a client. The client can ldapsearch the server (specifying the ip address). However when I try any command and it queries the server (finder, pamtest, getent...) I get auth failed and on the auth log I get the following.
Apr 15 15:44:58 Puesto1 pamtest: PAM unable to dlopen(/lib/security/pam_foreground.so): /lib/security/pam_foreground.so: cannot open shared object file: No such file or directory
Apr 15 15:44:58 Puesto1 pamtest: PAM adding faulty module: /lib/security/pam_foreground.so
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: failed to bind to LDAP server ldapi:///192.168.1.168: Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: reconnecting to LDAP server...
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: failed to bind to LDAP server ldapi:///192.168.1.168: Can't contact LDAP server
Apr 15 15:45:01 Puesto1 pamtest: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)...
Apr 15 15:45:02 Puesto1 pamtest: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server
Apr 15 15:45:02 Puesto1 pamtest: nss_ldap: failed to bind to LDAP server ldapi:///192.168.1.168: Can't contact LDAP server
Apr 15 15:45:02 Puesto1 pamtest: nss_ldap: could not search LDAP server - Server is unavailable
Apr 15 15:45:02 Puesto1 pamtest: pam_unix(passwd:auth): check pass; user unknown
Apr 15 15:45:02 Puesto1 pamtest: pam_unix(passwd:auth): authentication failure; logname=persona uid=1000 euid=1000 tty= ruser= rhost=
Would anybody know why the client canīt connect to the server?
I'd appreciate any help.
Thanks