For the purpose of the archive:
I believe I fixed the problem.
When I compiled FreeBSD 6.0-RELEASE-p1 kerberos was installed. When I
compiled 6.0-RELEASE-p2 I had kerberos disabled. I'm pretty confident I
was using old binaries. When I rebuilt the binaries, kerberos gave me a
message about the ticket's lifetime, when prior to rebuilding it was
silent. Nevertheless samba still wasn't working.
After rebuilding kerberos and getting the same error messages from samba
I figured that maybe I had some old samba data lying around somewhere,
from when I was using DOMAIN mode. So I uninstalled samba, removed the
directories that the pkg_deinstall (part of the portupgrade port) told
me to remove and reinstalled samba from scratch. I didn't touch my
smb.conf. I was then able to use "net ads join" without any problems.
-rcollins
-----Original Message-----
From: samba-bounces+samba.org=thespamspot.org@lists.samba.org
[mailto:samba-bounces+samba.org=thespamspot.org@lists.samba.org] On
Behalf Of Robert J. Collins
Sent: Monday, January 23, 2006 2:03 PM
To: samba@lists.samba.org
Subject: [Samba] net ads join segmentation fault
On FreeBSD 6.0-RELEASE-p2 using samba-3.0.21a,1 the net command seg
faults. Does anyone know what is going on?
Thanks
-rcollins
----- net ads join -Uadministrator -d 10 -----
[2006/01/23 12:36:59, 5] lib/debug.c:debug_dump_status(368)
INFO: Current debug levels:
all: True/10
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
[2006/01/23 12:36:59, 3] param/loadparm.c:lp_load(4195)
lp_load: refreshing parameters
[2006/01/23 12:36:59, 3] param/loadparm.c:init_globals(1385)
Initialising global parameters
[2006/01/23 12:36:59, 3] param/params.c:pm_process(574)
params.c:pm_process() - Processing configuration file
"/usr/local/etc/smb.conf"
[2006/01/23 12:36:59, 3] param/loadparm.c:do_section(3657)
Processing section "[global]"
doing parameter workgroup = HWI
doing parameter security = ADS
doing parameter realm = DHCP.HWI.BUFFALO.EDU
doing parameter password server = *
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 50
doing parameter allow trusted domains = no
doing parameter ldapssl = no
doing parameter unix charset = LOCALE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UCS-2LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UCS-2LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF-16LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF-16LE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UCS-2BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UCS-2BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF-16BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF-16BE
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UTF-8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UTF-8
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset ASCII
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset ASCII
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset 646
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset 646
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset ISO-8859-1
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset ISO-8859-1
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(103)
Attempting to register new charset UCS2-HEX
[2006/01/23 12:36:59, 5] lib/iconv.c:smb_register_charset(111)
Registered charset UCS2-HEX
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
doing parameter idmap uid = 10000-20000
doing parameter idmap gid = 10000-20000
doing parameter idmap backend = idmap_rid:HWI=10000-20000
doing parameter winbind use default domain = yes
doing parameter wins server = 10.1.35.10
[2006/01/23 12:36:59, 4] param/loadparm.c:lp_load(4226)
pm_process() returned Yes
[2006/01/23 12:36:59, 7] param/loadparm.c:lp_servicenumber(4339)
lp_servicenumber: couldn't find homes
[2006/01/23 12:36:59, 10] param/loadparm.c:set_server_role(4144)
set_server_role: role = ROLE_DOMAIN_MEMBER
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/charcnv.c:charset_name(81)
Substituting charset 'US-ASCII' for LOCALE
[2006/01/23 12:36:59, 5] lib/util.c:init_names(260)
Netbios name list:-
my_netbios_names[0]="SYNERGY"
[2006/01/23 12:36:59, 2] lib/interface.c:add_interface(81)
added interface ip=10.1.35.69 bcast=10.1.35.255 nmask=255.255.255.0
administrator's password:
[2006/01/23 12:37:02, 6] libads/ldap.c:ads_find_dc(217)
ads_find_dc: looking for realm 'DHCP.HWI.BUFFALO.EDU'
[2006/01/23 12:37:02, 8] libsmb/namequery.c:get_sorted_dc_list(1433)
get_sorted_dc_list: attempting lookup using [ads]
[2006/01/23 12:37:02, 10] libsmb/namequery.c:internal_resolve_name(1028)
internal_resolve_name: looking up DHCP.HWI.BUFFALO.EDU#1c
[2006/01/23 12:37:02, 5] lib/gencache.c:gencache_init(59)
Opening cache file at /var/db/samba/gencache.tdb
[2006/01/23 12:37:02, 10] lib/gencache.c:gencache_get(269)
Returning valid cache entry: key = NBT/DHCP.HWI.BUFFALO.EDU#1C, value
= 10.1.35.11:389,10.1.35.10:389,10.1.65.37:389, timeout = Mon Jan 23
12:39:56 2006
[2006/01/23 12:37:02, 5] libsmb/namecache.c:namecache_fetch(201)
name DHCP.HWI.BUFFALO.EDU#1C found.
[2006/01/23 12:37:02, 8] libsmb/namequery.c:get_dc_list(1316)
Adding 3 DC's from auto lookup
[2006/01/23 12:37:02, 10]
libsmb/namequery.c:remove_duplicate_addrs2(320)
remove_duplicate_addrs2: looking for duplicate address/port pairs
[2006/01/23 12:37:02, 4] libsmb/namequery.c:get_dc_list(1406)
get_dc_list: returning 3 ip addresses in an unordered list
[2006/01/23 12:37:02, 4] libsmb/namequery.c:get_dc_list(1407)
get_dc_list: 10.1.35.11:389 10.1.35.10:389 10.1.65.37:389
[2006/01/23 12:37:02, 5] libads/ldap.c:ads_try_connect(126)
ads_try_connect: trying ldap server '10.1.35.11' port 389
[2006/01/23 12:37:02, 3] libads/ldap.c:ads_connect(288)
Connected to LDAP server 10.1.35.11
[2006/01/23 12:37:02, 3] libads/ldap.c:ads_server_info(2541)
got ldap server name stoic@DHCP.HWI.BUFFALO.EDU, using bind path:
dc=DHCP,dc=HWI,dc=BUFFALO,dc=EDU
[2006/01/23 12:37:02, 4] libads/ldap.c:ads_server_info(2547)
time offset is 0 seconds
[2006/01/23 12:37:02, 4] libads/sasl.c:ads_sasl_bind(455)
Found SASL mechanism GSS-SPNEGO
[2006/01/23 12:37:02, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2006/01/23 12:37:02, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2006/01/23 12:37:02, 3] libads/sasl.c:ads_sasl_spnego_bind(210)
ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2006/01/23 12:37:02, 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/01/23 12:37:02, 3] libads/sasl.c:ads_sasl_spnego_bind(219)
ads_sasl_spnego_bind: got server principal name
=stoic$@DHCP.HWI.BUFFALO.EDU
[2006/01/23 12:37:02, 3] libsmb/clikrb5.c:ads_krb5_mk_req(478)
ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or
directory)
Segmentation fault (core dumped)
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba