diff options
author | Volker Lendecke <vlendec@samba.org> | 2001-09-26 16:47:02 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2001-09-26 16:47:02 +0000 |
commit | 29d3318437f3137d61e955d5ee5d8f70c115e3d2 (patch) | |
tree | 961b07ad35277f2e0f7321bb9c4843726462db11 /source3/nmbd | |
parent | c10dc7a4cc6a39d3b307b760e37764ac6dbe6103 (diff) | |
download | samba-29d3318437f3137d61e955d5ee5d8f70c115e3d2.tar.gz samba-29d3318437f3137d61e955d5ee5d8f70c115e3d2.tar.bz2 samba-29d3318437f3137d61e955d5ee5d8f70c115e3d2.zip |
From 2.2.
Volker
(This used to be commit 50ea73426f58070859bbbe769c8353a11ff33dc9)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_processlogon.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_processlogon.c b/source3/nmbd/nmbd_processlogon.c index 9923d352dc..e8d580adbb 100644 --- a/source3/nmbd/nmbd_processlogon.c +++ b/source3/nmbd/nmbd_processlogon.c @@ -144,6 +144,12 @@ logons are not enabled.\n", inet_ntoa(p->ip) )); char *q = buf + 2; char *machine = q; + if (!lp_domain_master()) + { + /* We're not Primary Domain Controller -- ignore this */ + goto done; + } + getdc = skip_string(machine,1); q = skip_string(getdc,1); q = ALIGN2(q, buf); |