[Samba] Problem Save Printer Properties
Tani Alessandro
alessandro.tani at quesse.it
Thu May 5 11:00:53 GMT 2005
Hi,
I have configured Samba 3.0.14a as PDC and Printer Server on a LAN.
Everything goes well:
- Users can do logon to the Samba NT Domain
- Users can print on the network "raw" printer
I tried to load the driver via Add Remove Printer Wizard on the network
printer, I can copy and install the driver, but when I tried to save the
configuration pushing the botton Apply or OK I recived an "Access Denied"
messagge. Someone can explain me why I recive this messagge? Where are the
printer configuration saved?
To configure Samba as printer server I have used this configuration (Samba
3.0.14a, CUPS 1.1.17 and Red Hat Prof. 9; root is a memebr of the group
ntadmins):
smb ports = 139 445
lpq cache time = 30
load printers = Yes
printcap cache time = 600
printcap name = cups
disable spoolss = No
enumports command =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
os2 driver map =
printer admin = @ntadmins, root
min print space = 0
max reported print jobs = 0
max print jobs = 1000
printable = No
printing = cups
print command =
lpq command = %p
lprm command =
lppause command =
lpresume command =
printer name =
use client driver = No
force printername = No
[printers]
comment = Spool delle Stampanti
path = /var/spool/samba
cups options = raw
browseable = no
guest ok = yes
printable = yes
use client driver = yes
default devmode = yes
create mask = 0600
[print$]
comment = Driver delle stampanti di rete
path = /var/lib/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = @ntadmins, root
The permission on the file system are:
drwxrwxrwt 2 root root 4096 15 apr 09:01 /var/spool/samba
drwxrwxr-x 8 root ntadmins 4096 4 mag 15:28
/var/lib/samba/drivers
drwxrwxr-x 2 root ntadmins 4096 23 mar 11:05
/var/lib/samba/drivers/W32ALPHA
drwxrwxr-x 2 root ntadmins 4096 23 mar 11:05
/var/lib/samba/drivers/W32MIPS
drwxrwxr-x 2 root ntadmins 4096 23 mar 11:05
/var/lib/samba/drivers/W32PPC
drwxrwxr-x 3 root ntadmins 4096 4 mag 15:40
/var/lib/samba/drivers/W32X86
drwxrwxr-x 2 root ntadmins 4096 23 mar 11:05
/var/lib/samba/drivers/WIN40
Directory /var/lib/samba:
-rw------- 1 root root 8192 4 mag 12:26 account_policy.tdb
-rw------- 1 root root 8192 4 mag 12:22
account_policy.tdb.backup
-rw-r--r-- 1 root root 8192 4 mag 15:42 brlock.tdb
-rw-r--r-- 1 root root 234 5 mag 12:47 browse.dat
-rw-r--r-- 1 root root 24576 4 mag 16:26 connections.tdb
drwxrwxr-x 8 root ntadmins 4096 4 mag 15:28 drivers
-rw-r--r-- 1 root root 8192 23 mar 11:15 gencache.tdb
-rw------- 1 root root 8192 23 mar 10:44 group_mapping.tdb
-rw-r--r-- 1 root root 24576 4 mag 16:39 locking.tdb
-rw------- 1 root root 8192 4 mag 15:40 messages.tdb
-rw-r--r-- 1 root root 9680 2 mag 09:00 namelist.debug
drwxrwxr-x 3 root ntadmins 4096 5 mag 11:20 netlogon
-rw------- 1 root root 8192 23 mar 11:03 ntdrivers.tdb
-rw------- 1 root root 696 23 mar 11:03 ntforms.tdb
-rw------- 1 root root 8192 23 mar 11:03 ntprinters.tdb
drwxr-xr-x 2 root root 4096 4 mag 14:30 printing
drwxrwx--- 2 root users 4096 24 mar 14:43 profiles
-rw------- 1 root root 8192 23 mar 11:03 registry.tdb
-rw-r--r-- 1 root root 24576 4 mag 17:01 sessionid.tdb
-rw------- 1 root root 8192 23 mar 11:03 share_info.tdb
-rw-r--r-- 1 root root 8192 4 mag 15:43 unexpected.tdb
-rw-r--r-- 1 root root 1503 5 mag 12:56 wins.dat
Thank you everybody for the help.
Bye,
Alessandro Tani
--------------------------------------------------------------------
Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservate e sono, comunque, rivolte esclusi-
vamente al destinatario. La diffusione, distribuzione e/o copie del
documento trasmesso o degli allegati da parte di qualsiasi soggetto
diverso dal destinatario è perseguibile ai sensi dell'articolo 616
Codice Penale e del Decreto Legislativo n. 196/2003.
Se avete ricevuto questo messaggio per errore, Vi preghiamo di re-
inviarlo al mittente e distruggerlo.
Per informazioni potete contattare l'indirizzo privacy at quesse.it
***
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited and it is punished by law. Please return it immediately
to the sender and delete the message. Should you have any questions,
please contact us at privacy at quesse.it.
--------------------------------------------------------------------
More information about the samba
mailing list