summaryrefslogtreecommitdiff
path: root/lib/param/loadparm_server_role.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/param/loadparm_server_role.c')
-rw-r--r--lib/param/loadparm_server_role.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/param/loadparm_server_role.c b/lib/param/loadparm_server_role.c
index c08834396b..7a6bc77072 100644
--- a/lib/param/loadparm_server_role.c
+++ b/lib/param/loadparm_server_role.c
@@ -108,11 +108,7 @@ int lp_find_security(int server_role, int security)
switch (server_role) {
case ROLE_DOMAIN_MEMBER:
-#if (defined(HAVE_ADS) || _SAMBA_BUILD_ >= 4)
return SEC_ADS;
-#else
- return SEC_DOMAIN;
-#endif
default:
return SEC_USER;
}