Segfault with "net ads password"

James Willard james at whispering.org
Fri Nov 1 20:39:04 GMT 2002


And as a follow-up to myself... The following is a backtrace from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x080ec329 in interpret_addr ()
(gdb) bt
#0  0x080ec329 in interpret_addr ()
#1  0x080ec462 in interpret_addr2 ()
#2  0x080efbe0 in open_udp_socket ()
#3  0x0810f56c in krb5_set_password ()
#4  0x0810fdbf in kerberos_set_password ()
#5  0x0806b17c in net_ads_password ()
#6  0x08068690 in net_run_function ()
#7  0x0806b51c in net_ads ()
#8  0x08068690 in net_run_function ()
#9  0x080697d3 in main ()
#10 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

Thanks,

James Willard
james at whispering.org

-----Original Message-----
From: samba-technical-admin at lists.samba.org
[mailto:samba-technical-admin at lists.samba.org] On Behalf Of James
Willard
Sent: Friday, November 01, 2002 2:12 PM
To: samba-technical at samba.org
Subject: Segfault with "net ads password"


Hi,

I'm trying to troubleshoot a problem I've been having for the past
several weeks with "net ads password" attempting to change a users'
password. I'm using the Samba 3.0 CVS tree updated this morning (even
though there has been no difference in behavior in the past month or
so). I'm running:

net ads password UserName at DOMAIN.COM -U Admin at REALM.COM%Password

I receive a prompt:

Enter new password for UserName at DOMAIN.COM:

I enter a password and then it segfaults. Below are excerpts from a
strace:

...
write(3, "kadmin", 6)                   = 6
write(3, "\0\0\0\10", 4)                = 4
write(3, "changepw", 8)                 = 8
...
write(3, "\0\0\0\0", 4)                 = 4
write(3, NULL, 0)                       = 0
fcntl64(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) =
0
close(3)                                = 0
time(NULL)                              = 1036176903
gettimeofday({1036176903, 994633}, NULL) = 0 gettimeofday({1036176903,
995109}, NULL) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

The operating system is RedHat Linux 7.3 on a PIII with krb5-1.2.5 and
openldap-2.1.4

What other information would be useful in tracking down this bug?

Thanks,

James Willard
james at whispering.org




More information about the samba-technical mailing list