LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba deamons (https://www.linuxquestions.org/questions/linux-networking-3/samba-deamons-60912/)

PlatinumRik 05-20-2003 10:24 PM

samba deamons
 
when i type in smbd -D and nmbd -D it cannot find it. when i type killall smbd nmbd it says no processes killed. why is this i do testparm and it's ok and of course i have a config file.

PlatinumRik 05-20-2003 10:28 PM

when i logged in as root from the beginning log in it worked why did this not work when i used su ??`

Paul_assheton 05-21-2003 07:20 AM

Your post is unclear as to what you are trying to do. Are you trying to start samba, stop samba or find out if samba is running?

To start samba try "service smb start" as root rather than starting the processes seperatly

Paul

jharris 05-21-2003 07:25 AM

Quote:

Originally posted by PlatinumRik
when i logged in as root from the beginning log in it worked why did this not work when i used su ??`
You are probably using
Code:

su
when
Code:

su -
is better. If you just su then you don't process the su'ed user's login script, so their path won't be set. As root's path is normally different to a normal user's its failing to find smbd and nmbd.

HTH

Jamie...

michaelk 05-21-2003 01:25 PM

testparm only checks syntax and structure of the smb.conf file.

You can use smbclient command to see samba shares on the linux PC.


All times are GMT -5. The time now is 11:01 PM.