PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : windows druckt nicht über samba



Pressí
26.08.02, 12:30
Hallo zusammen,

ich habe ein kleines Problem. Mein WIndows druckt nicht mehr über Samba aus.

Der Drucker wird einwandfrei im Netzwerk gefunden und ich kann ihn fehlerfrei installieren, ein Druck ist jedoch nicht möglich.

In Windows wird der Druckerstatus wie folgt angezeigt:

Zugriff verweigert, keine Verbindung möglich

Unter Linux funktionert der Drucker, auch die freigegebenen Order können über Samba einwandfei aufgerufen werden.

rcsmb restart bringt keine Fehlermeldungen

Hat jemand eine Idee? die Sambaconf lief mal, wo kann ich noch suchen?

[global]
workgroup = net
netbios name = linux
interfaces = 192.168.0.2/255.255.255.0
encrypt passwords = Yes
time server = Yes
keepalive = 30
load printers = yes
logon script = STARTUP.BAT
domain logons = Yes
os level = 64
domain master = yes
wins support = Yes
preferred master = yes
local master = yes
security = user
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

[printers]
comment = All Printers
security = server
path = /var/spool/lpd/lp
bowseable = no
printable = yes
public = yes
writable = no
create mode = 0700
printer name = lp

[profile]
comment = Netscape Profile
path = %H/.netscapeprofil
writeable = yes
create mask = 0600
force directory mode = 0700
browseable = No

[netlogon]
comment = Logon Verzeichnis
path = /etc/samba/netlogon
browseable = no

[daten]
comment = freigebe /daten
path = /daten
browseable = yes
writable = yes
admin users = @users

[alle]
comment = freigebe fuer ordner alle unter /alle
path = /alle
browseable = yes
writable = yes
admin users = @users

Gruß, Pressi

Floody
27.08.02, 14:31
Hallo,

hatte auch mal sowas. Da hatte der Spoolordner die falschen Zugriffsrechte bzw. keine Schreibrechte. Vielleicht liegts da dran...

rtenny
27.08.02, 14:43
Dieses Problem tritt bei mir bei den Windows 2000 Clients auf. Andere sind ok. Ich habe das Problem nur Lösen können, in dem ich Samba 2.2.4 installiert habe. Dann steht zwar immer noch eine Fehlermeldung im Druckerfenster unter Windows, aber der Druck geht trotzdem.

elrond
27.08.02, 14:52
vom Hörensagen kenne ich das Problem w2k anmeldung bei Samba auch. wahrscheinlich wird das samba-upgrade notwendig sein...

rolux
27.08.02, 20:01
hi,

hier ist meine smb.conf; ich kann von meinen 3 NT 4+5 -Maschinen problemlos Drucken. Druckgerät : Canon BJC 620

--------------- schnipp ----------------
#
[global]
workgroup = home.lan
os level = 35
server string = Samba %v
security = share
encrypt passwords = Yes
guest account = Nobody
; map to guest = Bad User
#
# This tells samba to use the file smbusers for user mapping.
; username map = /etc/samba/smbusers

# This tells samba to write log files per machine.
; log file = /var/log/samba/%m
# This sets an alternate log level. Default is 2.
; log level = 3

# Uncomment the following, if you want to use an existing NT-Server to
# authenticate users, but don't forget that you also have to create them
# locally!
; security = server
; password server = 192.168.1.10

printing = LPRNG
printcap name = /etc/printcap
load printers = Yes

# These settings are a suggestion for a local network. Cf. section
# 'socket options' in the man page of smb.conf and socket(7).
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY

# Uncomment this, if you want to integrate your server
# into an existing net e.g. with NT-WS to prevent nettraffic
; local master = No

# Please uncomment the following entry and replace the ip number and
# netmask with the values of your network interface configuration.
; interfaces = 192.168.1.1/255.255.255.0

# If you want Samba to act as a wins server, please set
# 'wins support' to yes.
wins support = No

# If you want Samba to use an existing wins server, please uncomment the
# following line and replace the dummy with the wins server's ip number.
; wins server = 192.168.1.1

# Set these two parameters to your DOS code page and appropriate UNIX
# character set. These values are for west European languages (Latin-9)
# UNIX character and MS-DOS Latin 1 code page.
character set = ISO8859-15
client code page = 850

# This is a simple measure against Nimba Worm. Cf. README.Win32-Viruses
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

# Do you wan't samba to act as a logon-server for your windows 95/98
# clients, so uncomment the following:
; domain logons = Yes
; domain master = Yes
# For a specific logon script per user
; logon script = %U.bat
# For a specific logon script per machine
; logon script = %m.bat

# Where to store the logon scripts.
;[netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon

# Where profiles of Windows 9x systems are stored.
# First example for a centralized place.
; logon home = \\%L\profiles\%U
# Second example for a subdirectory of the users home.
; logon home = \\%L\%U\profile
# Where profiles of Windows NT systems are stored.
; logon path = \\%L\profiles\%U

# Extra share for profiles. Default is the home of the user.
;[profiles]
; comment = Network Profiles Service
; path = /var/lib/samba/profiles
; browseable = No

[homes]
comment = Home Directories
read only = No
create mask = 0640
directory mask = 0750
browseable = No

[daten]
comment = Shared Files
path = /DATEN
read only = no
create mask = 40777
directory mask = 40777
hosts allow = 172.16.200.nn 172.16.200.mm
public = yes
; guest ok = yes

[archiv]
comment = Software- und Datenarchiv
path = /ARCHIV
read only = no
create mask = 40777
directory mask = 40777
hosts allow = 172.16.200.xx 172.16.200.yy
public = yes

# The following share gives all users access to the Server's CD drive,
# assuming it is mounted under /media/cdrom. To enable this share,
# please remove the semicolons before the lines
;[cdrom]
; comment = Linux CD-ROM
; path = /media/cdrom
; locking = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = yes
#
----------------- schnapp --------------------

Ich hab SuSE 8.0 (probehalber, :( ) und das System hat während der Installation schon drei Drucker (color, high und lp) eingerichtet; entwurf hab ich hizugefügt. Auf den NT-Clients einfach Drucker < Neuer Drucker > Netzwerkdrucker > entsprechenden Drucker wählen und dann den dazugehörigen Treiber auf den Client installieren. Das fuktioniert sogar mit FinePrint !

Gruss vom Niederrhein,
rolux