[Samba] Samba server forgets printer driver settings

nicolas lerch nicolas at hni.uni-paderborn.de
Tue Nov 12 15:26:28 GMT 2002


Hi,

I have a problem with a print server running samba 2.2.6. The server
"forgets" the settings for the printers. Especially the paper size. So the
printing files are set up for "Letter" and not for A4 --> Printer refuses to
print because it has no "Letter" paper.

I can upload the drivers from a W2K Client for W2K and NT and set up the
driver properties. When in click OK the settings are stored and stay stored
for some time. But after a few days all settings fall back to the defaults.

Another problem is that the settings on the server do not apply to the
printer if the driver is downloaded to a client. Also, if the properties are
still set up properly on the server. Driver uploading, downloading and
printing are no problem.



My smb.conf:

[global] 
        server string           = Samba Server %v on %h 
        workgroup               = FUBAR 
        security                = server 
        encrypt passwords       = yes 
        password server         = server1, server2 
        wins server             = ip.ip.ip.ip 
        hosts allow             = @test 
        invalid users           = root daemon bin sys adm uucp lp nuucp guest 
        security mask                   = 0777 
        force security mode             = 000 
        directory security mask         = 0777 
        force directory security mode   = 100 
        debug level             = 1 
        level2 oplocks          = False 
        deadtime                = 15 
        dfree command           = /usr/daemon/dfree 
        client code page        = 850 
        character set           = iso8859-1 
        inherit permissions     = yes 
        load printers           = yes 
        printing                = lprng 
        printcap name           = /etc/lprng/samba/printcap.samba 
        print command           = /etc/lprng/samba/lpr.sh %p %s "%J" 
        lpq command             = /bin/lpq -P%p 
        lprm command            = /bin/lprm -P%p %j 
        log level               = 2 
        log file                = /var/log/log.%m 
        printer admin           = nicolas, Administrator, root 
        invalid users           = daemon bin sys adm uucp lp nuucp hpdb guest 
 
[homes] 
        comment                 = Home Directories 
        read only               = no 
        browseable              = no 
        inherit permissions     = no 
        veto files              = /dumpster/.desktop*/ 
 
[printers] 
        path                    = /var/spool/samba 
        printable               = yes 
        browseable              = yes 
        create mask             = 0700 
 
[print$] 
        path                    = /etc/samba/drivers 
        public                  = yes 
        guest ok                = yes 
        browseable              = yes 
        readonly                = yes 
        write list              = nicolas, Administrator, root 
        printable               = no



More information about the samba mailing list