[Samba] net ads join segfault (samba 3.0.23c)
Nicki Messerschmidt, Linksystem Muenchen GmbH
samba at alienn.net
Mon Oct 30 15:32:02 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I just tried to join my SLES9 (Suese Linux Enterprise Server 9) to my
ads. I follow a mixture of the howtos [1], [2], [3]. Everything works
fine (kinit gives me a valid kerberos ticket), but the
`net ads join -U $DOMAIN\\$USER` command segfaults.
Software I have intalled:
- - samba 3.0.23c (from ftp.samba.org)
- - heimdal 0.6.1rc2
Here a debug 5 of `net -d5 -s /etc/samba/smb.conf.ads -U user at REALM.NET ads join`:
[2006/10/30 16:21:37, 5] lib/debug.c:debug_dump_status(391)
INFO: Current debug levels:
all: True/5
tdb: False/0
printdrivers: False/0
lanman: False/0
smb: False/0
rpc_parse: False/0
rpc_srv: False/0
rpc_cli: False/0
passdb: False/0
sam: False/0
auth: False/0
winbind: False/0
vfs: False/0
idmap: False/0
quota: False/0
acls: False/0
locking: False/0
msdfs: False/0
dmapi: False/0
[2006/10/30 16:21:37, 3] param/loadparm.c:lp_load(4945)
lp_load: refreshing parameters
[2006/10/30 16:21:37, 3] param/loadparm.c:init_globals(1410)
Initialising global parameters
[2006/10/30 16:21:37, 3] param/params.c:pm_process(572)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb.conf.ads"
[2006/10/30 16:21:37, 3] param/loadparm.c:do_section(3687)
Processing section "[global]"
doing parameter workgroup = DOMAIN
doing parameter netbios name = host
[2006/10/30 16:21:37, 4] param/loadparm.c:handle_netbios_name(3045)
handle_netbios_name: set global_myname to: HOST
doing parameter security = ads
doing parameter encrypt passwords = yes
doing parameter client use spnego = yes
doing parameter realm = "REALM.NET"
doing parameter idmap uid = 10000-20000
doing parameter idmap gid = 10000-20000
doing parameter winbind enum users = yes
doing parameter winbind enum groups = yes
doing parameter winbind use default domain = Yes
doing parameter template homedir = /home/ads/%D/%U
doing parameter template shell = /bin/true
[2006/10/30 16:21:37, 4] param/loadparm.c:lp_load(4976)
pm_process() returned Yes
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UCS-2LE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UCS-2LE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF-16LE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF-16LE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UCS-2BE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UCS-2BE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF-16BE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF-16BE
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF8
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF8
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UTF-8
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UTF-8
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset ASCII
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset ASCII
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset 646
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset 646
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset ISO-8859-1
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset ISO-8859-1
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(105)
Attempting to register new charset UCS2-HEX
[2006/10/30 16:21:37, 5] lib/iconv.c:smb_register_charset(113)
Registered charset UCS2-HEX
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'UTF-8' for LOCALE
[2006/10/30 16:21:37, 5] lib/util.c:init_names(286)
Netbios name list:-
my_netbios_names[0]="HOST"
[2006/10/30 16:21:37, 2] lib/interface.c:add_interface(81)
added interface ip=192.168.0.48 bcast=192.168.0.255 nmask=255.255.255.0 user at REALM.NET's password:
[2006/10/30 16:21:39, 5] lib/gencache.c:gencache_init(61)
Opening cache file at /var/lib/samba/gencache.tdb
[2006/10/30 16:21:39, 5] libsmb/namequery.c:saf_fetch(105)
saf_fetch: failed to find server for "REALM.NET" domain
[2006/10/30 16:21:39, 3] libsmb/namequery.c:get_dc_list(1426)
get_dc_list: preferred server list: ", *"
[2006/10/30 16:21:39, 5] libsmb/namecache.c:namecache_fetch(195)
no entry for REALM.NET#1C found.
[2006/10/30 16:21:39, 5] libsmb/namequery.c:resolve_ads(1038)
resolve_hosts: Attempting to resolve DC's for REALM.NET using DNS
[2006/10/30 16:21:39, 4] libads/dns.c:ads_dns_lookup_srv(280)
ads_dns_lookup_srv: 2 records returned in the answer section.
[2006/10/30 16:21:39, 5] libsmb/namecache.c:namecache_store(131)
namecache_store: storing 2 addresses for REALM.NET#1c: 192.168.0.55:389,192.168.0.57:389
[2006/10/30 16:21:39, 4] libsmb/namequery.c:get_dc_list(1529)
get_dc_list: returning 2 ip addresses in an ordered list
[2006/10/30 16:21:39, 4] libsmb/namequery.c:get_dc_list(1530)
get_dc_list: 192.168.0.55:389 192.168.0.57:389
[2006/10/30 16:21:39, 5] libads/ldap.c:ads_try_connect(127)
ads_try_connect: sending CLDAP request to 192.168.0.55 (realm: REALM.NET)
[2006/10/30 16:21:39, 3] libads/ldap.c:ads_connect(287)
Connected to LDAP server 192.168.0.55
[2006/10/30 16:21:39, 4] libads/ldap.c:ads_current_time(2262)
time offset is 0 seconds
[2006/10/30 16:21:39, 4] libads/sasl.c:ads_sasl_bind(468)
Found SASL mechanism GSS-SPNEGO
[2006/10/30 16:21:39, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2006/10/30 16:21:39, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2006/10/30 16:21:39, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2006/10/30 16:21:39, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2006/10/30 16:21:39, 3] libads/sasl.c:ads_sasl_spnego_bind(219)
ads_sasl_spnego_bind: got server principal name =pdc$@REALM.NET
[2006/10/30 16:21:39, 3] libsmb/clikrb5.c:ads_krb5_mk_req(552)
ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or directory)
[2006/10/30 16:21:40, 3] libsmb/clikrb5.c:ads_cleanup_expired_creds(488)
ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration
Tue, 31 Oct 2006 02:21:39 CET
[2006/10/30 16:21:40, 3] libsmb/cliconnect.c:cli_start_connection(1417)
Connecting to host=pdc.ic4b.net
[2006/10/30 16:21:40, 3] lib/util_sock.c:open_socket_out(874)
Connecting to 192.168.0.55 at port 445
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_KEEPALIVE = 0
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_REUSEADDR = 0
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_BROADCAST = 0
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option TCP_NODELAY = 1
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option TCP_KEEPCNT = 9
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option TCP_KEEPIDLE = 7200
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option TCP_KEEPINTVL = 75
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option IPTOS_LOWDELAY = 0
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option IPTOS_THROUGHPUT = 0
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_SNDBUF = 16384
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_RCVBUF = 87380
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_SNDLOWAT = 1
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_RCVLOWAT = 1
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_SNDTIMEO = 0
[2006/10/30 16:21:40, 5] lib/util_sock.c:print_socket_options(206)
socket option SO_RCVTIMEO = 0
[2006/10/30 16:21:40, 5] lib/util.c:show_msg(478)
[2006/10/30 16:21:40, 5] lib/util.c:show_msg(488)
size=174
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=16994
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]= 8 (0x8)
smb_vwv[ 1]=12815 (0x320F)
smb_vwv[ 2]= 256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]= 65 (0x41)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 256 (0x100)
smb_vwv[ 7]= 0 (0x0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]= 499 (0x1F3)
smb_vwv[11]=18560 (0x4880)
smb_vwv[12]=26829 (0x68CD)
smb_vwv[13]=14105 (0x3719)
smb_vwv[14]=50940 (0xC6FC)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]= 255 (0xFF)
smb_bcc=105
[2006/10/30 16:21:40, 5] lib/util.c:show_msg(478)
[2006/10/30 16:21:40, 5] lib/util.c:show_msg(488)
size=174
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=16994
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]= 8 (0x8)
smb_vwv[ 1]=12815 (0x320F)
smb_vwv[ 2]= 256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]= 65 (0x41)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 256 (0x100)
smb_vwv[ 7]= 0 (0x0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]= 499 (0x1F3)
smb_vwv[11]=18560 (0x4880)
smb_vwv[12]=26829 (0x68CD)
smb_vwv[13]=14105 (0x3719)
smb_vwv[14]=50940 (0xC6FC)
smb_vwv[15]=50177 (0xC401)
smb_vwv[16]= 255 (0xFF)
smb_bcc=105
[2006/10/30 16:21:40, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(723)
Doing spnego session setup (blob length=105)
[2006/10/30 16:21:40, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(748)
got OID=1 2 840 48018 1 2 2
[2006/10/30 16:21:40, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(748)
got OID=1 2 840 113554 1 2 2
[2006/10/30 16:21:40, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(748)
got OID=1 2 840 113554 1 2 2 3
[2006/10/30 16:21:40, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(748)
got OID=1 3 6 1 4 1 311 2 2 10
[2006/10/30 16:21:40, 3]
libsmb/cliconnect.c:cli_session_setup_spnego(757)
got principal=pdc$@REALM.NET
Segmentation fault
I hope that someone can help me with this.
Thanks and cheers
Nicki
- --
Linksystem Muenchen GmbH info at link-m.de
Schloerstrasse 10 http://www.link-m.de
80634 Muenchen Tel. 089 / 890 518-0
We make the Net work. Fax 089 / 890 518-77
PGP-Key: https://www.link-m.de/pgp/n.messerschmidt.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Get keys at: https://www.link-m.de/pgp
iD8DBQFFRhr46zWc+bXuIEMRAnWMAKDDLC4knk/dguoHFtd+EpOyeavDWQCeMb8+
uvxHNQRczpruw1Wl83MrO64=
=/pgg
-----END PGP SIGNATURE-----
More information about the samba
mailing list