Problems setting up samba folllowing the howto.
I'm up to chapter 1.3 on the Fileserver with Samba and Printserver with CUPS Howto (I really like this document, by the way. I am probably just doing something wrong here). At this point, I'm running into results that don't look like what I was expecting from the howto. Here is what I'm getting:
When I run testparam, I get the following results:
Quote:
linux:/home/samba # whoami
root
linux:/home/samba # testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[public]"
Processing section "[printers]"
WARNING: The "printer admin" option is deprecated
Processing section "[HPPSC750]"
WARNING: The "printer admin" option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = TUX-NET
netbios name = AMD_FILESERVER
server string = Samba Server
interfaces = lo, eth0
bind interfaces only = Yes
hosts equiv = /etc/hosts
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hostname lookups = Yes
printcap name = cups
wins support = Yes
guest ok = Yes
hosts allow = 192.168.0.0/255.255.255.0, localhost
hosts deny = All
[public]
comment = Shared folders
path = /home/samba/public
read only = No
create mask = 0766
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root
printable = Yes
browseable = No
[HPPSC750]
comment = HP PSC 750
path = /var/spool/samba
printer admin = root
printable = Yes
linux:/home/samba #
My main question here is, do I need to worry about the two warnings that the printer admin option is deprecated, or does the line "Loaded services file OK." mean everythign is really fine?
Next, I used the two commands to see if the samba service is running: Quote:
linux:/home/samba # ps -e | grep smbd
linux:/home/samba # ps -e | grep nmbd
linux:/home/samba #
I would have expected some sort of response to these two lines. Or does this indicate everything is fine?
Next, I ran the code to start samba: Quote:
linux:/home/samba # /etc/init.d/samba start
bash: /etc/init.d/samba: No such file or directory
linux:/home/samba #
I double checked YAST (running opensuse 10.0) and it shows I have samba version 3.0.20-4 installed of samba (samba server in the description), and 3.0.20-4 version of samba-client installed. When I looked in the /etc/init.d folder, the closest files were "smb" and "smbfs". Guessing that maybe smb is the same on my machine as samba, I did the following: Quote:
linux:/etc/init.d # /etc/init.d/smb start
Starting Samba SMB daemon done
linux:/etc/init.d #
This makes me think smb is the same as samba on my setup. Is this correct?