Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba - Zugriff verweigert
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
daniel5
n00b
n00b


Joined: 06 Oct 2002
Posts: 44

PostPosted: Fri Nov 01, 2002 9:13 am    Post subject: Reply with quote

Ich hab jetzt in die [global] noch "printer admin = @users" eingetragen.

Jetzt bekomme ich die Meldung "Zugriff verweigert; keine Verbindung möglich" nicht mehr.

Aber der Drucker druckt nicht wenn ich am Windows PC eine Datei ausdrucken will. Der Drucker lässt sich aber am Windows PC installieren.

In den /var/log/samb/... gibt es dazu aber keine Meldung.
Back to top
View user's profile Send private message
Henning
Apprentice
Apprentice


Joined: 08 Sep 2002
Posts: 196
Location: Braunschweig

PostPosted: Fri Nov 01, 2002 9:32 am    Post subject: Reply with quote

Ähm,

langsam blicke ich nicht mehr durch. In deiner Config steht doch, daß der Samba Server für Win95/98 Clients als Domain Logon Server laufen soll.

Im übrigen ist das hier alles rätselraten. Es ist ja nicht eimal klar unter welchen Betriessystemen deine Clients laufen. Windows ist eben nicht Windows, sondern lediglich der Name für die Mehrzahl von Fenster !!!!!!!!
Back to top
View user's profile Send private message
daniel5
n00b
n00b


Joined: 06 Oct 2002
Posts: 44

PostPosted: Fri Nov 01, 2002 9:38 am    Post subject: Reply with quote

Ich will nur, dass ich von Windows XP PCs auf dem Drucker vom Linux PC drucken kann. Ohne einem Domain Logon Server.
Back to top
View user's profile Send private message
Altanos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2002
Posts: 95
Location: Bavaria/Germany

PostPosted: Fri Nov 01, 2002 10:57 am    Post subject: Reply with quote

Handelt es sich dabei um Windows XP Home oder Professionell? Denn die Homeedtition kann keine Domänen logins. Da bleibt nur Samba in einen Peer to Peer Modus zu schalten.
Quote:

[global]
encrypt passwords = Yes
update encrypted = Yes
map to guest = nutzlos
unix password sync = Yes
max log size = 50
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = cups
mangling method = hash2
logon script = logon.bat
logon home = \\%N\%U\profile
domain logons = Yes
os level = 2
domain master = True
wins server = ""
wins support = Yes
printing = cups
print command = lpr -P %p -o raw %s -r


An Deiner Stelle würde ich erstmal domain master = True entfernen, bzw auf False setzen, ausserdem domain logons = Yes entfernen oder als No setzen. wins support ist auch nicht nötig. Falls Du eine Arbeitsgruppe unter Windows eingerichtet hast, solltest Du auch workgroup = WINDOWSARBEITSGRUPPE setzen. Dann kannst Du noch security = user oder security = share setzen.
Bei security = user brauchst Du nur einmal einen Login auf den Sambaserver über Windows machen. Bei share musst Du pro Freigabe eine Passwortabfrage über Dich ergehen lassen, auser es sind auf die Einzelnen Shares keine Passwörter gesetzt.

Hoffe ich konnte Dir damit weiterhelfen.

Gruß

Altanos
_________________
Linux User #155501
[img:ce44b9cefe]http://seti.familie-friedrich.de/userstats.php?bcolor=128,128,128&tcolor=128,128,128&l=1&email=60[/img:ce44b9cefe]
Back to top
View user's profile Send private message
daniel5
n00b
n00b


Joined: 06 Oct 2002
Posts: 44

PostPosted: Fri Nov 01, 2002 11:16 am    Post subject: Reply with quote

Windows XP Professionell

smb.conf:
Quote:

# Global parameters
[global]
encrypt passwords = Yes
update encrypted = Yes
map to guest = nutzlos
unix password sync = Yes
max log size = 50
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = cups
mangling method = hash2
logon script = logon.bat
logon home = \\%N\%U\profile
os level = 2
printing = cups
print command = lpr -P %p -o raw %s -r
printer admin = @users
workgroup = LAN
security = user

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

[printers]
comment = All Printers
path = /pub/tmp
create mask = 0600
printable = Yes
browseable = Yes


[print$]
comment = NT Printers
path = /pub/tmp
write list = +admins
Public = Yes


Der Drucker druckt nicht wenn ich am Windows PC eine Datei ausdrucken will. Der Drucker lässt sich aber am Windows PC installieren.

In den /var/log/samb/... gibt es dazu aber keine Meldung.
Back to top
View user's profile Send private message
Altanos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2002
Posts: 95
Location: Bavaria/Germany

PostPosted: Fri Nov 01, 2002 11:58 am    Post subject: Reply with quote

Bleiben die Druckaufträge in der Druckerwarteschlange von Windows erhalten?
Hast Du schon mal ausprobiert ob Linux überhaupt drucken kann? Hatte selber schon mal das Problem dass nach einem Update von CUPS mein Drucker nicht mehr drucken wollte und alle Aufträge einfach im Nirwana verschwunden sind.

Gruß

Altanoa
_________________
Linux User #155501
[img:ce44b9cefe]http://seti.familie-friedrich.de/userstats.php?bcolor=128,128,128&tcolor=128,128,128&l=1&email=60[/img:ce44b9cefe]
Back to top
View user's profile Send private message
daniel5
n00b
n00b


Joined: 06 Oct 2002
Posts: 44

PostPosted: Fri Nov 01, 2002 12:12 pm    Post subject: Reply with quote

am Linux PC kann ich ohne Probleme drucken, am Windows PC werden die Druckaufträge übers Netz versendet. Werden aber nicht gedruckt.
Back to top
View user's profile Send private message
daniel5
n00b
n00b


Joined: 06 Oct 2002
Posts: 44

PostPosted: Fri Nov 01, 2002 12:20 pm    Post subject: Reply with quote

hier noch die logs vom cups:

cat /var/log/cups/error_log:
E [01/Nov/2002:13:16:02 +0100] print_job: Unsupported format 'application/octet-stream'!
Back to top
View user's profile Send private message
plate
Bodhisattva
Bodhisattva


Joined: 25 Jul 2002
Posts: 1663
Location: Berlin

PostPosted: Fri Nov 01, 2002 2:02 pm    Post subject: Reply with quote

Wenn mich nicht alles taeuscht, ist das ein Problem, das Du am Windows-Rechner aus der Welt schaffen kannst. In den Eigenschaften des Druckers auf "Druckerwarteschlange benutzen" oder so aehnlich wechseln, nicht "direkt auf Printer ausgeben" oder wie immer das auf Deutsch heisst (mein W2K ist japanisch...)
Back to top
View user's profile Send private message
daniel5
n00b
n00b


Joined: 06 Oct 2002
Posts: 44

PostPosted: Fri Nov 01, 2002 3:16 pm    Post subject: Reply with quote

Die Eigenschaften von meinem Drucker am Windows PC schauen so aus http://my.miccom.cc/hansaplast/drucker.JPG
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5175

PostPosted: Tue Nov 05, 2002 2:03 pm    Post subject: Reply with quote

hi
stell mal die erweiterten druckfunktionen ab denn das funktioniert nur mit local angeschlossenen(soweit ich weis).
Back to top
View user's profile Send private message
Sandlord
n00b
n00b


Joined: 07 Jun 2002
Posts: 69

PostPosted: Tue Nov 05, 2002 2:10 pm    Post subject: Reply with quote

Blode Frage aber :

hast du eigentlich eine gültige /etc/smbpasswd oder
/etc/samba/smbpasswd ?

Füge einen user mit smbpasswd -a [username] ein ...

Könnte ja sein ...


Gruß,

Roman Himmes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum