PDA

View Full Version : configuring samba



matija
08-03-2008, 08:47
I have a problem configuring samba to show my printer conected to my WL-500g.

I can see share folder, i can see my printer, but when i try to connect to it i get an error, that printer is unavailable.

If i setup printer manually in windows it works fine, but I want to be visable in my network.

On my asus i use samba wich comes with olegs firmware

I will attach you my smb.conf



[Global]
printcap name = /etc/printcap
local master = Yes
preferred master = Yes
wins support = Yes
read raw = Yes
interfaces = br0
bind interfaces only = yes
workgroup = Home
server string = WL500g
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = yes
log level = 1
max log size = 100
encrypt passwords = no
preserve case = yes
short preserve case = yes

[printers]
comment = All Printers
path = /var/spool/samba
print ok = Yes
browseable = Yes

[HP Printer]
path = /var/spool/samba
read only = No
print ok = Yes
printing = lprng
print command = lpr -r -P%p %s
lpq command = /usr/bin/lpq -P %p
printer name = HP DeskJet 720C
oplocks = No
share modes = Yes

[share]
path = /tmp/harddisk
browseable = yes
writable = yes
force user = admin


Thank you for helping