General
cancel
Showing results for 
Search instead for 
Did you mean: 

login problem when ldap server is down

Susvirkar
Occasional Visitor

login problem when ldap server is down

i have rhel 5.4 openldap server

my client is hp-unix 11.23

when i poweroff the ldap server

i am not able to login to hp-unix server wih local user also

but when my openldap server is up & but ldap service is down

i donot face any problem

Can any one guide how to solve above problem ??
2 REPLIES
singh sanjeev
Trusted Contributor

Re: login problem when ldap server is down

adapt the /etc/nsswitch.conf file to refer local in case ldap is not avialable.
Sanjeev Singh
Susvirkar
Occasional Visitor

Re: login problem when ldap server is down

Sorry for wrong information

i am able to login but its taking 5-6 min time to give me a shell prompt

what i found that

i login using local user ,at the same time
i did netstat -na | grep 389 from existing connection , i found connection remain in SYC_SENT state for sometime & repeat for 2-3 time ,as soon as socket get clean i get shell prompt

Could this be the problem ??

if yes how do i control this time from ldapux
client deamon ??