Hi Josh,

I basically have it set to our DC(FQDN), I have not touched that file in
months. I was reading online that it had to do with how php does not expect
the port 636 or 389 after a certain version, Perhaps the php was updated on
the vcl machine. In authentication it seems like it's passing the port

if(! $fh = fsockopen($authMechs[$authtype]['server'], 636, $errno, $errstr,
5)) {
                printLoginPageWithSkin($authtype, 1);
                return;
        }





www.ncf.edu

On Thu, Feb 25, 2016 at 9:18 AM, Josh Thompson <[email protected]>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David,
>
> 2.4.2 does still require both public and private networks.  However, if
> just
> running a VM environment, two networks can be set up in the host using a
> single NIC on the host.  This allows you to only have one physical network,
> but two logical networks so that VCL still sees both.
>
> The warnings are from code in a function named getLDAPUserData.  That
> function
> is called to pull user data from LDAP for the user logging in.  The first
> error refers to this line:
>
> $ds = ldap_connect("ldaps://{$auth['server']}/");
>
> It is saying a bad parameter is being passed to the ldap function.  The
> only
> parameter being passed is $auth['server'].  So, it sounds like something is
> wrong in your $authMechs array in conf.php.  In that array in conf.php,
> what
> do you have "server" set to for your LDAP configuration?
>
> Josh
>
> On Wednesday, February 24, 2016 3:36:13 PM David DeMizio wrote:
> > Hello,
> >
> > I had to update my pem cert because ldaps was no longer working as a new
> > one was issued on the domain controller this year, well, I I can now log
> in
> > but I see a warning message at the top of once I login. BTW I'm still at
> > 2.3. Also does 2.4 still require a Public and Private, I recall there
> were
> > talks about just needing one interface?
> >
> > Warning: ldap_connect(): Could not create session handle: Bad parameter
> to
> > an ldap routine in /var/www/html/vcl/.ht-inc/authmethods/ldapauth.php on
> > line 302 Warning: ldap_set_option(): supplied argument is not a valid
> ldap
> > link resource in /var/www/html/vcl/.ht-inc/authmethods/ldapauth.php on
> line
> > 304 Warning: ldap_set_option(): supplied argument is not a valid ldap
> link
> > resource in /var/www/html/vcl/.ht-inc/authmethods/ldapauth.php on line
> 305
> > Warning: ldap_bind() expects parameter 1 to be resource, boolean given in
> > /var/www/html/vcl/.ht-inc/authmethods/ldapauth.php on line 308 Warning:
> > ldap_search(): supplied argument is not a valid ldap link resource in
> > /var/www/html/vcl/.ht-inc/authmethods/ldapauth.php on line 327
> >
> > -Dave
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iEYEARECAAYFAlbPDUUACgkQV/LQcNdtPQNZRQCdFb1vEiIs9OV7uqIKr5THHIK4
> 7EkAni4JvEGMCg3eWPRivC49WupFmpgg
> =FVTX
> -----END PGP SIGNATURE-----
>
>

Reply via email to