[Date Prev][Date Next] [Chronological] [Thread] [Top]

Login failure



Hi all,
I am a new user of LDAP. I make the following configurations and I can't login 
on my computer:
 - I migrate my /etc/passwd and /etc/group with migrate_passwd.pl and 
migrate_group.pl;
- I commented an account from my /etc/passwd and in /etc/shadow.
These are my files: 
 - ***************************slapd.conf**************************************
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/redhat/rfc822-MailMember.schema
include         /etc/openldap/schema/redhat/autofs.schema
include         /etc/openldap/schema/redhat/kerberosobject.schema

pidfile /var/run/slapd.pid

defaultsearchbase dc=lismanni,dc=com

database        ldbm
suffix          "dc=lismanni,dc=com"
rootdn          "cn=Manager,dc=lismanni,dc=com"
rootpw          secret
directory       /var/lib/ldap/test
index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
index   cn,mail,surname,givenname                       eq,subinitial
- ******************************ldap.conf********************************
host 127.0.0.1
base dc=lismanni,dc=com

# I've tried also on port 389
port 636

pam_filter objectclass=posixAccount
pam_login_attribute uid
pam_member_attribute uniquemember
pam_password crypt
ssl yes
sslpath /usr/share/ssl/certs

- ***************************/etc/pam.d/login**************************
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so
 -**auth        required      /lib/security/pam_env.so
auth        sufficient    /lib/security/pam_ldap.so
auth        sufficient    /lib/security/pam_unix.so likeauth nullok
auth        required      /lib/security/pam_deny.so

-********************/etc/pam.d/system-auth**********************
account     sufficient    /lib/security/pam_ldap.so
account     required      /lib/security/pam_unix.so

password    required      /lib/security/pam_cracklib.so retry=3 type=
password    sufficient    /lib/security/pam_ldap.so
password    sufficient    /lib/security/pam_unix.so nullok use_authtok md5 
shadow
password    required      /lib/security/pam_deny.so

session     required      /lib/security/pam_limits.so
session     required      /lib/security/pam_unix.so

Where I'm doing wrong? Thank you in advance for your help.
-- 
LNC