Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba druckerfreigabe in win2k nutzen [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Thu Oct 21, 2004 1:18 pm    Post subject: samba druckerfreigabe in win2k nutzen [solved] Reply with quote

Ich habe hier einen server mit cups und samba drauf und dann habe ich noch einen win2k client, der drucken soll. Dateifreigaben über samba sind kein problem, das läuft alles einwandfrei. Ich habe als erstes einfach über swat die drucker freigegeben, habe sie dann auch im windows gesehen und "verbinden" können. Allerdings musste ich auf der windows kiste extra einen treiber wählen. Dannach habe ich die cups treiber für windows installiert, die [print$] freigabe in die smb.conf eingetragen. Und mit cupsaddsmb die druckertreiber auf meinen samba server installiert. Dannach konnte ich im windows "verbinden" auf einen drucker ausführen, ohne einen treiber einstellen zu müssen. Ich sehe auch in meinem samba log das der windows client sich die treiber besorgt hat, ausserdem sehe ich die treiber auf dem windows rechner. Jetzt zum problem, wenn ich unter windows drucken will, dann kommt eine fehlermeldung eigentlich bei jedem programm eine andere, immer so nach dem motto "kann nicht drucken" (ausssagekräftig :) ). Wenn ich aber unter windows in datei drucke, dann kommt ein lupenreines .ps raus, also würde ich schon denken das die treiber von cups in ordnung sind.
Der samba server allerdings merkt nichts von einem loginversuch, also scheint das problem noch irgendwo auf der windows seite zu liegen, weil windows ja schon abbricht bevor es sich auf dem samba server einloggt.

/etc/samba/smb.conf
Code:

..
[printers]
        comment = All Printers
        path = /tmp
        printer admin = root
        hosts allow = 127.0.0.1, 192.168.0.
        printable = Yes
        browseable = No
        guest ok = yes

[print$]
        comment = Printer Drivers
        path = /etc/samba/drivers
        write list = root
        hosts allow = 127.0.0.1, 192.168.0.
..


samba log (zeigt treiberdownload)

Code:

  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/21 14:18:32, 1] smbd/service.c:make_connection_snum(648)
  henschvm (192.168.0.2) connect to service print$ initially as user **** (uid=1000, gid=100) (pid 14394)
[2004/10/21 14:18:43, 1] smbd/service.c:close_cnum(837)
  henschvm (192.168.0.2) closed connection to service print$
[2004/10/21 14:20:20, 1] smbd/service.c:make_connection_snum(648)

wie gesagt druckversuche erscheinen nicht im log


Last edited by schmutzfinger on Thu Oct 21, 2004 2:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Thu Oct 21, 2004 2:25 pm    Post subject: Reply with quote

habe das problem gefunden, eine kleine änderung in der cups.conf, die ich gestern gemacht hatte, weil ich dachte sie beenflusst nur das webinterface.

Code:

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
#require group lp
</Location>

das was da kommentar ist, darf nicht dort stehen
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
Page 1 of 1

 
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