SuSE 7.1 timeout problem
Marcel Kunath
kunathma at pilot.msu.edu
Tue Apr 3 01:42:26 GMT 2001
I figured SuSE's lprng.rpm was at fault and compiled for 2.2.18 kernel.
I pulled down the source or lprng and did
./configure --disable-gdbm
make
make install
adjust path names in smb.conf and smb.conf.nobody
and the problems went away. Thank god for the source!!!!!!!
mk
>
> Hello,
>
> I just moved from SuSE 7.0 to SuSE 7.1 by reinstalling.
>
> I use HP 2100TN JetDirect printer. I use kernel-2.4.2, LPRng-3.6.26,
> ifhp-3.4.4, Samba-2.0.7
>
> Printing from Linux server works just as before. Printing from Windows clients
> has problems. I set it up just like before but any print job from Windows take
s
> its while and then spits out junk:
> --------------------------
> ERROR: timeout
> OFFENDING COMMAND: timeout
>
> STACK:
> --------------------------
>
> Printing from clients is basically impossible. Here are important directory
> permissions:
>
> /var/spool:
> drwxr-xr-x 3 lp lp 56 Mar 31 14:00 lpd
> drwxrwxrwt 2 root root 35 Apr 1 19:04 samba
>
> /var/spool/lpd:
> drwx------ 2 lp lp 332 Apr 1 19:26 smurf
>
> /var/spool/lpd/smurf:
> -rw------- 1 lp lp 8986 Apr 1 19:26 acct
> -rw------- 1 lp lp 270 Apr 1 19:04 cfA307mail.montiehouse.com
> -rw------- 1 lp lp 0 Mar 31 14:06 control.smurf
> -rw------- 1 lp lp 103522 Apr 1 19:04 dfA307mail.montiehouse.com
> -rw------- 1 lp lp 557 Apr 1 19:26 hfA307
> -rw------- 1 lp lp 0 Mar 31 14:06 log
> -rw------- 1 lp lp 19651 Apr 1 19:04 lpq.0
> -rw------- 1 lp lp 6 Apr 1 19:26 smurf
> -rw------- 1 lp lp 9819 Apr 1 19:26 status
> -rw------- 1 lp lp 10288 Apr 1 19:26 status.smurf
> -rw------- 1 lp lp 6 Apr 1 19:26 unspooler.smurf
>
> Samba runs as root.
>
> here is my simple /etc/printcap:
>
> smurf:cm=Network Printer smurf:\
> :lp=smurf.montiehouse.com%9100:\
> :sd=/var/spool/lpd/%P:\
> :ifhp=model=hp2100,status@:\
> :sh:\
> :filter=/usr/local/libexec/filters/ifhp:\
> :mx#0
>
> Here is my /etc/smb.conf:
>
> [global]
> workgroup = SHADOWWARRIOR
> server string = Samba %v on %L
> domain logons = yes
>
> wins support = yes
> name resolve order = wins lmhosts hosts bcast
>
> security = user
>
> os level = 34
> local master = yes
> preferred master = yes
> domain master = yes
> socket options = TCP_NODELAY
>
> time server = yes
> logon script = %U.bat
>
> keep alive = 30
> guest account = nobody
> kernel oplocks = false
>
> log file = /var/log/samba-log.%m
> lock directory = /var/lock/samba
> hosts allow = 192.168.1.
> interfaces = 192.168.1.1/255.255.255.0
> load printers = yes
>
> encrypt passwords = yes
> smb passwd file = /etc/smbpasswd
> unix password sync = True
> passwd program = /usr/bin/passwd %u
> passwd chat = *new*password* %n\n *new*password* %n\n *changed*
> passwd chat debug = True
> update encrypted = yes
>
> browseable = no
> config file = /etc/smb.conf.%U
>
> [netlogon]
> comment = The domain logon service
> path = /etc/samba/logon
> public = no
> writeable = no
> browseable = no
>
> [printers]
> path = /var/spool/samba
> print ok = yes
> printing = lprng
> printable = yes
> printcap name = /etc/printcap
> guest ok = yes
> public = yes
>
> [smurf]
> path = /var/spool/samba
> print ok = yes
> printing = lprng
> printable = yes
> guest ok = yes
> public = yes
> print command = /usr/bin/lpr -P%p -r %s
> lpq command = /usr/bin/lpq -P%p
> lprm command = /usr/bin/lprm -P%p %j
> lppause command = /usr/sbin/lpc hold %p %j
> lpresume command = /usr/sbin/lpc release %p %j
> queuepause command = /usr/sbin/lpc -P%p stop
> queueresume command = /usr/sbin/lpc -P%p start
>
> file /etc/smb.conf.nobody looks same. Users log on as nobody and file sharing
> works. Printing is the problem.
>
> I got jetdirect interface and client network card interfaces defined in
> /etc/hosts.
>
> Thanks,
>
> mk
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
--
Marcel Kunath
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Montie House Network Greater Lansing Linux Users Group
http://www.montiehouse.com http://www.gllug.org
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
More information about the samba
mailing list