Re: Samba and network printing
On Thu, May 20, 2004 at 02:24:38PM +0200, John L Fjellstad wrote:
> CW Harris <charris@rtcmarketing.com> writes:
>
> >> Now, the smb user is my guest user. I'm not sure why it tries to log in
> >
> > You may be having your account mapped to you guest user.
> > IIRC the things that are required are:
> > 1. User is in the printer admin group
> > 2. User has a valid smb password/account
> > 3. User must be able to write to the *nix directory where
> > samba stores the printer driver info.
>
> But I don't understand what my account has anything to do with it, since
> I'm logging in as root, and root does have rights to the printer driver
> directory.
By "User" I meant the user you were connecting as (root in your case),
sorry for being unclear.
Okay, re-reading the thread and some Samba docs... It seems that root
may be special and may *not* have to be in "printer admin", but then
again other docs seem to show using a "printer admin = root" global, so
I'm not certain.
Or, I found this one ref. to an auth. problem with cupsaddsmb and a
Samba PDC which may be related:
http://us3.samba.org/samba/docs/man/howto/CUPS-printing.html#id2565677
Perhaps you need to include the "domain" portion? They indicate using
rpcclient -U "DOMAIN\root%passwd"
if I read it correctly.
HTH
P.S. I am really getting curious about this. Windows printer drivers
(even under Samba) seem too much like black magic. Please let me know
when you find a solution.
--
Chris Harris <charris@rtcmarketing.com>
-------------------------------------------
GNU/Linux --- The best things in life are free.
Reply to: