diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/param/loadparm_server_role.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/param/loadparm_server_role.c b/lib/param/loadparm_server_role.c index 9ff64be0461..5a1f4984feb 100644 --- a/lib/param/loadparm_server_role.c +++ b/lib/param/loadparm_server_role.c @@ -117,17 +117,12 @@ int lp_find_security(int server_role, int security) } switch (server_role) { - case ROLE_AUTO: - case ROLE_STANDALONE: - return SEC_USER; case ROLE_DOMAIN_MEMBER: #if (defined(HAVE_ADS) || _SAMBA_BUILD_ >= 4) return SEC_ADS; #else return SEC_DOMAIN; #endif - case ROLE_DOMAIN_PDC: - case ROLE_DOMAIN_BDC: default: return SEC_USER; } |