[Samba] Printer not accessible! Please review my conf on leaks
Martin Peter Hanke
mphanke at web.de
Wed Jan 15 11:48:01 GMT 2003
Hi,
I'm having problems with my printer, I can't access the printer not even
as root! Please review my smb.conf and give me some hints on what I
messed up. If you have some enhancements for me please add comments.
Thanks for your efforts,
Martin
--
==========================================================
I. Thessalonians 4:16
Thanks, Dad, for just letting me be a nerd.
We don't stop playing because we grow older,
We grow older because we stop playing.
Being paranoid does not mean they are not out to get you.
Important Information:
This is best viewed with Netscape Explorer 21.5,
at 3200x1800 pixels with 8xFSAA, 48bit color,
27" TFT (16x9), and a nail in the knee.
==========================================================
-------------- next part --------------
#####################################################################
# Global parameters
#####################################################################
[global]
server string = Test Server
netbios name = LINUX_ROX
workgroup = SERVE_ME
admin users = root, @s_Admin
domain admin group = @adm, at s_Admin
security = user
logon drive = H:
logon path = \\%N\profiles\%u
logon script = \\%N\netlogon\logon.bat
wins support = yes
os level = 65
local master = yes
domain master = Yes
preferred master = yes
encrypt passwords = Yes
min passwd length = 6
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
domain logons = Yes
hide unreadable = yes
time server = yes
log file = /home/samba/logs/samba.log.%m
log level = 2
max log size = 5000
load printers = yes
printing = cups
print command = /usr/bin/lp -d%p -oraw %s; rm %s
lpq command = /usr/bin/lpstat -o%p
lprm command = /usr/bin/cancel %p-%j
queuepause command = /usr/bin/disable %p
queueresume command = /usr/bin/enable %p
dos filetimes = Yes
dos filetime resolution = Yes
##############################
# Passwords
##############################
passwd program = /usr/bin/passwd %u
passwd chat = *New*Password* %n\n *Retype*new*Password %n\n passwd:*all*authentication*tokens*updated*successfully*
unix password sync = yes
# hide local users = yes
#####################################################################
# Logon Verzeichnis der Service-Struktur
#####################################################################
[netlogon]
path = /home/samba/netlogon
write list = @admin @s_Admin
writeable = no
browseable = no
guest ok = no
[profiles]
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = no
guest ok = no
#####################################################################
# Home-Verzeichnis der Abteilungen
#####################################################################
[Technik]
writeable = yes
mangle case = yes
preserve case = yes
path = /home/samba/Technik
sync always = yes
comment = Technik-Verzeichnis
valid users = @s_Tech @s_Boss
create mode = 0660
directory mode = 0760
guest ok = no
[Entwicklung]
map hidden = yes
mangle case = yes
writeable = yes
preserve case = yes
path = /home/samba/Entwicklung
sync always = yes
comment = Entwicklungs-Verzeichnis
valid users = @s_Dev @s_Boss
create mode = 0660
directory mode = 0760
guest ok = no
[Administration]
map hidden = yes
mangle case = yes
writeable = yes
preserve case = yes
path = /home/samba/Verwaltung
sync always = yes
comment = Administration
valid users = @s_Acnt, at s_Boss
create mode = 0660
directory mode = 0760
guest ok = no
[Event]
map hidden = yes
mangle case = yes
writeable = yes
preserve case = yes
path = /home/samba/Event
sync always = yes
comment = Administration
valid users = @s_Event @s_Boss
create mode = 0660
directory mode = 0760
guest ok = no
[Geschäftsleitung]
map hidden = yes
mangle case = yes
writeable = yes
preserve case = yes
path = /home/samba/Geschaeftsleitung
sync always = yes
comment = Geschäftsleitung
valid users = @s_Boss
create mode = 0660
directory mode = 0760
guest ok = no
#####################################################################
# Home-Verzeichnis der Benutzer
#####################################################################
[homes]
comment = Home-Verzeichnis von %U
path = /home/samba/%U
username = %U
read only = No
guest ok = No
create mode = 0664
directory mode = 0775
browseable = No
writeable = yes
#####################################################################
# Öffentliche Verzeichnis
#####################################################################
[Public]
comment = Public-Verzeichnis
path = /home/samba/Public
valid users = @s_Public
read only = No
guest ok = no
[Exchange]
comment = Data Exchange
path = /home/samba/Exchange
read only = no
valid users = @s_Admin @s_Tech @s_Dev @s_Acnt @s_Boss @s_Event
guest ok = no
#####################################################################
# Netzwerkdrucker
#####################################################################
[HPOJG85]
comment = HP OfficeJet G85 an Server
path = /var/spool/samba
printer admin = root @s_Admin
valid users = %u
guest ok = Yes
printable = Yes
[print$]
comment = Cups-Treiber
path = /home/samba/drivers
printer admin = root @s_Admin
guest ok = Yes
printable = Yes
More information about the samba
mailing list