Frank Ling
2002-Nov-20 15:47 UTC
[Samba] "Printer settings could not be saved. Access is denied" problem
Hi Samba gurus, I need your help for the problem of denying the change of the print driver settings on samba. I have no any clue of this problem. Thanks for any comments and tips. Our institution has a windows 2000 active directory domain; I joined my test samba 2.2.6 on a Linux box into domain as the file/print member server. All the file sharing worked fine, but when I tried to upload printer drivers from a Windows 2000 box into samba, and applied the change to the printer. I got following message: ?Printer settings could not be saved. Access is denied.? As matter of fact, I could see the printer drivers were uploaded into the W32X86 directory. I used ?atdadmin? account on a Win2k client to do the printer driver uploading. Under /etc/samba/smb.conf, I had following settings: load printers = yes auto services = lp1 lp2 lp3 lp6 single1 hp8550 hpplot lanier \ esig esig4050 esig5m esig8150 esigcolor dircolor printer admin = @rdp,help,atdadmin [print$] path = /etc/samba/pdrivers guest ok = yes browseable = yes read only = yes write list = @rdp,help,atdadmin [lp1] comment = HP8100 in RDP Users Room printer = lp1 printable = yes browseable = yes path = /tmp print command = /usr/bin/lp -d%p %s preexec = csh -c 'echo \"Your job destined for printer %S has been received by %L \" | /usr/local/samba/bin/smbclient -M %m -I %I' & public = no writable = no create mode = 0700 etc??. Following are the files under /etc/samba/: [root@rerun samba]# ls -al total 80 drwxr-xr-x 3 root root 4096 Nov 19 14:22 . drwxr-xr-x 72 root root 8192 Nov 19 14:39 .. -rw-r--r-- 1 root root 20 Oct 16 13:02 lmhosts drwxr-xr-x 3 atdadmin root 4096 Nov 15 14:24 pdrivers -rw-r--r-- 1 root root 776 Oct 16 13:01 recycle.conf -rw------- 1 root root 8192 Nov 19 14:14 secrets.tdb -rw-r--r-- 1 root root 10667 Oct 29 11:53 smb10-29-02.conf -rw-r--r-- 1 root root 15582 Nov 15 13:55 smb.conf -rw-r--r-- 1 root root 10731 Oct 16 13:02 smb.conf.rpmnew -rw------- 1 root root 452 Nov 15 14:57 smbpasswd -rw-r--r-- 1 root root 97 Oct 16 13:02 smbusers [root@rerun samba]# cd pdrivers [root@rerun pdrivers]# ls -al total 12 drwxr-xr-x 3 atdadmin root 4096 Nov 15 14:24 . drwxr-xr-x 3 root root 4096 Nov 19 14:22 .. drwxr-xr-x 4 atdadmin root 4096 Nov 19 14:21 W32X86 [root@rerun pdrivers]# cd W32X86 [root@rerun W32X86]# ls -al total 16 drwxr-xr-x 4 atdadmin root 4096 Nov 19 14:21 . drwxr-xr-x 3 atdadmin root 4096 Nov 15 14:24 .. drwxr-xr-x 2 atdadmin rdp 4096 Nov 15 14:21 2 drwxr-xr-x 2 atdadmin rdp 4096 Nov 15 14:07 3 [root@rerun W32X86]# cd 2 [root@rerun 2]# ls -al total 4272 drwxr-xr-x 2 atdadmin rdp 4096 Nov 15 14:21 . drwxr-xr-x 4 atdadmin root 4096 Nov 19 14:21 .. -rwxrw-r-- 1 atdadmin rdp 118180 Jan 31 2000 hp8550_6.ppd -rwxrw-r-- 1 atdadmin rdp 119718 Nov 17 2000 hpbafd32.dll -rwxrw-r-- 1 atdadmin rdp 11536 Nov 20 2000 hpbf4020.dll -rwxrw-r-- 1 atdadmin rdp 101136 Nov 20 2000 hpbf4021.dll -rwxrw-r-- 1 atdadmin rdp 1293584 Nov 20 2000 hpbf4022.dll -rwxrw-r-- 1 atdadmin rdp 1073424 Nov 20 2000 hpbf4023.dll -rwxrw-r-- 1 atdadmin rdp 403216 Nov 20 2000 hpbf4024.dll -rwxrw-r-- 1 atdadmin rdp 57439 Nov 20 2000 hpbf4024.hlp -rwxrw-r-- 1 atdadmin rdp 70298 Nov 20 2000 hpbf4024.pmd -rwxrw-r-- 1 atdadmin rdp 421648 Nov 20 2000 hpbf4025.dll -rwxrw-r-- 1 atdadmin rdp 459264 Nov 20 2000 hpbf4026.dll -rwxrw-r-- 1 atdadmin rdp 99840 Nov 17 2000 hpbftm32.dll -rwxrw-r-- 1 atdadmin rdp 58368 Nov 17 2000 hpdcmon.dll [root@rerun 2]# ------------------------- Frank Ling System Administrator UCAR/NCAR/ATD email: ling@uar.edu office: 303-497-8799 ------------------------- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba