diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-08 10:22:50 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-08 10:22:50 +0000 |
commit | afe5a3832f79131fb74461577f1db0e5e8bf4b6d (patch) | |
tree | 7aa4a26a86def67c65706d1c1c5ccf37ae4afebb /source/nmbd/nmbd.c | |
parent | c2a266b7b661d319e13982bfdbc3a86e8502b8a4 (diff) | |
download | samba-afe5a3832f79131fb74461577f1db0e5e8bf4b6d.tar.gz samba-afe5a3832f79131fb74461577f1db0e5e8bf4b6d.tar.xz samba-afe5a3832f79131fb74461577f1db0e5e8bf4b6d.zip |
Make sure that the 'remote' machine name can only be set once. For some weird
reason, during a Win2003 installation, when you select 'domain join' it sends
one machine name in the name exchange, and litraly 'machinename' during the
NTLMSSP login.
Also fix up winbindd's logfile handling, so that it matches smbd and nmbd.
(This helps me, by seperating the logs by pid).
Andrew Bartlett
Diffstat (limited to 'source/nmbd/nmbd.c')
-rw-r--r-- | source/nmbd/nmbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c index 2b7d8033a2a..fc08645f1dd 100644 --- a/source/nmbd/nmbd.c +++ b/source/nmbd/nmbd.c @@ -292,7 +292,7 @@ static BOOL reload_nmbd_services(BOOL test) { BOOL ret; - set_remote_machine_name("nmbd"); + set_remote_machine_name("nmbd", False); if ( lp_loaded() ) { pstring fname; |