[Samba] Unknown code krb5 156

This is a discussion on [Samba] Unknown code krb5 156 within the Samba forums, part of the Networking and Network Related category; Hi, I am having trouble joining an AD Domain with samba3.0.10: All checks mentioned in the Samba-Guides (...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2005
Jens Kammann
 
Posts: n/a
Default [Samba] Unknown code krb5 156

Hi,

I am having trouble joining an AD Domain with samba3.0.10:

All checks mentioned in the Samba-Guides (regarding LDAP & Kerberos) passed,
but when I use

>netra:~/samba-3.0.10/source/bin# ./net ads join -Utestuser
>testuser's password:
>[2005/01/27 10:41:11, 0] libads/kerberos.c:ads_kinit_password(146)
> kerberos_kinit_password testuser@INTRA.DOMAIN.DE failed: Unknown code

krb5 156

It takes over an minute from entering the password until the error message
appears.

Debug output doesn't help much:

[2005/01/27 10:42:48, 5] libads/ldap.c:ads_try_connect(85)
ads_try_connect: trying ldap server '138.245.163.136' port 389
[2005/01/27 10:42:49, 3] libads/ldap.c:ads_connect(247)
Connected to LDAP server 138.245.163.136
[2005/01/27 10:42:49, 3] libads/ldap.c:ads_server_info(2432)
got ldap server name dc01@INTRA.DOMAIN.DE, using bind path:
dc=INTRA,dc=DOMAIN,dc=DE
[2005/01/27 10:42:49, 4] libads/ldap.c:ads_server_info(2438)
time offset is 0 seconds
[2005/01/27 10:42:49, 4] libads/sasl.c:ads_sasl_bind(447)
Found SASL mechanism GSS-SPNEGO
[2005/01/27 10:42:49, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2005/01/27 10:42:49, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2005/01/27 10:42:49, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2005/01/27 10:42:49, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2005/01/27 10:42:49, 3] libads/sasl.c:ads_sasl_spnego_bind(211)
ads_sasl_spnego_bind: got server principal name =dc01$@INTRA.DOMAIN.DE
[2005/01/27 10:42:49, 3] libsmb/clikrb5.c:ads_krb5_mk_req(382)
ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or directory)
[2005/01/27 10:45:49, 0] libads/kerberos.c:ads_kinit_password(146)
kerberos_kinit_password kammann@INTRA.DLR.DE failed: Unknown code krb5 156
[2005/01/27 10:45:49, 0] utils/net_ads.c:ads_startup(186)
ads_connect: Unknown code krb5 156
[2005/01/27 10:45:49, 2] utils/net.c:main(859)
return code = -1

The OS is Debian Sarge with "heimdal-dev 0.6.3-6"

Has anyone seen this before ?
Is there anything particular on the Domain-Controller that needs to be
enabled ?

regards,
Jens Kammann


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:09 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0