I am trying to setup user authentication thru a LDAP directory on my SUSE LINUX 9.0 box. I have set up a openldap server and added a few users. I have also configured pam_ldap & nss_ldap module so that I can use LDAP to authenticate unix users. however I am now unable to logon onto my machine. my passwd is accepted but i am again prompted for login & password. I am also not able to login as root.
I would appreciate any help.
Regards
Anand
my configuration files are listed below :
/etc/ldap.conf ########################################## host 127.0.0.1
# The distinguished name of the search base. base dc=linux,dc=viaweb
ssl start_tls nss_base_passwd dc=linux,dc=viaweb?sub nss_base_shadow dc=linux,dc=viaweb?sub nss_base_group dc=linux,dc=viaweb?one
##########################################
/etc/nsswitch.conf #######################
passwd: files ldap group: files ldap shadow: files ldap
#######################
/etc/pam.d/login
#######################################################################
#%PAM-1.0 auth required pam_securetty.so auth required pam_nologin.so auth sufficient pam_ldap.so auth required pam_unix2.so nullok #set_secrpc #auth required pam_homecheck.so auth required pam_env.so auth required pam_mail.so
account sufficient pam_ldap.so account required pam_unix2.so
password required pam_pwcheck.so nullok password sufficient pam_ldap.so password required pam_unix2.so nullok use_first_pass use_authtok shadow
session required pam_unix2.so none # debug or trace session required pam_limits.so
#########################################################################
_________________________________________________________________ Catch the formula fever! Get all the latest news. http://www.msn.co.in/formula2004/ Right here on MSN.