[Samba] smbpasswd -a failure
Marian Mlcoch, Ing
mm at tsmp.sk
Thu Jun 19 12:25:07 GMT 2003
How you create your /etc/passwd entry? If by hand remove!
If your linux is embee... you need use command for adding user to unix and
then to samba.
1. # useradd pbathini (or adduser ...)
2. # smbpasswd -a pbathini
if this not work then yuor samba need recompile to locate proper password
user files of linux.
Bye.
----- Original Message -----
From: "Ken Walker" <ken.walker at textiles.umist.ac.uk>
To: <samba at lists.samba.org>
Sent: Thursday, June 19, 2003 1:25 PM
Subject: RE: [Samba] smbpasswd -a failure
> 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
> >
> --
> 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