Results 1 to 5 of 5
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 ...
- 02-25-2006 #1Just Joined!
- Join Date
- May 2005
- Location
- Dallas, Texas
- Posts
- 95
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:
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?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 #
Next, I used the two commands to see if the samba service is running:I would have expected some sort of response to these two lines. Or does this indicate everything is fine?linux:/home/samba # ps -e | grep smbd
linux:/home/samba # ps -e | grep nmbd
linux:/home/samba #
Next, I ran the code to start 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:linux:/home/samba # /etc/init.d/samba start
bash: /etc/init.d/samba: No such file or directory
linux:/home/samba #This makes me think smb is the same as samba on my setup. Is this correct?linux:/etc/init.d # /etc/init.d/smb start
Starting Samba SMB daemon done
linux:/etc/init.d #
- 02-26-2006 #2
If it says the printer admin is depreciated, then it basicially will ignore it. However, I don't see this when I run testparm on my server (I forgot which version I am using, it is the latest version available in Gentoo's portage).
Now in your case, try doingAnd yes, smb is samba on your system.Code:ps -e | grep 'smb'
Life is complex, it has a real part and an imaginary part.
- 02-26-2006 #3Just Joined!
- Join Date
- May 2005
- Location
- Dallas, Texas
- Posts
- 95
Thanks so much for both your tutorial and the help in your post! I've been trying to understand how to get samba running for over a year now. I feel like I'm close, but just missing some fine detail.
I ran the code you suggested, but still nothing happens. Is that what is expected? I tried it both with and without single quotes around smb. Here is what it looked like. I included the whoami so there would be clear how I was logged in when I ran the command, in case that makes a difference:
Edit: I tried again, this time starting smb first. Here is what I got this time:linux:/etc/init.d # whoami
root
linux:/etc/init.d # ps -e | grep 'smb'
linux:/etc/init.d # ps -e | grep smb
linux:/etc/init.d #linux:/home/redbeard # /etc/init.d/smb start
Starting Samba SMB daemon done
linux:/home/redbeard # ps -e | grep 'smb'
6820 ? 00:00:00 smbd
6821 ? 00:00:00 smbd
linux:/home/redbeard #
- 02-27-2006 #4
the 2nd entry is what should be returned when you execute the ps command.
Now, does a windows computer see the shares? Is there any other problem?Life is complex, it has a real part and an imaginary part.
- 02-27-2006 #5Just Joined!
- Join Date
- May 2005
- Location
- Dallas, Texas
- Posts
- 95
I wasn't able to get it working from my windows machine over the weekend, but I'm guessing it was something in how I had Windows set up. I'm having hardware problems with that box now (getting too hot, needs a fan) so I can't do any more testing on the client side at the moment. I ordered a new part last night so it should be here in time to work on samba again over the weekend. I'll post back here with what I find as soon as I get the client box up and running.
Originally Posted by AlexK


Reply With Quote