Smbpasswd (command not found) need help..


 
Thread Tools Search this Thread
Operating Systems Solaris Smbpasswd (command not found) need help..
# 1  
Old 01-15-2009
Error Smbpasswd (command not found) need help..

Dear all

I am sorry if the case look's like a newbie case Smilie
but yes .. it is.. hehe..
like U2 songs, now I'm stuck in the moment exactly ..
I have been installed solaris ix86 and tried to make samba services.

and it's already run until I have config swat, smb.conf for shared directory, and it's running well.

but when I browse in the windows network client, there is authenticate session like login prompt. I used root user but it can't be open .

then I tried to make samba users with smbpasswd -a zaeedh, in addition I have already make unix user as zaeedh too, when I type smbpasswd -a zaeedh, the result is command not found, so there is some mistaked, or package was corrupt?
I was search the previous topic, but there is a thousand topic.??

really need help, and thank's for the reply.
# 2  
Old 01-15-2009
Maybe smbpasswd is in the /opt/csw/samba/bin or sbin directory?
# 3  
Old 01-16-2009
CPU & Memory

Otheus, thank's for the reply, I have checked it and it's the result :

#cd /opt/
#ls
#SUNWits SUNWmlib staroffice8
#cd /sbin
# ls

autopush ifconfig metadevadm rc1 soconfig umountall
biosdev ifparse metainit rc2 su uname
bootadm in.mpathd metarecover rc3 su.static zfs
bpgetfile init metastat rc5 sulogin zonename
dhcpagent installgrub mount rc6 swapadd zpool
dhcpinfo jsh mountall rcS sync
dladm luactivate netstrategy route tnctl
fdisk lucurr pfsh routeadm uadmin
hostconfig metadb rc0 sh umount

#which samba
no samba in /usr/sbin /usr/bin /usr/openwin/bin /usr/ucb

actually in the RedHat machine, when I tried to configure to entry smbpasswd it's work, the case is, I just can't login, when I browse from the windows client to workgroup that I've been made on the solaris machine, usually first we need to add smb user with smbpasswd command in the solaris. is it ?

here the info of the package :

# pkginfo -x | grep samba

SUNWsmbac samba - A Windows SMB/CIFS fileserver for UNIX (client)
SUNWsmbar samba - A Windows SMB/CIFS fileserver for UNIX (Root)
SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)


thank's for the help ..
# 4  
Old 01-16-2009
my path to smbpasswd is:

/usr/sfw/bin/smbpasswd

hth,
DN2
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Command not found

On my MAC - I get Command not found error for some command like mvn , java_home etc . I CD to the actual directory to take path out of picture and even then i get the command not found error . anyone else have the same problem ? (3 Replies)
Discussion started by: ambm01
3 Replies

2. Red Hat

Changing windows xp passwd doetn't change smbpasswd on server

Hi All we have small network which is in work group environment.We have one Samba server for sharing data on network.My Problem is when user change his/her password on windows machine i have to manually update his smb passwd on Samba server.I want password should change automatically on... (2 Replies)
Discussion started by: Vaibhav.T
2 Replies

3. Shell Programming and Scripting

Want to terminate command execution when string found in the command output

Hi Experts, I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task. I am running below command to snmpwalk the router.. snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies

4. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found" My code is as follows: -------------------------- #!/bin/sh user="test" DIR="/bldtmp/"$user VIEW="test.view1" echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies

5. Homework & Coursework Questions

Command not found

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Trying to run script but everytime I do I get teh following error message line 4: I have attempted... (5 Replies)
Discussion started by: tbear808
5 Replies

6. Shell Programming and Scripting

bash: <command nm> command not found

I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time: export PATH="$PATH:~/scripts" I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Discussion started by: catalinawinemxr
5 Replies

7. UNIX for Dummies Questions & Answers

Command not found

Hi guys, I do apologise if this question has been asked before. I am currently running Solaris 10 on a x86 architecture. Now, the problem I am having relates to the issuing of commands, for example if I am trying to find out the ipaddress of the machine I would issue the command 'ipconfig -a |... (2 Replies)
Discussion started by: BigTool4u2
2 Replies

8. Cybersecurity

Smbpasswd

I tried to ecexute smbpasswd thro a script in a RedHat machine with smbpasswd version 2.2. The command i used is "smbpaswd -a <user> <passwd>" But with version 3.0 the above command fails. Can anyone help me. (3 Replies)
Discussion started by: kymthasneem
3 Replies

9. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

10. Shell Programming and Scripting

sh: Hello: command not found

Hi All, I got this below, sudo ./myvar sh-3.1 # Hello You sh: Hello: command not found sh-3.1# sh-3.1# sh-3.1# exit Hi there Hi there $myvar $myvar Enter some text Hello World $myvar now equals Hello World for this code, (2 Replies)
Discussion started by: coolboarderguy
2 Replies
Login or Register to Ask a Question