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:
parent
2ad79af331
commit
21cf5c82a2
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user