[Samba] Samba not seeing my new cups printers
Corey Hart
chart at acad.stedwards.edu
Tue Aug 26 14:17:56 GMT 2003
Samba 2.2.8a
RedHat Linux 8.0
ESP Print Pro 4.4
Everytime I add a printer to cups, SAMBA does not see it till I restart the
SAMBA daemon. I can give it an infinite amount of time and samba will not
see the newly added printers in cups till I restart the daemon. This can be
verified when I add a printer then go into rpcclient server and run
enumprinters. Before the restart I do not see the printers, after the
restart I do.
Here is my smb.conf
[global]
workgroup = STEDS
netbios name = EDSHARE
server string = Steds File Share
interfaces = 209.99.108.82 127.0.0.1
bind interfaces only = Yes
encrypt passwords = Yes
log level = 2
time server = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 527 -c Machine
-s /bin/false -M %u
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
wins support = Yes
ldap server = ldap1.stedwards.edu
ldap port = 9111
ldap suffix = dc=stedwards,dc=edu
ldap admin dn = cn=Manager,dc=stedwards,dc=edu
ldap ssl = no
invalid users = bin daemon sys man postfix mail ftp
admin users = root coreyh
load printers = yes
printing = cups
printcap name = cups
log file = /usr/local/samba/install/var/log/log.%U
logon script = scripts\%U.bat
logon drive = S:
logon home = \\%N\%U
[netlogon]
Comment = Netlogon Shares
path = /usr/local/samba/install/lib/netlogon
browseable = No
guest ok = no
writable = no
write list = admin
locking = no
; call the shell script (make_logon_script) with parameters :
; %m (machine netbios name) %U (user) %a (architecture) %g (group) %L
(server)
; perhaps you prefer : %u, %G, ...
; quote in case of spaces
root preexec = /usr/local/samba/install/bin/make_logon_script '%m'
'%U' '%a' '%g' '%L'
[homes]
read only = No
browseable = No
create mask = 0770
directory mask = 0770
[profiles]
path = /usr/local/samba/install/lib/profiles
read only = No
create mask = 0700
directory mask = 0700
browseable = No
writeable = no
guest ok = no
[printers]
comment = All Printers
path = /var/spool/samba
browsable = No
public = Yes
guest ok = Yes
writeable = No
printable = Yes
printer admin = root, coreyh, davidjf, georges, garrodh, mattv, rays
[print$]
comment = Printer Drivers
path = /usr/local/drivers
browsable = yes
guest ok = no
read only = yes
write list = root, coreyh
--
----
Corey Hart
Systems/Security Analyst
St. Edward's University
coreyh at admin.stedwards.edu
512/428-1038 - voice
512/448-8492 - fax
512/470-8462 - cell
More information about the samba
mailing list