• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Drucken auf Linux von XP geht auf 10.3 aber nicht auf 11.2

framp

Moderator
Teammitglied
Mein liebgewonnener Linux LAN Server läuft immer noch mit 10.3. Ist zwar kein Problem da die Kiste hinter eine FW steht aber da ich ab und zu mal den Hobel benutze um vom INet per ssh in mein LAN zu kommen habe ich jetzt 11.2 draufgepackt. Die cups Definitionen und samba Definitionen habe ich von 10.3 nach 11.2 kopiert. Drucken per CUPS mit meinem 11.0 Desktop funktioniert gut. Leider geht es nicht per IPP vom XP zu drucken. Ich habe sowohl beim CUPS als auch SAMBA den debug mode angeschaltet aber nichts taucht in den Logs auf. Die Druckaufträge verschwinden einfach in /dev/null. Wechsele ich auf 10.3 ist alles OK.

Hat vielleicht jemand eine Idee was da noch falsch sein kann? Die Konfiguration damals bei dem 10.3 ist leider schon ziemlich lange her :-(.

Code:
idefix:~ # egrep -v "^#.*|^$" /etc/samba/smb.conf
[global]
        workgroup = FRAMP
        netbios name = IDEFIX
        debuglevel = 10
        server string =
        wins support = yes
        name resolve order = lmhosts wins host bcast
        os level = 80
        time server = yes
        passdb backend = smbpasswd
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        username map = /etc/samba/smbusers
        map to guest = Bad User
        encrypt passwords = yes
        security = user
        domain master = yes
        local master = yes
        prefered master = yes
        logfile = /var/log/samba/%m
[homes]
        comment = Home Directories
        browseable = No
        read only = No
[root]
        comment = Root
        path = /
        read only = No
        public = no
        valid users = framp
[vol1]
        comment = Disk 1
        path = /disks/vol1
        read only = No
        public = no
        valid users = framp
[vol2]
        comment = Disk 2
        path = /disks/vol2
        read only = No
        public = no
        valid users = framp
[printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        public = Yes
        use client driver = Yes
        guest account = guest
        create mask = 0700
        browseable = yes
        guest ok = yes
[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
[scratch]
        comment = Scratch Disk
        path = /disks/vol2/scratch
        writable = yes
        browsable = yes
        inherit permissions = yes
[photos]
        comment = Digitalphotos
        path = /disks/vol2/photos
        writable = yes
        browsable = yes
[music]
        comment = Musik
        path = /disks/vol2/mp3
        writable = no
        browsable = yes
[software]
        comment = Software
        path = /disks/vol2/software
        writable = yes
        browsable = yes
[videos]
        comment = Videos
        path = /disks/vol1/videos
        writable = no
        browsable = yes
Code:
idefix:~ # egrep -v "^ *#.*|^$" /etc/cups/cupsd.conf
LogLevel debug
SystemGroup sys root
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
DefaultAuthType Basic
PreserveJobHistory yes
PreserveJobFiles yes
<Location />
AuthType None
Order allow,deny
Allow From @LOCAL
</Location>
<Location /admin>
Encryption Required
Order allow,deny
Allow From all
</Location>
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow From all
</Location>
<Policy default>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
AuthType none
Order allow,deny
allow all
</Limit>
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType none
Order allow,deny
allow all
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>

Update: wireshark liefert eine Fehlermeldung:
Code:
478	10.635635	192.168.0.5	192.168.0.102	SPOOLSS	OpenPrinterEx response, Invalid parameter
SPOOLSS ist Port 445. Was die Fehlermeldung auch immer bedeutet :???:
 
OP
framp

framp

Moderator
Teammitglied
Dem wireshark nach kann man sehen dass smb und nicht ipp benutzt wurde :eek:ps: Ich ware der Meinung die Drucker auf dem XP waren per ipp konfiguriert. Jetzt habe ich das gemacht und das Drucken funktioniert :roll: .

Allerdings würde mich immer noch interessieren warum es per smb nicht mehr funktioniert.
 
Oben