|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: user doesn't exist? pam_ldap
From: Ovanes Manucharyan (olm
csun.edu)Date: Fri Jul 21 2000 - 01:04:07 CDT
- Next message: Ben Collins: "Re: user doesn't exist? pam_ldap"
- Previous message: Fredrik Liljegren: "RE: pam_smb"
- Next in thread: Ben Collins: "Re: user doesn't exist? pam_ldap"
- Reply: Ben Collins: "Re: user doesn't exist? pam_ldap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The following should work IMHO
$su - tst
su: user tst does not exist
..but it doesnt..
Here is my pam.d/login file.
#%PAM-1.0
auth required /lib/security/pam_securetty.so
auth required /lib/security/pam_nologin.so
auth sufficient /lib/security/pam_ldap.so
auth sufficient /lib/security/pam_unix_auth.so
account sufficient /lib/security/pam_ldap.so
account sufficient /lib/security/pam_unix_acct.so
password required /lib/security/pam_cracklib.so
password sufficient /lib/security/pam_ldap.so
password sufficient /lib/security/pam_pwdb.so use_first_pass
session required /lib/security/pam_unix_session.so
#session optional /lib/security/pam_console.so
================================================================================
And here are the results from my ldap logs which apparently show that
the pam_ldap module did find the user. And I know that the user
exists in ldap.
Jul 20 22:46:21 ldap slapd[2427]: conn=63679 fd=5 connection from host.domain.com (10.10.10.1) accepted.
Jul 20 22:46:21 ldap slapd[2427]: conn=63679 op=0 BIND dn="" method=128
Jul 20 22:46:21 ldap slapd[2427]: conn=63679 op=0 RESULT err=0 tag=97 nentries=0
Jul 20 22:46:21 ldap slapd[2427]: conn=63679 op=1 SRCH base="O=CSUN" scope=2 filter="(&(objectclass=POSIXACCOUNT)(uid=TST))"
Jul 20 22:46:21 ldap slapd[2427]: conn=63679 op=1 RESULT err=0 tag=101 nentries=1
Jul 20 22:46:21 ldap slapd[2427]: conn=63679 op=-1 fd=5 closed errno=0
I would appreciate if someone let me know whats wrong with this.
Sincerely,
Ovanes
-- To unsubscribe: mail -s unsubscribe pam-list-requestredhat.com < /dev/null
- Next message: Ben Collins: "Re: user doesn't exist? pam_ldap"
- Previous message: Fredrik Liljegren: "RE: pam_smb"
- Next in thread: Ben Collins: "Re: user doesn't exist? pam_ldap"
- Reply: Ben Collins: "Re: user doesn't exist? pam_ldap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]