[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: searching on port 389 or 636

Although; I noticed when I do this search on the ldap server it works.

# ldapsearch -h localhost -x -s base
# LDAPv3
# base <> with scope base
# filter: (objectclass=*)
# requesting: ALL

# smb-ldap.org
dn: dc=smb-ldap,dc=org
objectClass: top
objectClass: dcObject
objectClass: organization
o: smb-ldap.org
dc: smb-ldap

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

On Fri, 2004-04-02 at 11:16, Thomas Gagné wrote:
ldapsearch -x -h ldap://ldap2.smb-ldap.org -D 
"cn=Manager,dc=smb-ldap,dc=org" -s base -W
ldapsearch -x -H ldaps://ldap2.smb-ldap.org -D 
"cn=Manager,dc=smb-ldap,dc=org" -s base -W

Would it be because you specified -h instead of -H when specifying a URL 
for the first command?  Hopefully not.