On Monday 19 November 2001 09:48, Andreas J. Guelzow wrote: > mike wrote: > >lpr filename prompts for the user name and password. > > > >I guess I need to know how to get lpr to not require a password. > > Since lpr never asked me for a password I don't really know what to do, > but I wouldn't be surprised if the security section of > /etc/cups/cups.conf has something to do with that: > > ------------ > #<Location /printers/name> > # > # You may wish to limit access to printers and classes, either with Allow > # and Deny lines, or by requiring a username and password. > # > > ## Anonymous access (default) > #AuthType None > > ## Require a username and password (Basic authentication) > #AuthType Basic > #AuthClass User > > ## Require a username and password (Digest/MD5 authentication) > #AuthType Digest > #AuthClass User > > ## Restrict access to local domain > #Order Deny,Allow > #Deny From All > #Allow From .mydomain.com > #</Location> > -------------- > > Andreas
That did it, thanks. Specifically: <Location /> AuthType None #AuthClass User Order Allow,Deny Allow From 127.0.0.1 Allow From 192.168.1.* #your network here #Deny From All Encryption IfRequested </Location> <Location /admin> AuthType None #AuthClass System Order Deny,Allow Allow From 127.0.0.1 Allow From 192.168.1.* #your network here #Deny From All Encryption IfRequested </Location> And then restart cups. # /etc/rc.d/init.d/cups restart mg
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
