LDAP queries with string values

Simo Sorce idra at samba.org
Wed Jan 5 10:26:48 GMT 2005


Probably yet another thing to catch with an ldb module ...

Simo.

On Tue, 2005-01-04 at 20:10, Stefan (metze) Metzmacher wrote:
> -----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-----
-- 
Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it



More information about the samba-technical mailing list