Segfault with "net ads password"

James Willard james at
Fri Nov 1 19:20:09 GMT 2002


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

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}) =
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

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


James Willard
james at

More information about the samba-technical mailing list