smbpasswd segmentation fault

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


> 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
> 

jens, thanks, i tried to avoid calling all this code inside smbpasswd, in
the end decided to suggest people use samedit instead



More information about the samba-ntdom mailing list