[Samba] Only admin user can print?

Albrecht Dreß albrecht.dress at lios-tech.com
Mon Nov 13 14:15:28 GMT 2006


Hi all,

after upgrading a FC3 box to FC4 which comes with Samba 3.0.23a rpm's, I
have the really strange effect that /only/ "admin users" can print to
printers shared by the Samba server.  Even a double click on the printer
in Win gives an "access denied".

The access to "normal" shares (homes etc.) still works fine.  Any idea
what went wrong?  How could I debug this condition???  The contents of
the config as reported by testparm is below.

Thanks in advance,
Albrecht


--output from testparm--------------------------------------------------
[global]
        workgroup = xxxx
        realm = xxxx.xxxx.xxx
        security = ADS
        password server = xxx.xxx.xxx.xxx:389, *
        log level = 1
        log file = /var/log/samba/%m.log
        max log size = 0
        load printers = No
        printcap name = cups
        os level = 0
        preferred master = No
        local master = No
        domain master = No
        wins server = xxx.xxx.xxx.xxx, xxx.xxx.xxx.yyy
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        template shell = /bin/bash
        winbind separator = _
        winbind enum users = Yes
        winbind enum groups = Yes
        printer admin = @DOM_grp
        hosts allow = xxx.xxx.xxx., xxx.xxx.yyy

[printers]
        comment = Drucker auf xxx-xxxxx
        path = /opt/samba/printers
        valid users = @DOM_grp
        printable = Yes
        browseable = No

[print$]
        comment = Druckertreiber
        path = /opt/samba/printer-drivers
        valid users = @DOM_grp
        guest ok = Yes
        browseable = No

[ps2pdf]
        comment = Umwandlung in PDF
        path = /opt/samba/ps2pdf
        valid users = @DOM_grp
        guest ok = Yes
        printable = Yes
--end testparm output---------------------------------------------------

All users are reported as member of the DOM_grp group by 'getent group
DOM_grp'.  The spool folders /opt/samba/printers and /opt/samba/ps2pdf
are owned by nobody.nobody and have permissions rwxrwxrwt.

-- 
LIOS Technology GmbH
Dr. Albrecht Dreß
Project Engineering / Software Design
Schanzenstrasse 6 - 20
D-51063 Köln
Germany

Phone +49 221 676 2742
Fax   +49 221 676 2069



More information about the samba mailing list