Thanks for suggestion. However still no luck.
Yes _e3user was password. I tried -W and -w too.
BTW, let me again repeat the steps done for configuration

- Install openldap
- Change /etc/openldap/ldap.conf property file
- Tried to login to linux box using LDAP credential -> it did not work
- Tried running authconfig with enableldap, enableldapauth etc... with -update 
all filter
- Tried to login to linux box using LDAP credential -> Linux box unexpectedly 
closed the connection and putty window closed
- Tried to run ldapsearch.....here I am now

Do you think, there are some steps or configurations I am missing.
I am basically not looking for ldapsearch command to run rather I just wanted 
peoples having ldap credential easily login to the linux box.

regards,
Rb



________________________________
From: Echedey Lorenzo <[email protected]>
To: Cool The Breezer <[email protected]>
Cc: Jonathan Clarke <[email protected]>; [email protected]
Sent: Mon, March 1, 2010 2:25:26 PM
Subject: Re: OpenLDAP client configuration with CentOS 5.3

Watch the space:

ldapsearch -x  -H ldap://xxx.yyy.com -D "cn=Directory Manager" 
"(objectclass=*)" -W _e3user

(assuming _e3user is your password. maybe you should try with -w also)



2010/3/1 Echedey Lorenzo <[email protected]>

>Try:
>
>ldapsearch -x  -H ldap://xxx.yyy.com-D "cn=Directory Manager" 
>"(objectclass=*)" -W _e3user
>
>KR
>
>
>2010/3/1 Cool The Breezer <[email protected]>
>
>
>I tried as per suggestions using man page. But still getting the error
>>
>>>>ldapsearch -H ldap://xxx.yyy.com-D "cn=Directory Manager" "(objectclass=*)" 
>>>>-W -X _e3user
>>>>Enter LDAP Password:
>>
>>SASL/EXTERNAL authentication started
>>>>ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
>>>>        additional info: SASL(-4): no mechanism available:
>>
>>
>>It now generates a new error. I tried using authconfig with --enableldap,  
>>--enablewinbind  and  --disableldaptls.
>>>>Still users are not able to login to linux box using LDAP credentials.
>>
>>
>>
>>
>>>>----- Original Message ----
>>>>From: Jonathan Clarke <[email protected]>
>>>>To: Cool The Breezer <[email protected]>
>>>>Cc: [email protected]
>>>>Sent: Mon, March 1, 2010 1:16:32 PM
>>>>Subject: Re: OpenLDAP client configuration with CentOS 5.3
>>
>>
>>Le 01/03/2010 06:53, Cool The Breezer a écrit :
>>>>> Thanks for your suggestion. But still there is some problem.
>>>>> /ldapsearch -H ldap://ldap-sunnyvale.juniper.net -x -LL
>>>>> ou=people,dc=jnpr,dc=net "{mail=*norton*}" sn cn mail/
>>>>> /
>>>>> /
>>>>> /Output: version: 1/
>>>>> /
>>>>> /
>>>>> /Operations error (1)/
>>>>> /Additional information: 00000000: LdapErr: DSID-0C090627, comment: In
>>>>> order to perform this operation a successful bind must be completed on
>>>>> the connection., data 0, vece/
>>>>>
>>>>> Not sure the reason behind such errors. I think there is something
>>>>> wrong, because when I am trying to login linux box using ldap
>>>>> credentials, it simply closes the connection.
>>
>>>>As it says in this error message: "a successful bind must be completed on 
>>>>the connection". This means you must authenticate to the LDAP server in 
>>>>order to search in it.
>>
>>>>Check the -D and -w/-W options in the ldapsearch(1) man page. You'll need a 
>>>>valid account in your LDAP server and it's password.
>>
>>>>Jonathan
>>>>-- --------------------------------------------------------------
>>>>Jonathan Clarke - [email protected]
>>>>--------------------------------------------------------------
>>>>Ldap Synchronization Connector (LSC) - http://lsc-project.org
>>>>--------------------------------------------------------------
>>
>>
>>
>>
>>
>
>
>-- 
>--------------------------------------------
>| Echedey Lorenzo Arencibia  |
>--------------------------------------------
>


-- 
--------------------------------------------
| Echedey Lorenzo Arencibia  |
--------------------------------------------



      

Reply via email to