On the php manual i realised there was a bug
that got fixed ..but still cant make it work...
my attributes are used like shown below..
$r=ldap_sasl_bind ( $ds, bind dn..., 'MYCODE', 'GSSAPI', NULL<--?(realm of the heimdal), 'jimmy'<--?, 'dn:MY STUFF...?');
there was another opinion that i schould recompile Apache and Php to use the same version..(hope this one is not offtopic)
thank you