diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-23 10:42:57 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-25 12:13:01 +1000 |
commit | 3ba32439c1b3c84f25677f7b1b1eaf092723d24b (patch) | |
tree | d533b60802a622449f92eef76969ad831ca1a5a3 /source3/param | |
parent | ddbc5fa236a91d4b9ecd7641ab1d3c69d9569410 (diff) | |
download | samba-3ba32439c1b3c84f25677f7b1b1eaf092723d24b.tar.gz samba-3ba32439c1b3c84f25677f7b1b1eaf092723d24b.tar.xz 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
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 5 |
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 */ |