summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-23 10:42:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-25 12:13:01 +1000
commit3ba32439c1b3c84f25677f7b1b1eaf092723d24b (patch)
treed533b60802a622449f92eef76969ad831ca1a5a3
parentddbc5fa236a91d4b9ecd7641ab1d3c69d9569410 (diff)
downloadsamba-3ba32439c1b3c84f25677f7b1b1eaf092723d24b.tar.gz
samba-3ba32439c1b3c84f25677f7b1b1eaf092723d24b.tar.bz2
samba-3ba32439c1b3c84f25677f7b1b1eaf092723d24b.zip
s3-param Depricate 'password server = foo:12389' syntax
This was originally intended to allow the LDAP port on a DC to be varied, but makes little sense to change one port when in an environment where krb5, ldap, smb and potentially DCE/RPC over TCP are involved. Andrew Bartlett
-rw-r--r--source3/param/loadparm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 9bb0ce1abb..58ead5bbf7 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9624,6 +9624,11 @@ static bool lp_load_ex(const char *pszFname,
DEBUG(1, ("WARNING: The security=server option is deprecated\n"));
}
+ if (lp_security() == SEC_ADS && strchr(lp_passwordserver(), ':')) {
+ DEBUG(1, ("WARNING: The optional ':port' in password server = %s is deprecated\n",
+ lp_passwordserver()));
+ }
+
bLoaded = True;
/* Now we check bWINSsupport and set szWINSserver to 127.0.0.1 */