s3-param Depricate 'password server = foo:12389' syntax
authorAndrew Bartlett <abartlet@samba.org>
Mon, 23 May 2011 00:42:57 +0000 (10:42 +1000)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 May 2011 18:11:30 +0000 (20:11 +0200)
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

index 0e4bba46cc4ed136985e042f681f9c8a411333eb..77b67f1da5e6afe27a620eec2cb524732eca913b 100644 (file)
@@ -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 */