s4:ldb_ildap: try to pass extended DNs to the server
authorAndrew Bartlett <abartlet@samba.org>
Tue, 16 Dec 2008 07:25:44 +0000 (08:25 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 17 Dec 2008 01:29:24 +0000 (12:29 +1100)
commit7a7573d57016b466eef7a48bc189289744ca4c7c
tree69d0940f4fb15daf8d93934211108446b04234bc
parentaa3eab70d5f9415dca7ccc37d87e9a0ca82855c7
s4:ldb_ildap: try to pass extended DNs to the server

Whenever we pass a DN to the LDAP server, we now use
ldb_dn_get_extended_linearized().  This allows us to send the extended
DN if set, and therefore allows searches of the form
'<GUID=aaa45ea0-94cd-45e9-8753-abe455d9a8f1>'.

We actually use the '0' format (GUID=aaa45ea094cd45e98753abe455d9a8f1)
because it is more widely supported (by Win2k in particular).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/lib/ldb/ldb_ildap/ldb_ildap.c