[Samba] "test page failed to print" - How to I resolve this?

Jeff Davis jdavis at standard.k12.ca.us
Wed Oct 11 16:18:44 GMT 2006


This is a new one to me...  Drivers install fine, but on some of the 
printers I get the "test page failed to print" message.  I'm getting 
nothing in the samba logs from the workstation, smbd, nor from the cups 
logs.  I've googled myself silly, but can only find other people asking 
the same or similar question.  Some of them have found permissions to be 
the problem, but in those cases something does show in the log telemetry. 

Here's my smb.conf...


# Global parameters
[global]
        unix charset = ISO8859-1
        workgroup = STANDARD
        server string = Staff and Administration Server
        interfaces = eth0, localhost
        null passwords = Yes
        password server = staff
        passdb backend = ldapsam:ldap://ldap.<my_domain>
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        log level = 1
        log file = /var/log/samba/%m.log
        max log size = 50
        time server = Yes
        max open files = 59392
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add user script = /usr/sbin/smbldap-useradd -m %u
        delete user script = /usr/sbin/smbldap-userdel %u
        add group script = /usr/sbin/smbldap-groupadd -p %g
        delete group script = /usr/sbin/smbldap-groupdel %g
        add user to group script = /usr/sbin/smbldap-groupmod -m  %u %g
        delete user from group script = /usr/sbin/smbldap-groupmod -x  %u %g
        set primary group script = /usr/sbin/smbldap-usermod -g  %g
        add machine script = /usr/sbin/smbldap-useradd -w  %u
        logon script = logon.bat
        domain logons = Yes
        os level = 180
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        ldap admin dn = cn=samba,ou=dsa,dc=standard,dc=k12,dc=ca,dc=us
        ldap delete dn = Yes
        ldap group suffix = ou=Groups
        ldap machine suffix = ou=Computers
        ldap passwd sync = Yes
        ldap suffix = dc=standard,dc=k12,dc=ca,dc=us
        ldap ssl = no
        ldap user suffix = ou=Users
        idmap backend = ldap:ldap://ldap.<my_domain>
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        admin users = administrator, root
        write list = administrator, root
        printer admin = administrator
        profile acls = Yes
        cups options = raw
        veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash 
Folder/TheFindByContentFolder/TheVolumeSettingsFolder
        veto oplock files = 
/*.mdb/*.ldb/*.mdw/*.dbf/*.dat/*.fpt/*.cdx/*.idx/
        csc policy = disable

[homes]
        comment = Home Directories
        valid users = %U
        read only = No
        create mask = 0700
        force create mode = 0700
        security mask = 00
        force security mode = 0700
        directory mask = 0700
        force directory mode = 0700
        directory security mask = 00
        browseable = No
        oplocks = No
        level2 oplocks = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /home/samba/drivers
        write list = administrator, jdavis, root

[Profiles]
        path = /home/samba/profiles
        valid users = %U, '@Domain, Admins'
        force user = %U
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = No

[netlogon]
        path = /home/samba/netlogon/
        guest ok = Yes

[Daycare]
        path = /home/Daycare/
        valid users = root, admin, @daycare
        write list = @daycare
        read only = No
        create mask = 0770
        directory mask = 0770
        inherit permissions = Yes
        wide links = No
        delete readonly = Yes

[Public]
        path = /home/public/
        read only = No
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[Principals]
        path = /home/principals
        valid users = @principals, jdavis
        write list = @principals, jdavis
        force group = purchasing
        read only = No
        create mask = 0770
        directory mask = 0770

[Purchasing]
        path = /home/purchasing
        write list = @purchasing
        force group = purchasing
        read only = No
        create mask = 0770
        directory mask = 0770
        inherit permissions = Yes

[Business]
        path = /home/business
        valid users = @business
        write list = @business
        force group = business
        read only = No
        create mask = 0770
        directory mask = 0770
        inherit permissions = Yes

[Categorical]
        path = /home/categorical
        write list = @categorical
        read only = No

[Curriculum]
        path = /home/curriculum
        write list = @curriculum
        read only = No

[Special Ed]
        path = /home/special_ed
        write list = @specialed
        read only = No
        create mask = 0770

[Graphics]
        path = /home/graphics
        read only = No
        create mask = 0774
        directory mask = 0775

[FoodService]
        path = /home/FoodService/
        write list = @food
        force group = food
        read only = No
        create mask = 0774
        directory mask = 0775

[FS]
        path = /home/FoodService/
        write list = @food
        force group = food
        read only = No
        create mask = 0774
        directory mask = 0775

[Aeries]
        comment = Aeries
        path = /home/aeries
        valid users = @aeries
        admin users = jdavis
        write list = @aeries
        read only = No
        create mask = 0770
        directory mask = 0770
        inherit permissions = Yes

[Admin]
        path = /home/administration
        write list = @administration
        read only = No
        create mask = 0760
        directory mask = 02760
        inherit permissions = Yes

[Payroll]
        path = /home/payroll
        write list = @payroll
        read only = No
        create mask = 02770
        directory mask = 0770
        inherit permissions = Yes

[Payables]
        path = /home/payables
        write list = @payables
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[SMS-Server]
        comment = Previous SMS Server
        path = /home/sms
        write list = @staff
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes
        oplocks = No
        level2 oplocks = No

[Std-Elem-Server]
        comment = Previous Std-elem Server
        path = /home/std-elem
        write list = @staff
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes
        oplocks = No
        level2 oplocks = No

[Wingland-Server]
        comment = Previous Wingland Server
        path = /home/wingland
        write list = @staff
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes
        oplocks = No
        level2 oplocks = No

[Highland-Server]
        comment = Previous Highland Server
        path = /home/highland
        write list = @staff
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes
        oplocks = No
        level2 oplocks = No

[SAT9]
        path = /home/sat9
        read only = No
        create mask = 0770
        directory mask = 0770
        inherit permissions = Yes

[Sasi]
        path = /home/sasi
        write list = @business
        read only = No
        create mask = 0774
        directory mask = 0775

[Psychology]
        path = /home/psych
        write list = @psych
        read only = No
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[ESC Pictures]
        path = /home/pictures
        valid users = @staff
        read only = No
        create mask = 0775
        directory mask = 0775
        wide links = No

[TechPlan]
        path = /home/techplan
        write list = @techplan
        read only = No
        create mask = 0774
        directory mask = 02775

[Superintendent]
        path = /home/superintendent
        write list = @supt
        read only = No
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[Employment]
        path = /home/employment
        write list = @employment
        read only = No
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[FoodBiz]
        comment = Food Service Business Files
        path = /home/foodbiz
        write list = @foodbiz
        read only = No
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[MOT]
        path = /home/mot/
        write list = @mot
        force group = mot
        read only = No
        create mask = 0770
        directory mask = 0770

[antivirus]
        comment = Sophos Anti-Virus
        path = /home/antivirus
        admin users = jdavis, emanager
        read only = No
        create mask = 0774
        directory mask = 02775
        inherit permissions = Yes

[Business Director]
        comment = Business Director Files
        path = /home/bizdir/
        valid users = @bizdir, @superintendent
        admin users = administrator
        write list = @bizdir
        force group = bizdir
        read only = No
        create mask = 0770
        force create mode = 0770
        directory mask = 02770
        inherit permissions = Yes

[Personnel]
        comment = Personnel Files
        path = /home/personnel/
        write list = @personnel
        read only = No
        create mask = 0770
        force create mode = 0770
        directory mask = 02770
        inherit permissions = Yes

[TB-Tests]
        comment = Employee Tuberculosis Tests
        path = /home/tb-test
        valid users = @tbtest
        write list = @tbtest
        read only = No
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[Forms]
        comment = Formdocs Folder
        path = /home/forms
        read only = No

[YellowPages]
        path = /var/spool/imap/YellowPages
        read only = No

[SpecEdStaff]
        path = /home/special_ed_staff
        read only = No
        create mask = 0770
        directory mask = 02770
        inherit permissions = Yes

[Educational Services]
        path = /home/ed_services
        valid users = @ed_services
        read only = No
        inherit permissions = Yes

[CBEDS]
        comment = CBEDS Info
        path = /home/cbeds
        valid users = @cbeds
        admin users = @cbeds
        write list = @cbeds
        read only = No
        create mask = 02770
        directory mask = 02770
        inherit permissions = Yes

[InterChk]
        path = /home/antivirus
        admin users = emanager, jdavis
        read only = No

[web]
        path = /home/web
        write list = administrator, root, @technology
        read only = No
        directory mask = 02770
        directory security mask = 02770
        inherit permissions = Yes

[software]
        path = /home/software
        write list = administrator, root, @technology, @staff
        read only = No
        directory mask = 02770
        directory security mask = 02770
        inherit permissions = Yes
        hosts allow = 10.

[sms-rm57-01]
        comment = phaser 3450
        path = /var/spool/samba
        read only = No
        printable = Yes
        printer name = sms-rm57-01
        oplocks = No
        share modes = No

[sms-rm57-02]
        comment = phaser 3450
        path = /var/spool/samba
        read only = No
        printable = Yes
        printer name = sms-rm57-02
        oplocks = No
        share modes = No



More information about the samba mailing list