diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-20 09:46:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:43:52 -0500 |
commit | 21cf5c82a2e23cfef8aa2ba0d0251c94564620e0 (patch) | |
tree | 2c4548dfa226cc8d68b0473cd1fbdde8788faac2 /source4 | |
parent | 2ad79af331ee77a7772a1e7840d3ce613ca051ae (diff) | |
download | samba-21cf5c82a2e23cfef8aa2ba0d0251c94564620e0.tar.gz samba-21cf5c82a2e23cfef8aa2ba0d0251c94564620e0.tar.bz2 samba-21cf5c82a2e23cfef8aa2ba0d0251c94564620e0.zip |
r20921: - only give password attributes to the SYSTEM account
- but SYSTEM and administrators can change them
metze
(This used to be commit fc5319e927d96b68d8bd90a01e10aa00a6ddf494)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/kludge_acl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c index 8876db0482..e2a11cf87d 100644 --- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c +++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c @@ -126,7 +126,6 @@ static int kludge_acl_callback(struct ldb_context *ldb, void *context, struct ld { switch (ac->user_type) { case SYSTEM: - case ADMINISTRATOR: break; default: /* remove password attributes */ @@ -183,7 +182,6 @@ static int kludge_acl_search(struct ldb_module *module, struct ldb_request *req) just as we would not allow that attribute to be returned */ switch (ac->user_type) { case SYSTEM: - case ADMINISTRATOR: break; default: /* remove password attributes */ |