RE: [Samba] net ads join segmentation fault

2006-01-26 Thread Robert J. Collins
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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)
  

Re: [Samba] net ads join segmentation fault

2006-01-26 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert J. Collins wrote:

 On FreeBSD 6.0-RELEASE-p2 using samba-3.0.21a,1 the 
 net command seg faults. Does anyone know what is going
 on?

Can you get a backtrace from gdb after building Samba
with the --enable-debug option (or just the -g gcc compile
flag)?  Thanks.





cheers, jerry
=
I live in a Reply-to-All world---
Samba--- http://www.samba.org
Centeris ---  http://www.centeris.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD17ZAIR7qMdg1EfYRAinYAKDzbHIHzgNkbAYhP0LUjpQa3fwgcACg1dv1
y9bP7gb4sJYxGd9Fmw6rxp8=
=zYh7
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba