smbprint to NT

r.scholten at physics.unimelb.edu.au r.scholten at physics.unimelb.edu.au
Thu Dec 2 06:17:25 GMT 1999


Hi,

I cannot seem to make smbprint work to NT boxes, as a guest.  I've read
everything I can find in the documentation, archives, John Blair's book,
etc.  While I can print to a shared printer on an NT server from a Win95
or Win98 box, without a username or password, I can't make this work from
a Unix box.

Can anyone help me?  The best I have been able to do is a script:


  /usr/local/samba/bin/smbclient \\\\SERVER\\SERVICE -U $LOGNAME -P 1>>/tmp/logfile.log <<EOF
  printmode graphics
  print $1
  exit
  _EOF

This stops and asks for the user's password, and provided the user has an
account on the NT box, all is well.

Many thanks for any help!

--
Robert Scholten                   Tel:   +61 3 9344 5457
School of Physics                 Fax:   +61 3 9347 4783
University of Melbourne           email: r.scholten at physics.unimelb.edu.au
Victoria 3010  AUSTRALIA          http://www.ph.unimelb.edu.au/~scholten




More information about the samba mailing list