summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap/ldap.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-12-16 08:19:07 +0100
committerAndrew Bartlett <abartlet@samba.org>2008-12-17 12:29:23 +1100
commitaa3eab70d5f9415dca7ccc37d87e9a0ca82855c7 (patch)
tree0eca64a6f849c9d803fe57ec1bec2dce50ec83ea /source4/libcli/ldap/ldap.c
parent8ce5640fbfd48debc3e6b3f27e07d1a0d79bd2b4 (diff)
downloadsamba-aa3eab70d5f9415dca7ccc37d87e9a0ca82855c7.tar.gz
samba-aa3eab70d5f9415dca7ccc37d87e9a0ca82855c7.tar.bz2
samba-aa3eab70d5f9415dca7ccc37d87e9a0ca82855c7.zip
s4:ldb: add infrastructure for extended dn handlers
This introduces a new set of pluggable syntax, for use on the extended DN, and uses them when parsing the DN. If the DN appears to be in the extended form, we no longer return the full DN 'as is', but only return the normal part from ldb_dn_get_linearized(). When validating/parsing the DN we validate not only the format of the DN, but also the contents of the GUID or SID (to ensure they are plausable). We also have functions to set and get the extended components on the DN. For now, extended_dn_get_linearized() returns a newly constructed and allocated string each time. Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libcli/ldap/ldap.c')
0 files changed, 0 insertions, 0 deletions