Dear Muthukumar,
Thank you very much for your very fast response.
Here is the error message I've got after your advice:
Ldap_init ( 192.168.2.2,0 )
Filter: Attribute=*
Requesting: ALL
# extended LDIF
#
# LDAPv3
# base <dc=juno,dc=hov,dc=butanegroup,dc=com> with scope sub
# filter: Attribute=*
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
matchedDN: DC=hov,DC=butanegroup,DC=com
text: 0000208D: NameErr: DSID-03100138, problem 2001
(No_OBJECT), data 0, best match of,
'DC=hov,DC=butanegroup,DC=com'
# numResponses: 1
Would you please tell what is wrong?
Thank you
Hamed
-----Original Message-----
From: Muthukumar [mailto:kmuthu_gct@hotmail.com]
Sent: 2004/01/11 07:30 ?.?
To: Hamed Majnoonian; Henrik Nordstrom
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Question about the argument of ldapsearch!
>
> Ldapsearch -h 192.168.2.2 -v -x -D
dc=juno,dc=hov,dc=butanegroup,dc=com
>
> The complete name of my server is: juno.hov.butanegroup.com
>
> Could you please help me on this one and tell me dose the argument
sound
>>>
You are not using the correct way of search to LDAP database.
/ldapsearch -h 192.168.2.2 -xv -b dc=juno,dc=hov,dc=butanegroup,dc=com
"Attribute=*"
will print all information about the users. If u need any help regarding
this put as
/ldapsearch -H will print all the usage informations.
or use the link
http://tille.soti.org/training/ldap/ldapbasics-c614.html#sect_03_01
No need to use the Distinguished name for the ldapsearch use the bind
name for the search.
Regards,
Muthukumar.
Received on Sun Jan 11 2004 - 09:20:02 MST
This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:05 MST