Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weird Samba printing problem

Status
Not open for further replies.

jwharks

MIS
Apr 9, 2001
26
GB
Here's hoping one of you guys know the answer to this one.

I have RH7.1 and Samba 2.2.2 running on 6 different servers.

4 of these work fine with file sharing and printing to SMB Windows printers.

On 2 sites, however, the print goes astray.

This is left in the spooler:

printer abc unknown state. enabled since Aug 16 2002...
available printer: rocheinserts@roche
Queue: no printable jobs in queue
Status: removing job 'cfA758roche' - JREMOVE AT 10:18:38.254

If a print works correctly, I know that the job is flagged removed instead of removing. All print jobs use a guest account called smb.print and I use the same set-up on all my servers apart from changing WORKGROUP name to correspond to the local NT domain and also changing the WINS address.

The username and password and workgroup are definitely set correctly in the /var/spool/lpd/printername/script.cfg file.

Here is my smb.conf file: Any comments welcome

Thanks,

John Harkcom


# Global parameters
[global]
workgroup = ROCHE
server string = Samba Server
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = False
local master = No
domain master = False
dns proxy = No
wins server = 10.11.1.1
winbind uid = 10000-20000
winbind gid = 10000-20000
guest account = smb.print

[homes]
comment = Home Directories
read only = No

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[samba]
comment = Samba Dir
path = /etc/samba
write list = @sys
read only = No

[print$]
path = /usr/local/samba/printers
write list = @Administrators,root
guest ok = Yes

[pecas]
path = /pecas
read only = no
guest ok = no
write list = root,@Administrators

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top