s4:libcli/ldap: split out a ldap_decode_attribs_bare() function
authorAndrew Bartlett <abartlet@samba.org>
Tue, 16 Dec 2008 07:27:51 +0000 (08:27 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 17 Dec 2008 01:29:24 +0000 (12:29 +1100)
commitfc61ef2afceb6e0f89e0ede406cadca4989a2464
treeea3595ab943bb04c440babd82623d8fff7b007f0
parent7a7573d57016b466eef7a48bc189289744ca4c7c
s4:libcli/ldap: split out a ldap_decode_attribs_bare() function

The OpenLDAP dereference control (draft-masarati-ldap-deref-00) uses
an attribute list, as found in the search reply, but without one
enclosing ASN1_SEQUENCE(0)

This allows the dereference control parsing code to use this as a
helper function.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/libcli/ldap/ldap.c