pdbedit segmentation fault on machine account
Jeff Mandel
jeff.mandel at probes.com
Tue Jan 13 21:07:49 GMT 2004
After upgrade from samba 2.2.8a to 3.0.1, I was getting "machine account
not found."
SunOS bonsai 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-5_10
gcc (GCC) 3.3.1
I did a pdbedit -Lv to check the account, and got segmentation fault.
I'm thinking these might be related.
Samba is using the smbpasswd file backend. (In a test install with ldap
backend, no problem listing machine accounts with pdbedit)
Here's the backtrace:
root at bonsai# gdb pdbedit
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) run -Lv om-679$
Starting program: /usr/local/samba/bin/pdbedit -Lv om-679$
Unix username: om-679$
NT username:
Account Flags: [W ]
User SID: S-1-5-21-2615800628-3292220117-387938567-11384
Primary Group SID: S-1-5-21-2615800628-3292220117-387938567-7001
Full Name:
Home Directory:
Program received signal SIGSEGV, Segmentation fault.
0xff0b3200 in strlen () from /usr/lib/libc.so.1
(gdb) bt
#0 0xff0b3200 in strlen () from /usr/lib/libc.so.1
#1 0xff106210 in _doprnt () from /usr/lib/libc.so.1
#2 0xff107e4c in printf () from /usr/lib/libc.so.1
#3 0x00021f54 in print_sam_info ()
#4 0x000222d4 in print_user_info ()
#5 0x00023580 in main ()
(gdb) quit
This is the account in the smbpasswd file and on the system:
root at bonsai# grep om-679 ../private/smbpasswd
om-679$:5192:5BF0BB3E813744FE05A631FCE5A38960:96870044DED2246D96FB0953A7008B5B:[W
]:LCT-40041318:
root at bonsai# getent passwd om-679$
om-679$:x:5192:3000::/dev/null:/bin/false
Using samba 3.0.2, when Imove the client machine to a work group, then a
back to the domain, login succeeds. Works OK for one machine, but hey,
we got plenty. Still pdbedit segfaults. User accounts are fine. Logging
in from Win98 is fine, connecting to the share as user/pass after
logging in to the local machine is fine. Domain login fails with no
account for machine. Roll back to 2.2.8a works fine.
Anybody else think this is related? Suggestions? How can I trace what's
failing the machine login?
Thanks,
Jeff
More information about the samba-technical
mailing list