You can make:
ldapsearch -H ldap://ldap-sunnyvale.juniper.net -x -LL -b ou=people,dc=jnpr,dc=net "(mail=*norton*)" sn cn mail
Note the option "-b" and substitution of "{" by "(" and "}" by ")".
Try again...
2010/3/1 Cool The Breezer techcool.kumar@yahoo.com:
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. ________________________________ From: Echedey Lorenzo echedey@gmail.com To: Benjamin Griese der.darude@gmail.com Cc: Cool The Breezer techcool.kumar@yahoo.com; openldap-technical@openldap.org Sent: Sat, February 27, 2010 2:32:08 AM Subject: Re: OpenLDAP client configuration with CentOS 5.3
Hi,
Maybe using the -x option in your ldapsearch requests may resolve your problem.
KR
2010/2/26 Benjamin Griese der.darude@gmail.com
Hi,
have you read the manpage for ldapsearch? You should deliver some more information which parameter did you use for ldapsearch to figure out where is the problem is.
http://www.zytrax.com/books/ldap/ch14/#ldapsearch Try this URL for example.
Bye
On Fri, Feb 26, 2010 at 09:08, Cool The Breezer techcool.kumar@yahoo.com wrote:
Hi All, We have a dedicated LDAP server and I would like to configure OpenLDAP client in our linux boxes running on centOS 5.3. I have installed openldap client and changed /etc/openldap/ldap.conf with folllowing info
BASE dc=my, dc=net URI ldap://10.122.12.13
But when I try to run ldapsearch, I get following error
SASL/EXTERNAL authentication started ldap_sasl_interactive_bind_s: Unknown authentication method (-6) additional info: SASL(-4): no mechanism available:
The objective is anybody having ldap id can login to linux box. At present, I am manually creating individual ids which we want to integrate with LDAP authentication. I would appreciate your help
- RB
--
| Echedey Lorenzo Arencibia |