manolisvl46 0 Light Poster

Do you have any idea on how a sasl bind with gssapi mech will work
my file looks like that:

$ldapbind=ldap_sasl_bind($ldapconn,NULL,NULL,"GSSAPI","TEIPIR.GR","ldapmaster","dn:cn=ldapmaster@TEIPIR.GR,ou=kerberos,dc=teipir,dc=gr");
    // verify binding

   		 if ($ldapbind) {
        echo "LDAP bind successful..." . "<br />";

every other mech i use seems to work fine but only the gssapi is not
workign from what i can see on the log
i have tried most of the additional commands i found on the net like:

putenv("KRB5CCNAME={$_SERVER['KRB5CCNAME']}");

but still nothing
any idea to make the bind over gssapi so as to have the kerveros ticket exchange actually working

Thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.