From 7f6bb48bdf230465fd26514ff43d92e2c1f32fe6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 18 May 2010 10:29:34 +0200 Subject: s3-secdesc: remove "typedef struct security_descriptor SEC_DESC". Guenther --- source3/libads/disp_sec.c | 2 +- source3/libads/ldap.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'source3/libads') diff --git a/source3/libads/disp_sec.c b/source3/libads/disp_sec.c index df1fc9206d..f8489e1e0b 100644 --- a/source3/libads/disp_sec.c +++ b/source3/libads/disp_sec.c @@ -187,7 +187,7 @@ static void ads_disp_acl(struct security_acl *sec_acl, const char *type) } /* display SD */ -void ads_disp_sd(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, SEC_DESC *sd) +void ads_disp_sd(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, struct security_descriptor *sd) { int i; char *tmp_path = NULL; diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index a72438bef9..ed5aee1d8a 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -2684,16 +2684,17 @@ int ads_count_replies(ADS_STRUCT *ads, void *res) } /** - * pull a SEC_DESC from a ADS result + * pull a struct security_descriptor from a ADS result * @param ads connection to ads server * @param mem_ctx TALLOC_CTX for allocating sid array * @param msg Results of search * @param field Attribute to retrieve - * @param sd Pointer to *SEC_DESC to store result (talloc()ed) + * @param sd Pointer to *struct security_descriptor to store result (talloc()ed) * @return boolean inidicating success */ bool ads_pull_sd(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, - LDAPMessage *msg, const char *field, SEC_DESC **sd) + LDAPMessage *msg, const char *field, + struct security_descriptor **sd) { struct berval **values; bool ret = true; -- cgit