LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SuSE9 && Samba && Win2k (https://www.linuxquestions.org/questions/linux-software-2/suse9-and-and-samba-and-and-win2k-138803/)

DaFrEQ 01-26-2004 09:09 AM

SuSE9 && Samba && Win2k...Solved
 
Hey all, this is wierd.

I know there are a terrible amount of these particular threads, but none seem to be similar or even solved.
SO...

I had a similar problem with SuSE 8.2 but don't remember how I fixed it. Ofcourse that was over a year ago as well.
Anywho, I installed SuSE9 and all is well. I setup the samba srv via YAST and all is well as well, save for the printers.

The printers were installed, and both work correctly via the linux box (APOC) but the winblowz machines cannot print.
Printer #1: HP Deskjet 870Cxi (Installs as 870c/Parallel)
Printer #2: HP All in one 4110 (Fax/Printer/Scanner/USB)
******************************
SMB.CONF setup by YAST except for the data1 share.
******************************
[global]
workgroup = local
os level = 2
time server = Yes
unix extensions = Yes
encrypt passwords = yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
security = user
server string = APOC Samba Server
add user script =
domain master = false
domain logons = no
local master = no
preferred master = auto
;; ldap server = 127.0.0.1
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
create mask = 0640
directory mask = 0750
guest ok = no
printable = no
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = yes
guest ok = no
available = yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no
[data1]
comment = Storage
path = /IronGate1/DATA1
write list = root steve rick allen
create mask = 0777
directory mask = 0777
browseable = yes
guest ok = no
printable = no
*********************************

So, I cannot print via windows anymore (since the re-install from 8.2 -> 9.0)
Anything I'm missing in the conf? I assumed that since SuSE has come along way with their distro that the samba config under yast would take care of these little quirky problems. Low and behold I guess not.

When I install the printer drivers on the Win2K boxes, only one of them installes. The 870c. The 4110 says it has to have the Software CD. I have the software CD but it will not install the drivers. It asks for a specific .inf file, which is on the install CD, but for some reason, winblowz quirks out and says it cannot find any drivers for the specified printer.
When I connect the printer directly to the win box, the drivers install just fine.

I'm more worried about getting the 870c printer working via samba than the stupid 4110.
So, any idea is appreciated.

Thanks.

L8rz

DaFrEQ 01-27-2004 06:21 AM

Ok. From what I can remember, the last time I setup samba on SuSE, I installed and configured it manually. I guess I took it for granted that SuSE9 and it's many perks would take care of this since it was built in to YaST.
Unfortunately, I guess I was wrong.

However, I think I recall that the last time I wasn't using CUPS. I believe it was using the lpr.

So, I guess my question is, how quirky is CUPS? Is there a known problem with it and samba? I couldn't find anything that said such.

I'm currently disabling the "built-in samba" server via YaST. I'm going to try installing samba manualy again. If it doesn't work this time, I can only assume it has something to do with the CUPS.

L8rz

DaFrEQ 01-27-2004 07:45 AM

Solved
 
Hey all,

Ok. So I disabled the YaST samba srv in SuSE9.
I installed dl'd and installed samba-latest.tar.gz (v.3.0.1 I believe)
All went perfect with the install as normal.

Here is my simplistic smb.conf file I created manually after the install.
******************************
[global]
workgroup = local
encrypt passwords = yes
load printers = yes
use client driver = yes
security = server
server string = APOC Samba

[data1]
comment = Storage
path = /IronGate1/DATA1
write list = root steve rick allen
create mask = 0777
directory mask = 0777
browseable = yes
printable = no
guest ok = no

[laserjet6mp]
comment = LaserJet 6P/6MP
path =
browseable = no
guest ok = yes
writeable = no
printable = yes
available = yes
public = yes
*****************************

and that's it. All printing works perfectly now. At least with the HP LaserJet 6MP. Which is the old printer I used previously before the SuSE upgrade that I mentioned in the above posts.

Next I shall attempt to add the Deskjet 870C once more and see if it was a crappy printer problem (even tho it printed fine under linux) or if it was indeed the samba via YaST.

L8rz :D


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