diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-01-02 14:55:36 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-21 16:12:45 +0100 |
commit | 93944ea90069df5379993f5c186ffd68e166f1c4 (patch) | |
tree | 2a415eeb15d1cd190823882068b8a7c215c8f8c7 /source4 | |
parent | a1b421e8cca24a5831f4c6d77714cf54faf8c48e (diff) | |
download | samba-93944ea90069df5379993f5c186ffd68e166f1c4.tar.gz samba-93944ea90069df5379993f5c186ffd68e166f1c4.tar.bz2 samba-93944ea90069df5379993f5c186ffd68e166f1c4.zip |
dsdb-acl: Remove unused get_oc_guid_from_message()
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/acl.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c index 2a1a8538ac..0a244f9bef 100644 --- a/source4/dsdb/samdb/ldb_modules/acl.c +++ b/source4/dsdb/samdb/ldb_modules/acl.c @@ -964,25 +964,6 @@ static int acl_check_password_rights(TALLOC_CTX *mem_ctx, return ret; } -static const struct GUID *get_oc_guid_from_message(const struct dsdb_schema *schema, - struct ldb_message *msg) -{ - struct ldb_message_element *oc_el; - const struct dsdb_class *object_class; - - oc_el = ldb_msg_find_element(msg, "objectClass"); - if (!oc_el) { - return NULL; - } - - object_class = dsdb_get_last_structural_class(schema, oc_el); - if (object_class == NULL) { - return NULL; - } - - return &object_class->schemaIDGUID; -} - static int acl_modify(struct ldb_module *module, struct ldb_request *req) { |