smbprint to NT (fwd)

Ingo Reimann reimann at
Mon Dec 6 09:21:06 GMT 1999

On Fri, Dec 03, 1999 at 09:56:13AM +1100, r.scholten at wrote / r.scholten at hat am Fri, Dec 03, 1999 at 09:56:13AM +1100 geschrieben:
> Hi Ingo,
> I have been having problems with smbprint, and found your newsgroup
> message.  I have been able to get it to work using a script (below) which
> prompts for a password.  As you say, this should not be necessary: winNT
> quite happily prints for Wfwg, W95 and W98 clients without passwords.  It
> just won't do it for smbclient.  Did you have any luck sorting this
> problem out???
Hi Robert,

well, i am no specialist, but as far as i can see, the Windooze Boxes store
the passwaord somewhere in the depth of the stygian abyss, aeh, registry. So
use user authentificates one time, and this is valid until he leaves the
mahcine and closes his session. It would be a very insecure thing, if the
login-procedure of some unix did the same - someone could try to crash the
shell and trace the core. And just this is our problem. 
Thus, the only way i see, is either to store a file somewhere with the
password, which is in fact not good idea, because this file should be
readable by lp, or to ask the NTSysadmin to open an lpr port or a guest
account to print. For me, the latter works only for 1 printer. The nice ones
are still protected...

This is the only thing, i may contribute.

Best whishes,


        I. Reimann                       reimann at
        Inst. fuer Angew. Physik         +49 251 83-33527 (fon)
        Correnstr. 2-4                   +49 251 83-33513 (fax)
        D-48149 Muenster

More information about the samba mailing list