From 3ba32439c1b3c84f25677f7b1b1eaf092723d24b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 23 May 2011 10:42:57 +1000 Subject: 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 --- source3/param/loadparm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/param') 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 */ -- cgit