LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2004, 09:09 AM   #1
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Rep: Reputation: 30
Lightbulb 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

Last edited by DaFrEQ; 01-27-2004 at 07:46 AM.
 
Old 01-27-2004, 06:21 AM   #2
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
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
 
Old 01-27-2004, 07:45 AM   #3
DaFrEQ
Member
 
Registered: Mar 2002
Location: Earth... for now
Distribution: SuSE9.2 AMD64; LFS; GentooAMD64; Ubuntu10.04; RHEL 5.5; Solaris10(SPARC)
Posts: 418

Original Poster
Rep: Reputation: 30
Lightbulb 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zsnes && logitech dual action gamepad && dpad woes John5788 Linux - Games 5 10-29-2008 09:56 PM
(FreeBSD && Fedora Core 4 && Slackware 10.0) Filesystem Support taylor_venable *BSD 1 07-14-2005 02:24 PM
Japanese canna won't work : Warning: かな漢字変&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
howto setup Cable modem&router&red hat on machine with ethernet integrated on mobo&XP takanana Linux - Networking 14 10-23-2003 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration