HELP! can't see Unix printer shares
Tony Jones
tony at rtd.com
Mon Feb 15 20:11:56 GMT 1999
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
=============================================================================
# ps -auwwx | grep bd
root 16593 0.0 1.3 240 612 p0 S+ 11:41AM 0:00.02 grep bd
root 11782 0.0 1.1 556 496 ?? Ss Sat03PM 0:04.14 ./nmbd -D
root 12386 0.0 0.7 928 300 ?? Is Sat04PM 0:00.06 ./smbd -D
# 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.
More information about the samba
mailing list