diff options
author | Günther Deschner <gd@samba.org> | 2007-05-11 12:52:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:21:57 -0500 |
commit | 9c170fce2632e76bda6bb9a644777c978785cff1 (patch) | |
tree | eb3fe76940b7867e6f13fd2f919ef55e16bddac3 /source3/include | |
parent | 95bc08e9545850ba57cdcf79bf9f62872b2946c0 (diff) | |
download | samba-9c170fce2632e76bda6bb9a644777c978785cff1.tar.gz samba-9c170fce2632e76bda6bb9a644777c978785cff1.tar.bz2 samba-9c170fce2632e76bda6bb9a644777c978785cff1.zip |
r22797: We are only interested in the DACL of the security descriptor, so search with
the SD_FLAGS control.
Guenther
(This used to be commit 648df57e53ddabe74052e816b8eba95180736208)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ads.h | 1 | ||||
-rw-r--r-- | source3/include/ads_protos.h | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h index 0e4df629a7..d72c82adb7 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -121,6 +121,7 @@ typedef void **ADS_MODLIST; #define ADS_PERMIT_MODIFY_OID "1.2.840.113556.1.4.1413" #define ADS_ASQ_OID "1.2.840.113556.1.4.1504" #define ADS_EXTENDED_DN_OID "1.2.840.113556.1.4.529" +#define ADS_SD_FLAGS_OID "1.2.840.113556.1.4.801" /* ldap attribute oids (Services for Unix) */ #define ADS_ATTR_SFU_UIDNUMBER_OID "1.2.840.113556.1.6.18.1.310" diff --git a/source3/include/ads_protos.h b/source3/include/ads_protos.h index 3e312408e4..2565e2ca9b 100644 --- a/source3/include/ads_protos.h +++ b/source3/include/ads_protos.h @@ -102,3 +102,13 @@ ADS_STATUS ads_parse_gpo(ADS_STRUCT *ads, LDAPMessage *res, const char *gpo_dn, struct GROUP_POLICY_OBJECT *gpo); +ADS_STATUS ads_search_retry_dn_sd_flags(ADS_STRUCT *ads, LDAPMessage **res, + uint32 sd_flags, + const char *dn, + const char **attrs); +ADS_STATUS ads_do_search_all_sd_flags(ADS_STRUCT *ads, const char *bind_path, + int scope, const char *expr, + const char **attrs, uint32 sd_flags, + LDAPMessage **res); + + |