Can I prompt for ID for a Samba printer?

adam r. christopher adam at
Wed Jun 16 13:45:42 GMT 1999

Hello all,

I didn't receive any replies to my question the first time, so here it is

The environemt is as follows - a university computer lab with clients
running WinNT4.0 SP5, a Samba 1.9 server on DU4.0b and ppr as the printing
daemon/accounting agent. 

Account A = generic NT lab machine login
Account B = valid unix login with permissions to print

The NT logins are necessarily different from the unix password file and
this is creating problems. From what I've found, if I log into NT with
account A, which does not exist in the password file, and try to print
to a samba printer, the job disappears - no log, no error, nothing. If I
then map a drive to that samba server using account B, I can print and
everything is wonderful. It would be nice if  NT would prompt the user
for identification in the same way it does when one tries to map a
network drive, with the "connect as:" and "password" dialogue box. What
I'm seeing is that the network drive will use any identification
supplied by the user but printing uses the NT operating system login ID.
Has anyone out there encountered and/or overcome this? 

I'd also really like to force a reauthentication every time someone
tries to print - any ideas? Revalidate does not work in this scenario.

Thanks for your time, I'll summarize.


unix/nt sysadmin
university of denver
adam at

More information about the samba mailing list