Latest CVS version doesn't seem to work

Luke Kenneth Casson Leighton lkcl at switchboard.net
Mon Feb 1 16:27:56 GMT 1999


> smbpasswd is biting the dust - sorry for the wrong impression.  Here is 
> the stack trace for the command line "bin/smbpasswd -a whn":

pwdb_smb_map_names() is returning NULL, and then add_smbfilepwd_entry()
doesn't check for NULL.

lookup of unix name is failing, do you have a user "whn" in unix password
file?  what arrangement do you have for nt->unix mappings?
 
> (gdb) bt
> #0  0x805a177 in add_smbfilepwd_entry (newpwd=0x0) at passdb/smbpass.c:279
> #1  0x80593a0 in add_smbpwd_entry (newpwd=0xbffff2e0) at 
> passdb/passdb.c:209
> #2  0x805b5e5 in add_new_user (user_name=0xbffffd98 "whn", uid=1002, 
>     trust_account=0, disable_user=0, set_no_password=0, 
>     new_p16=0xbffff3c0 "-UE\a}{}*ªÓ´5µ\024\004î\020üÿ¿ø¦\004\b\230ýÿ¿", 
>     new_nt_p16=0xbffff3b0 "|SÏ¥ê}\017\233;\226\212 ûQ£õ-UE\a}{}*ªÓ´5µ\024\
> 004î\020üÿ¿ø¦\004\b\230ýÿ¿") at passdb/smbpasschange.c:52
> #3  0x805b694 in local_password_change (user_name=0xbffffd98 "whn", 
>     trust_account=0, add_user=1, enable_user=0, disable_user=0, 
>     set_no_password=0, new_passwd=0x80b4440 "testing", err_str=0xbffff810 
> "",
>     err_str_len=1024, msg_str=0xbffff410 "", msg_str_len=1024)
>     at passdb/smbpasschange.c:112
> #4  0x804a6f8 in password_change (remote_machine=0x0, 
>     user_name=0xbffffd98 "whn", old_passwd=0x0, 
>     new_passwd=0x80b4440 "testing", add_user=1, enable_user=0, 
> disable_user=0,
>     set_no_password=0, trust_account=0) at utils/smbpasswd.c:245
> #5  0x804ab33 in process_root (argc=3, argv=0xbffffcac)
>     at utils/smbpasswd.c:427
> #6  0x804aeab in main (argc=3, argv=0xbffffcac) at utils/smbpasswd.c:592
> 
> private/smbpasswd is unchanged.  Let me know if you any of the log files. 
>  I appreciate the assistance!
> 
> 	Thank you,
> 	Bill
> 
> 
> 

<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk"       > Samba and Network Consultancy </a>



More information about the samba-ntdom mailing list