summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/param/loadparm_server_role.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/param/loadparm_server_role.c b/lib/param/loadparm_server_role.c
index 9ff64be046..5a1f4984fe 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;
}