QEMU/WIN2K auf Sarge und drucken mit SAMBA
Ich habe mit qemu WIN2K installiert und möchte nun vom Windows-Client gerne
drucken. Hierzu braucht man Samba. Aber bislang bekomme ich vom
Windows-Client keine Verbindung zum Drucker (Fehlermeldung: "Zugriff
verweigert" oder "Druckername ungültig"). Beim Window-Client ist der
"Microsoft Client" installiert und zusätzlich habe ich auch noch NETBIOS
installiert.
Da ich mit Samba noch nie gearbeitet habe, hier meine smb.conf:
[global]
workgroup = MYGROUP
server string = %h server (Samba %v)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam guest
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
socket options = TCP_NODELAY
# for qemu
hosts allow = 10.0.2.0/255.255.255.0
printcap name = /etc/printcap
printing = cups
load printers = yes
cups options = raw
guest account = nobody
[homes]
comment = Home Directories
browseable = no
writable = no
create mask = 0700
directory mask = 0700
[printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
create mode = 0700
# for qemu
guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[qemu]
comment = Temporary file space
path = /tmp
read only = no
public = yes
Qemu starte ich u.a. mit der Option "-smb qemu". Username und Kennwort beim
Windows-Client stimmen mit Linux überein und der smbuser ist auch angelegt.
Im Windows-Client kann ich auch schon erfolgreich "ping 10.0.2.2" eingeben.
Vielleicht hat ja jemand einen Tipp für mich.
Flori
Reply to: