From 8b9622f50de1f46c5e6870466a5ef8a37bf08df1 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 17 Nov 2003 16:11:16 +0000 Subject: * make sure we only enumerate group mapping entries (not /etc/group) even when doing local aliases * remove "hide local users" parameter; we have this behavior built into 3.0 (This used to be commit 3b75e862dfba42c95e2279c300c06bb981f52993) --- source3/passdb/passdb.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source3/passdb/passdb.c') diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index 48f7546394..7ac8d12198 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -725,14 +725,6 @@ BOOL local_lookup_sid(DOM_SID *sid, char *name, enum SID_NAME_USE *psid_name_use return True; } - /* - * Don't try to convert the rid to a name if - * running in appliance mode - */ - - if (lp_hide_local_users()) - return False; - if (!NT_STATUS_IS_OK(pdb_init_sam(&sam_account))) { return False; } @@ -852,12 +844,6 @@ BOOL local_lookup_name(const char *c_user, DOM_SID *psid, enum SID_NAME_USE *psi return True; } - /* - * Don't lookup local unix users if running in appliance mode - */ - if (lp_hide_local_users()) - return False; - (void)map_username(user); if (!NT_STATUS_IS_OK(pdb_init_sam(&sam_account))) { -- cgit