summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-01-25 19:56:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:10 -0500
commitde87569cfbec28316d6b225fe1ab2dc5ebaa87a8 (patch)
tree24739f38ea0cff0c90d3d924497f85f9cd5fe459 /source3/passdb
parent2ea185b3ab6d7d0c3a7294577b4627d4ba7e00b1 (diff)
downloadsamba-de87569cfbec28316d6b225fe1ab2dc5ebaa87a8.tar.gz
samba-de87569cfbec28316d6b225fe1ab2dc5ebaa87a8.tar.bz2
samba-de87569cfbec28316d6b225fe1ab2dc5ebaa87a8.zip
r4988: After speaking with Jerry, remove old lp_admin_users to
administrator-sid mapping completely. Guenther (This used to be commit 4cbe37ecd544b01c57c7fce5b3be28669f4ba6c3)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/passdb.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 666e5072b6..9d56cc29c8 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -794,20 +794,6 @@ BOOL local_lookup_sid(const DOM_SID *sid, char *name, enum SID_NAME_USE *psid_na
return True;
}
- if (rid == DOMAIN_USER_RID_ADMIN) {
- const char **admin_list = lp_admin_users(-1);
- *psid_name_use = SID_NAME_USER;
- if (admin_list) {
- const char *p = *admin_list;
- if(!next_token(&p, name, NULL, sizeof(fstring))) {
- fstrcpy(name, "Administrator");
- }
- } else {
- fstrcpy(name, "Administrator");
- }
- return True;
- }
-
if (algorithmic_pdb_rid_is_user(rid)) {
uid_t uid;
struct passwd *pw = NULL;