LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   smbpasswd -a ... smbpasswd: Command not found (https://www.linuxquestions.org/questions/linux-software-2/smbpasswd-a-smbpasswd-command-not-found-215962/)

Lleb_KCir 08-10-2004 06:02 PM

smbpasswd -a ... smbpasswd: Command not found
 
help..

just installed samba 3 on Whitebox 3 via yum. i am in the proccess of configuring the smb.conf and adding a common user password to the smbpasswd -a username and getting the above error...

i have started samba just to make sure it is running, but what has changed to make the smbpasswd become unknown?

this is first time mucking with samba 3, i have only mess with older vs and only limited amounts. this is my 4th time using samba just to give you a clue as to how new i am.

Lleb_KCir 08-10-2004 06:06 PM

getting same error with testparm command not found. how is this possible?

homey 08-10-2004 07:04 PM

Does that mean you got the nic to work?
I guess you are having your share of problems. :) It kinda sounds like samba didn't get installed completely or something.
At the website for whitehat, they said yum can be used. I would recommend using that or apt-get if you are having any issues with normal rpm installs.

Lleb_KCir 08-10-2004 07:08 PM

yes the NIC works, as it is a live web and e-mail server currently, and i use SSH to access and controll it.

Lleb_KCir 08-10-2004 08:46 PM

some more info:

Code:

rpm -qi samba
returns the following information:

Quote:

name : samba
relocations: (not relocatable)
version: 3.0.4
vendor: whiteboxlinux.org
release: 6.3E
build date: web jul 28 19:04:10 2004
install date: tue aug 10 16:57:52 2004
build host: bob.whiteboxlinux.org
group: system enviroment/daemons
source RPM: samba-3.0.4-6.3E.src.rpm
size 25693798
license: gnu gpl version 2
signature DSA/SHA1, wed jul 28 19:04:15 2004, key id ae52a76d73307de6
url: http://www.samba.org/
summary: the samba smb server.
followed by the description...

Code:

rpm -qi samba | grep -i testparm
comes back with no responce. just puts up the next CLI prompt

Code:

rpm -qa | grep samba
comes back with :

Quote:

samba-3.0.4-6.E
samba-common-3.0.4-6.3E
any more sujestions?

homey 08-10-2004 09:14 PM

That last command: rpm -qa | grep samba returns more stuff on my FC1 box.

samba-client-3.0.4-1.FC1
samba-3.0.4-1.FC1
redhat-config-samba-1.1.4-1
samba-common-3.0.4-1.FC1

Lleb_KCir 08-10-2004 09:18 PM

i have no clue what the commands are for but posted the results here to see if any of the guru's around here could help me get going in the right direction to fix it.

those commands came from my LUG (linux users group) e-mail list. just figured the more ppl looking at the issue and having the information, the faster things might get resolved.

Lleb_KCir 08-11-2004 11:27 AM

well the LUG said to run updatedb and for what ever reason after doing that command and seeing nothing on the screen i had access to all of my commands for samba, and now have it up and running on that server.

so if someone could please explain to me what that command does to the system, and how it worked id appriciate the education.

if anyone else runs into that problem, try it, who knows it might work for you.


All times are GMT -5. The time now is 06:38 AM.