HELP! can't see Unix printer shares

Mikkel L. Ellertson mikkel at execpc.com
Mon Feb 15 22:50:05 GMT 1999


At 08:10 AM 2/16/1999 +1100, you wrote:
>I'm trying to use Samba to get access to my Unix printer. 
>Unix System is FreeBSD-2.2-stable, and I'm running the latest port of Samba 
>for FreeBSD-2.2-stable (Samba 2.0.0) from ftp.freebsd.org.
>
>I've checked all the references I can find on the web, and can't see the
>problem. Can anyone point out what I'm doing wrong.
>
>Under NT (adding remote printer), I see the entry for the UNIX system
>(ZEBEDEE). If I select it (double click) nothing happens.
>
>>From Win98, I see ZEBEDEE with + sign to left. Clicking on ZEBEDEE either 
>prompts for password (ZEBEDEE$IPC) and entering a NULL password fails, or
>I get the message "\\ZEBEDEE is not accessible. No permission to access
>resource".
>
>All systems are in the workgroup 'WORKGROUP'. Samba log files for each client
>are created in /var/log, but are empty.
>
>Have guest account set up (pcguest) and any user and su to it without
>being prompted for a password and print (using lpr).
>
>Is the fact that I get prompted for a password here a problem ?
>
># smbclient -L zebedee
>Added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
>Password: <JUST HIT ENTER>
>Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.0]
>
>        Sharename      Type      Comment
>        ---------      ----      -------
>        IPC$           IPC       IPC Service (ZEBEDEE)
>        lp             Printer   local line printer
>
>        Server               Comment
>        ---------            -------
>        ERMINTRUDE           
>        ZEBEDEE              ZEBEDEE
>
>        Workgroup            Master
>        ---------            -------
>        WORKGROUP            ZEBEDEE
>
>Any help would be much appreciated. Please CC: me on any replies.
>
>Thanks
>
>Tony
>

># grep '^[^;#]' smb.conf
>[global]
>   workgroup = WORKGROUP
>   server string = ZEBEDEE
>   hosts allow = 192.168.0.
>   load printers = yes
>   printcap name = /etc/printcap
>  printing = bsd
>  guest account = pcguest
>   log file = /var/log/samba.%m
>   max log size = 50
>   security = user
>   socket options = TCP_NODELAY 
>   interfaces = 192.168.0.1/24
>   dns proxy = no 
>[homes]
>   comment = Home Directories
>   browseable = no
>   writable = yes
>[printers]
>   comment = All Printers
>   path = /var/spool/samba
>   browseable = no
>   guest ok = no
>   writable = no
>   printable = yes
>
># testprns lp
>Looking for printer lp in printcap file /etc/printcap
>Printer name lp is valid.
>
>
Well, one part of the problem is that the printer is set up NOT
to allow guest access, so you have to have a valid user/password
to print.  (guest ok = no)  Also, unless you have changed the
registry, NT and 98 require encripted passwords, and you have
not enabled then in your Samba config.  Can you access your home
directory if you try using a valid user id for the unix box?

Mikkel

---
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



More information about the samba mailing list