[Samba] smbpasswd -a failure

Ken Walker ken.walker at textiles.umist.ac.uk
Thu Jun 19 11:25:00 GMT 2003


They need a Unix account before you can create a smbpasswd account.

Ken

>    -----Original Message-----
>    From: samba-bounces+ken.walker=umist.ac.uk at lists.samba.org
>    [mailto:samba-bounces+ken.walker=umist.ac.uk at lists.samba.or
>    g]On Behalf
>    Of Pushpa Bathini
>    Sent: 18 June 2003 7:14 PM
>    To: samba at lists.samba.org
>    Subject: [Samba] smbpasswd -a failure
>    
>    
>    Hello,
>    
>    I am trying to run Samba 2.2.8a in an embedded linux system and
>    running into problems with smbpasswd.  With both smbd and nmbd
>    processes running fine ( the log files at log level 3 don't show
>    errors),
>    when I try to add a user to the smbpasswd file I get the following
>    error.
>    
>    # smbpasswd -a pbathini
>    New SMB password:
>    Retype new SMB passwd:
>    User pbathini does not exist in system passwd file ( usually
>    /etc/passwd).
>    Cannot add accounet without a valid local system user.
>    Failed to modify password entry for user pbathini
>    #
>    
>    
>    My /etc/passwd file looks like this.
>    
>    root::0:0:root:/:/bin/sh
>    nobody::99:99:Nobody:/:/bin/sh
>    pbathini::500:500::/cramfs:/bin/sh
>    
>    Why is smbpasswd unable to find user entry in /etc/passwd file?
>    Can somebody please help?
>    
>    Pushpa
>    
>    
>    -- 
>    To unsubscribe from this list go to the following URL and read the
>    instructions:  http://lists.samba.org/mailman/listinfo/samba
>    



More information about the samba mailing list