diff options
author | Tim Potter <tpot@samba.org> | 2001-08-24 19:21:40 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-08-24 19:21:40 +0000 |
commit | b8fe147430fbceff5da8853e5240d251f2671d0e (patch) | |
tree | d1845863c191a01eac11ffd537e4ca1525a3bd45 | |
parent | 0f08e79030419b778c1229712c98b839faaf734f (diff) | |
download | samba-b8fe147430fbceff5da8853e5240d251f2671d0e.tar.gz samba-b8fe147430fbceff5da8853e5240d251f2671d0e.tar.xz samba-b8fe147430fbceff5da8853e5240d251f2671d0e.zip |
Only register the #1b name if we are ROLE_DOMAIN_PDC rather than
lp_domain_master()
-rw-r--r-- | source/nmbd/nmbd_become_dmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_become_dmb.c b/source/nmbd/nmbd_become_dmb.c index 76d92c2f3ed..089aa8f16a0 100644 --- a/source/nmbd/nmbd_become_dmb.c +++ b/source/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()) { |