1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r20921: - only give password attributes to the SYSTEM account

- but SYSTEM and administrators can change them

metze
(This used to be commit fc5319e927d96b68d8bd90a01e10aa00a6ddf494)
This commit is contained in:
Stefan Metzmacher 2007-01-20 09:46:42 +00:00 committed by Gerald (Jerry) Carter
parent 2ad79af331
commit 21cf5c82a2

View File

@ -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 */