Bug 2625
Summary: | printing configuration...stuck on sysV | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | luc_lalonde |
Component: | samba | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-05-24 20:26:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
luc_lalonde
1999-05-07 02:36:27 UTC
Just uncomment the line "printing = bsd" in /etc/smb.conf fixed in samba-2.0.4b-1, in latest Raw Hide... I'm experiencing a related problem -- SWAT doesn't work correctly on my system (RedHat 6.0, samba-2.0.3-8.i386.rpm) because it's trying to run "/usr/bin/lpstat" (and failing) and printing an error message before creating the HTML header (see below): ---------------------------------------------- $ lynx -source http://localhost:901/ sh: /usr/bin/lpstat: No such file or directory HTTP/1.0 401 Authorization Required WWW-Authenticate: Basic realm="SWAT" Connection: close Content-Type: text/html <HTML><HEAD><TITLE>401 Authorization Required</TITLE></HEAD><BODY><H1>401 Authorization Required</H1>You must be authenticated to use this service<p></BODY></HTML> ---------------------------------------------- I've also tried this with the latest RPM from rawhide (samba-2.0.4b-2.i386.rpm) and I get the same results. The absence or presence of "printing = bsd" in /etc/smb.conf has no effect on this. Found my problem -- Samba used (Samba 2.0.2 & RH 5.2) to default to "printcap name = /etc/printcap" (BSD-style printing) for Red Hat Linux, but now it defaults to "printcap name = lpstat" (SYSV-style printing). Adding "printcap name = /etc/printcap" to my /etc/smb.conf file fixed this. Of course, swat still shouldn't be sending shell errors to the TCP socket! |