I have had a posting on the Cups list from Michael Sweet <msw...@apple.com> who has suggested the problem is something to do with my pam configuration. Thanks in advance for further guidance: > Thanks Michael - it looks as though you may have put your finger on the > problem -- but I am not certain how to react to it!!! (see below) > > > On Dec 10, 2009, at 5:34 AM, David Southwell wrote: > > > Thanks to some help from people on one of the freebsd lists I have > > > finally succeeded in getting cups the server to communicate with the > > > printer and print. > > > HOWEVER!! > > > > > > One minor niggling problem remains. I still cannot communicate with the > > > cups management interface on http://localhost:631 due to password > > > authentication failure. So the title of this thread is still very > > > relevant. > > > > > > Thanks in advance for any help with the problem. > > > > > > To bring readers up to date: > > > > > > I try logging in as 'root' with correct root password in the login > > > dialogue. > > > > > > I altered the loglevel to debug and the output is at the end of this > > > post. > > > > > > It seems as though the cupsd is not receiving the input (probably due > > > to some config error on my part!). I have tried using a number of > > > different browsers but get the same result. > > > > > > Prior to testing I did: > > > > > > dns1# lppasswd -g wheel -a root > > > The standard cups error log showed > > > cupsdAuthorize: pam_start() returned 4 (system error)! > > > > OK, so you have a PAM configuration error most likely - check that the > > /etc/pam.d/cups file is consistent with the other PAM files in > > /etc/pam.d (i.e. using the correct security modules...) > > ahahahahaaaaaaaaaaaaaaaaa > There is no /etc/pam.d/cups file !! > > There is a > /usr/local/etc/pam.d/cups > > which has the following lines: > auth required pam_unknown.so nodelay > account required pam_unknown.so > > Shown below is ls -l for each directory! > > Wanted --- good model for pam.d/cups and where to put it!!! <chuckles> > > [NB This is a freebsd 7.2 p3 amd64 system with intel quad core.] > dns1# ls -l /etc/pam.d/ > total 38 > -r--r--r-- 1 root wheel 2907 May 1 2009 README > -rw-r--r-- 1 root wheel 322 May 1 2009 atrun > -rw-r--r-- 1 root wheel 199 May 1 2009 cron > -rw-r--r-- 2 root wheel 547 May 1 2009 ftp > -rw-r--r-- 2 root wheel 547 May 1 2009 ftpd > -rw-r--r-- 1 root wheel 467 May 1 2009 gdm_disabled > -rw-r--r-- 1 root wheel 365 May 1 2009 imap > -rw-r--r-- 1 root wheel 467 May 1 2009 kde > -rw-r--r-- 1 root wheel 374 May 1 2009 login > -rw-r--r-- 1 root wheel 662 May 1 2009 other > -rw-r--r-- 1 root wheel 319 May 1 2009 passwd > -rw-r--r-- 1 root wheel 365 May 1 2009 pop3 > -rw-r--r-- 1 root wheel 328 May 1 2009 rsh > -rw-r--r-- 1 root wheel 739 May 1 2009 sshd > -rw-r--r-- 1 root wheel 380 May 1 2009 su > -rw-r--r-- 1 root wheel 705 May 1 2009 system > -rw-r--r-- 1 root wheel 754 May 1 2009 telnetd > -rw-r--r-- 1 root wheel 532 May 1 2009 xdm > > dns1# ls -l /usr/local/etc/pam.d > total 16 > -r--r--r-- 1 root wheel 69 Dec 10 09:19 cups > -r--r--r-- 1 root wheel 672 Dec 7 10:06 gdm > -r--r--r-- 1 root wheel 98 Nov 29 17:42 gnome-screensaver > -r--r--r-- 1 root wheel 135 Nov 4 22:09 polkit > -r--r--r-- 1 root wheel 135 Dec 2 09:00 polkit-1 > -r--r--r-- 1 root wheel 399 Sep 27 18:20 sudo > -r--r--r-- 1 root wheel 399 Sep 27 18:20 sudo.default > -r--r--r-- 1 root wheel 98 Nov 5 03:22 xscreensaver >
Maybe someone who is versed in the intricacies of pam.d on freebsd 7.2 p3 amd64 might be willing to point me in the right direction. Thanks David _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"