smbpasswd segmentation fault

Luke Kenneth Casson Leighton lkcl at samba.org
Thu Apr 27 06:25:45 GMT 2000


great report format!

On Thu, 27 Apr 2000, Jens Skripczynski wrote:

> Hi,
> 
> I'm using the latest cvs and try to update my user password:
> 
> G E N E R A L
>  * * * * * * * *
>   -------------
>   OS          : linux (redhat 6.2b)
>   -------------
>   Compiler    :  gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>   -------------
>   CVS-Branch  :  SAMBA_TNG
>   -------------
>   Version/Date:today (how can I retrive the time of the last update ?)
>   -------------
>   Error Type  : reproduceable
>   -------------
>   Short Desc. : segmentation fault with smbpasswd
>   -------------
>   Trigger     : smbpasswd -D 100 jens
>   -------------
>   Solution    : smbpasswd -r $SERVER  -D 100 jens
>   -------------
> 
>    S P E C I A L
>   * * * * * * * *
> 
> -------------
> smbpasswd   : old
> -------------
> shadowland:[~/Mail/old] #smbpasswd -D 100 jens
> New SMB password:
> Retype new SMB password:
> search by name: jens
> startfileent: opening file /usr/local/etc/samba/private/smbpasswd
> get_number:
> 1007:709268F7E90C9933B343EE1EAD7651B1:FED80CF9F6BE1E02C2DC6A29DACE36B4:[W
> ]:LCT-38F87EEF: -> 1007
> getsmbfilepwent: returning passwd entry for unix user shadowland$, unix uid
> 1007
> unixuser:shadowland$ uid:1007 acb:80
> pwdb_smb_map_names: unix shadowland$ nt NULL unix 1007 nt-1
> lookupsmbpwnam: unix user name shadowland$
> lookupsmbpwuid: unix uid 1007
> initialising map /usr/local/etc/samba/domainuser.map
> file_modified: /usr/local/etc/samba/domainuser.map modified
> load_name_map: Scanning name map /usr/local/etc/samba/domainuser.map
> Read line |root=administrator|
> make_name_entry:,administrator,root
> unix_name_to_nt_name_info: unix_name:root
> unix_name_to_nt_name_info: unix gid:0
> map_domain_name_to_sid: overriding blank name to 
> Segmentation fault
> 
> ---------------------------------------------------
> 
> So it is possible to change the password if I submit a Password Server.
> But just using the prompt smbpasswd fails.
> 
> 
> Ciao
> 
> Jens Skripczynski
> -- 
> E-Mail: skripi at hrzpub.tu-darmstadt.de
> 
> Computers are like airconditioners: They stop working 
> properly if you open windows.
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list