From: Tim Potter Date: Fri, 24 Aug 2001 19:21:40 +0000 (+0000) Subject: Only register the #1b name if we are ROLE_DOMAIN_PDC rather than X-Git-Tag: samba-4.0.0alpha6~801^2~17518 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2236c671a0ecf303492a644adae002a6cf009bf2;p=thirdparty%2Fsamba.git Only register the #1b name if we are ROLE_DOMAIN_PDC rather than lp_domain_master() (This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e) --- diff --git a/source3/nmbd/nmbd_become_dmb.c b/source3/nmbd/nmbd_become_dmb.c index 76d92c2f3ed..089aa8f16a0 100644 --- a/source3/nmbd/nmbd_become_dmb.c +++ b/source3/nmbd/nmbd_become_dmb.c @@ -382,7 +382,7 @@ void add_domain_names(time_t t) add_logon_names(); /* Do the domain master names. */ - if(lp_domain_master()) + if(lp_server_role() == ROLE_DOMAIN_PDC) { if(we_are_a_wins_client()) {