summaryrefslogtreecommitdiff
path: root/lib/param/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/param/util.c')
-rw-r--r--lib/param/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/param/util.c b/lib/param/util.c
index f60abb9773..98894fc747 100644
--- a/lib/param/util.c
+++ b/lib/param/util.c
@@ -260,6 +260,7 @@ const char *lpcfg_sam_name(struct loadparm_context *lp_ctx)
switch (lpcfg_server_role(lp_ctx)) {
case ROLE_DOMAIN_BDC:
case ROLE_DOMAIN_PDC:
+ case ROLE_ACTIVE_DIRECTORY_DC:
return lpcfg_workgroup(lp_ctx);
default:
return lpcfg_netbios_name(lp_ctx);