Samba+Drukowanie_from_WinXP
Piotr Kowalski - HUNTER
pkowal w kk.kalisz.pl
Czw, 16 Sty 2003, 00:56:07 CET
W liście z śro, 15-01-2003, godz. 23:35, Pepe pisze:
[...]
> Dziwne u mnie działa.
>
> Masz tutaj mój smb.conf:
[...]
Przerobilem swoj na podstawie twojego...
Ale u mnie jest kwestia demona drukarki, u mnie jest lprng, czyli lpd.
Jak mowilem, po skonfigurowanie i wejsciu smbclient //hunter/hunt -P na
drukarke pozwala bez zajakniecia na wydruk.
Wymiana plikow spod XP bez problemu. Wszystko jak w konfigu, tak i
praktyce.
Co do drukarki, to XP ciagle to samo, "Odmowa dostepu" jako tytul
okienka z kolejka.
Oto moj smb.conf:
[global]
client code page = 852
character set = ISO8859-2
workgroup = SPELUNA
netbios name = HUNTER
server string = Samba Server %v
interfaces = 192.168.0.1/4 127.0.0.1/8
bind interfaces only = Yes
encrypt passwords = Yes
update encrypted = Yes
allow trusted domains = No
# min passwd length = 6
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192
SO_RCVBUF=8192
level2 oplocks = Yes
name resolve order = wins bcast host
time server = Yes
# domain admin group = @domadm
# logon path = \\%N\profiles\%U
# logon drive = g:
# logon script = logon.bat
# domain logons = Yes
os level = 255
preferred master = True
local master = Yes
domain master = True
dns proxy = No
# wins support = Yes
# hide local users = Yes
# admin users = @domadm
hosts allow = 127.0.0. 192.168.0.
load printers = Yes
printing = lprng
printcap name = /etc/printcap
printer admin = root
delete readonly = Yes
# add user script = /usr/sbin/useradd -g w2k -G w2k -d /dev/null -s
/bin/false %u
[homes]
comment = Home Directories
# path = /%H/samba
read only = No
create mask = 0600
security mask = 0600
directory mask = 0700
directory security mask = 0700
browseable = Yes
#[netlogon]
# comment = The domain logon service
# path = /home/services/samba/logon
# read only = Yes
# write list = @domadm
#[profiles]
# comment = Users profiles
# path = /home/services/samba/profiles
# read only = No
# browseable = Yes
# create mask = 0600
# security mask = 0600
# profile acls = Yes
[public]
comment = Public directory
path = /home/ftp/pub
valid users = +users
read only = No
create mask = 0664
security mask = 0664
directory mask = 0775
directory security mask = 0775
[printers]
comment = Network Printer
path = /var/spool/samba
public = Yes
guest ok = Yes
writable = No
printable = Yes
browseable = no
[print$]
path = /home/services/samba/printers
browseable = Yes
guest ok = No
browseable = Yes
read only = Yes
write list = @domadm
juz nie mam pomyslow, chyba zeby sprobowac z tym cups, ale nie mam
pojecia co i jak z tym...
--
Piotr Kowalski - HUNTER
GG# 1448959 tlen# hunt3r
Registered Linux User
Więcej informacji o liście dyskusyjnej pld-users-pl