[Samba] HP Deskjet 6940 and 6988

Glenn Arnold garnold at unrealsolutions.com
Mon Mar 17 05:01:21 GMT 2008


I tried Centos 5.1 samba version 3.0.25b with my samba smb.conf and I
still get the General Protection fault when I click on the Paper\Quality
tab under Print Preferences on the HP Deskjet 6940.  Here is the config
that I used on Ubuntu and Centos. I just want to make sure that I have
everything configured right with samba.  Will samba 3.2 fix this issue?

-Glenn

[global]
 
## Browsing/Identification ###
 
            workgroup = HACKERVILLE
 
            server string = %h server (Samba, Ubuntu)
 
            log file = /var/log/samba/log.%m
 
# Put a capping on the size of the log files (in Kb).
            max log size = 1000
 
# If you want Samba to only log through syslog then set the following #
parameter to 'yes'.
;           syslog only = no
 
            syslog = 0
 
            panic action = /usr/share/samba/panic-action %d
 
 
            security = user
 
            encrypt passwords = true
 
            passdb backend = tdbsam
 
            obey pam restrictions = yes
 
;           guest account = nobody
            invalid users = root
 
load printers = yes
printcap name = cups
printer admin = @lpadmin garnold
 
 
############ Misc ############
 
# Using the following line enables you to customise your configuration #
on a per machine basis. The %m gets replaced with the netbios name # of
the machine that is connecting
;   include = /home/samba/etc/smb.conf.%m
 
            username map = /etc/samba/smbusers
 
 
 [homes]
            comment = Home Directories
            browseable = no
            valid users = %S
            writable = yes
            create mask = 0770
 
 
[printers]
            comment = All Printers
            browseable = no
            path = /var/spool/samba
            printable = yes
            public = no
            writable = no
            create mode = 0700
 
 [print$]
            comment = Printer Drivers
            path = /var/lib/samba/printers
            browseable = yes
            read only = yes
            default devmode = yes
;           guest ok = no
# Uncomment to allow remote administration of Windows print drivers. #
Replace 'ntadmin' with the name of the group your admin users are #
members of.
   write list = root, garnold, @ntadmin




More information about the samba mailing list