From: Gavin D. <gdo...@an...> - 2004-04-06 23:42:37
|
Yes, running as the same user. Here's the detailed dump: ldap_interactive_sasl_bind_s: user selected: GSSAPI ldap_int_sasl_bind: GSSAPI ldap_new_connection ldap_int_open_connection ldap_connect_to_host: ldap4.anim.dreamworks.com ldap_new_socket: 3 ldap_prepare_socket: 3 ldap_connect_to_host: Trying 192.168.4.141:389 ldap_connect_timeout: fd: 3 tm: -1 async: 0 ldap_ndelay_on: 3 ldap_is_sock_ready: 3 ldap_ndelay_off: 3 ldap_err2string <--- failure ldap_free_connection ldap_send_unbind ldap_free_connection: act Do I need to put any more information in the ldap.sasl.gssapi() object? Michael Str=F6der wrote: > Gavin Doughtie wrote: >=20 >> I'm running the Python script from an interactive shell, and I have a=20 >> Kerberos ticket. So far, everything is running as me with my tickets.=20 >> As far as the Python script having access -- well, as far as I can=20 >> understand things it *should* have access via the native sasl library=20 >> which, using GSSAPI, should go grab my ticket and present it to the=20 >> LDAP server. >=20 >=20 > Running as the same user? >=20 >> However, I think either the sasl_bind_interactive method is broken or=20 >> I'm not giving it the right information. >=20 >=20 > Hmm, maybe it's broken. Please raise debug level set with=20 > ldap.set_option(ldap.OPT_DEBUG_LEVEL,0). Maybe this gives some hints. >=20 > Ciao, Michael. --=20 Gavin Doughtie DreamWorks SKG (818) 695-3821 |