LDAP queries with string values

Stefan (metze) Metzmacher metze at samba.org
Tue Jan 4 19:10:47 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi tridge,

I have found out that windows supports the extented dn the basedn
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_dirsync_oid.asp

this works against a w2k3 box

ldapsearch -x -H ldap://w2k3-101/ -D administrator at w2k3 -w test -b
"<GUID=2d5e234e-760a-4a6a-ab24-4e0757377155>"

ldapsearch -x -H ldap://w2k3-101/ -D administrator at w2k3 -w test -b
"<GUID=2d5e234e-760a-4a6a-ab24-4e0757377155>" -s base

ldapsearch -x -H ldap://w2k3-101/ -D administrator at w2k3 -w test -b
"<SID=S-1-5-21-769185814-1958994947-1641909093-501>" -s base

ldapsearch -x -H ldap://w2k3-101/ -D administrator at w2k3 -w test -b
"<SID=S-1-5-21-769185814-1958994947-1641909093>" -s base

~ ldapsearch -x -H ldap://w2k3-101/ -D administrator at w2k3 -w test -b
"<SID=S-1-5-21-769185814-1958994947-1641909093>" -s sub


- --
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB2uo3m70gjA5TCD8RAl0JAJ9WdHXdZ1JyZff/wyV+5PlxeEXxfwCfb9cN
zbTHl/MbMd1W1/tiKEUjJeE=
=5vRD
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list