[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PAM causing Samba not to function?



Chris Watt <grimm mad scientist com> writes:

> I end up with a message in /var/log/messages along the lines of:
> May 22 20:43:39 tito PAM_pwdb[642]: 1 authentication failure; (uid=0) ->
> cnww for samba service

I have the same messages in my syslog and I really never understood
what it means. I even get them when I (successfully) connect to a
share of the samba box.

The only thing I can imagine is that it checks whether the logged on
user gets "admin status" and will be allowed to maintain files and
printer (queues). Any comments !?

> [printers]

With the "All Printers" setup I had problems as well, I changed it
then according to the man page to:

[dj500c]
   comment = DeskJet 500C
   path = /var/spool/samba
   browseable = yes
   guest ok = no
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -r -P%p %s
   lpq command = lpq -P%p
   lprm command = lprm -P%p %j

and it worked right away :-)

Another possibilty is to use SWAT for setting up printers and shares.

HTH

-- 
It is Mr. Mellon's credo that $200,000,000 can do no wrong.  Our
offense consists in doubting it.
		-- Justice Robert H. Jackson



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]