Trouble with permissions on printing to Windows NT printer from SAMBA on Solaris

Erik Talvola etalvo at sapient.com
Thu Jul 17 17:04:45 GMT 1997


I have been trying to get SAMBA on a Solaris 2.5 box to print to a
printer on my Windows NT workstation.  However, I am having some
problems.  I have no problems reading the disk or anything like that -
only printing.

Here is some output:

(1) janus1:~ % smbclient -L hawklord
Added interface ip=10.203.6.100 bcast=10.203.255.255 nmask=255.255.0.0
Server time is Thu Jul 17 10:01:04 1997
Timezone is UTC-7.0
Password:
Domain=[SAPIENT] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]

Server=[HAWKLORD] User=[] Workgroup=[SAPIENT] Domain=[]

        Sharename      Type      Comment
        ---------      ----      -------
        ADMIN$         Disk      Remote Admin
        C$             Disk      Default share
        D$             Disk      Default share
        Downloads      Disk
        Hunter         Printer   Hunter Test
        IPC$           IPC       Remote IPC
        print$         Disk      Printer Drivers
        Quake          Disk

NOTE: There were share names longer than 8 chars.
On older clients these may not be accessible or may give browsing errors

'Hunter' is the printer I am trying to use.  If I do:

(2) janus1:~ % smbclient '\\hawklord\Hunter' -P
Added interface ip=10.203.6.100 bcast=10.203.255.255 nmask=255.255.0.0
Server time is Thu Jul 17 10:01:59 1997
Timezone is UTC-7.0
Password:
Domain=[SAPIENT] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
smb: \> print .cshrc
ERRDOS - ERRnoaccess (Access denied.) opening printer for .cshrc
smb: \> exit

I keep getting Access denied. 

On the Windows NT machine (hawklord), the Printer is defined to allow
Printing by 'Everyone'.  I can print to it locally.

Any ideas?  I have the latest alpha (Version 1.9.17alpha4) with
encrypted passwords compiled in.

Thanks.
--erik
etalvo at sapient.com
talvola at gnu.ai.mit.edu



More information about the samba mailing list