Gundemarie Scholz wrote:
For some time I have been experiencing a problem with adding Windows drivers for printers available and configured in CUPS already. Not being utterly familiar with how the process works I first tried it as root from different Windows machines, both W2K and XP Pro. I saw the driver files being uploaded, but then got an error message 'Printer settings could not be saved. Access is denied.'.

So I decided to do it 'on foot' like the official Samba-3 book describes. Adding the drivers again was not a problem, but setting them gave a 'SetPrinter call failed! result was WERR_ACCESS_DENIED'.

Version of Samba is 3.0.7 on Solaris 5.9, so not the latest one, but it used to work, and now it doesn't, without any of my colleagues or me having changed a setting (at least not consciously).

Following up to myself, I now got the idea to use truss (strace equivalent for Solaris) in order to maybe see in more detail where exactly access is denied. In general, files seem to be opened readonly, except this one:

open64("/usr/local/samba/var/locks/gencache.tdb", O_RDWR|O_CREAT, 0644) Err#13 EACCES


Changing the file to chmod 777 gave different output, but the error message in the end remained. Am I looking to the right direction there at all? More detailed logs can of course be provided if need be.

Regards,
Gunde
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to