1827293 Members
2866 Online
109717 Solutions
New Discussion

smbpasswd error!

 
Peter_227
Occasional Contributor

smbpasswd error!




Hi,
I am installing samba 2.0.7 on my HPUX 10.20 system. I currently configured my smb.conf file to an extent of my knowledge. But I am not pretty sure if my configuration is correct. If anybody has a this file configured for 10.20 system for bare minimum requirement of a Windows 2000 user to access this box then please do send me.

Also another issue which I am facing is that am not able to add user with "smbpasswd -a -m peter" command. Whenever I use this command for an existing user on my HPUX system it gives me:

User peter$ does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user.
Failed to modify password entry for user peter$

Why is my system giving this error. Please suggest. Also, if there is any place where I can get information to configure samba on my 10.20 box then please let me know.

Thanks,
Peter


4 REPLIES 4
frans tigelaar
Occasional Advisor

Re: smbpasswd error!

Peter,

I'm not sure how it works on HP but on RH you have to add your self to the /etc/samba/smbusers file like this:

peter - Peter Lastname

Then you make the passwd:

smbpasswd -a peter yoursecretpasswd
Steven E. Protter
Exalted Contributor

Re: smbpasswd error!

1) You are in Linux, the question will move.

2) The user must exist first in /etc/passwd prior to running smbpasswd. create the user and try again. Set the password with the passwd command.

smbpasswd -al -m peter

3) Your version of samba is very old. Try http://www.samba.org for a newer distribution which you can compile. on your 10.20 system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter_227
Occasional Contributor

Re: smbpasswd error!

Thannks,

-I am not on Linux I am using HPUX 10.20.

- My etc/passwd/ has enrty of the the username I am trying to add with smbpasswd.

- The newer version of samba on the samba site is for HPUX 11.X( As specified in README) so I did not take a risk of testing that.

The only place where I could find samba for 10.20 OS is this:

ftp://sunsite.org.uk/packages/samba/Binary_Packages/hp/samba-2.0.7-2-hppa1.1-hp-hpux10.20.tar.Z

Thanks,
Peter
Steven E. Protter
Exalted Contributor

Re: smbpasswd error!

I know you are using HP-UX. My note indicates that the forrum G-ds will locate and move this question.

My instructions are valid for Linux and HP-UX(see my priofile).

You should hunt down a newer version of samba, even if you ahve to compile it yourself.

http://de.samba.org/samba/ftp/docs/autoreply.txt

http://de.samba.org/samba/ftp/samba-latest.tar.gz


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com