Quoting Ryan Suarez :

> Ok, you're getting access denied cuz your users can't write to the
> spool directory, try a 'chmod 1777 /var/spool/cups' and see if that
> fixes it.
> Also, I'm not sure why you're using the cups spool directory for samba?
> You should setup a separate path for samba spooling...


This was the issue. I had configured '/var/spool/cups' as my spool =20
directory in my 'smb.conf' file. It should have read =20
'/var/spool/samba' instead, it is even documented that it is a classic =20
mistake.

Thanks Ryan!

Jon


> jonr@destar.net wrote:
>> Quoting Ryan Suarez :
>>
>>> what's your permissions on your spool directory: /var/spool/cups
>>>

>>
>> Hello Ryan,
>>
>> Here is what the permissions are
>>
>> root:lp
>>
>> drwx--x--- 3 root lp 133 Apr 22 16:43 cups
>>
>> and inside the cups directory for the tmp directory:
>>
>> drwxrwx--T 2 root lp 6 Apr 22 10:36 tmp
>>
>> Thanks for the help,
>>
>> Jon
>>
>>> jonr@destar.net wrote:
>>>> Hello List,
>>>>
>>>> I am using samba and cups as a print server and have added it =20
>>>> into my 2003 AD. What I am would like is to not install any =20
>>>> drivers locally on the client but have samba automagically send =20
>>>> the correct PPD to the client. I can add my samba server by =20
>>>> using the 'net ads join -U Administrator' command and it works =20
>>>> as do the commands 'wbinfo' and 'getent passwd'. I can see the =20
>>>> samba server in the 'Active Directory Users and Computers' and =20
>>>> the printer and when I right click and say connect it does. When =20
>>>> I pull up the properties page for the printer and hit the =20
>>>> 'Print Test Page' I get a dialog box saying "Test page failed =20
>>>> to print. Access Denied". I am logged into the DC with the same =20
>>>> user as I have on the samba box but I still get the access =20
>>>> denied, I even created a smbuser with same name but different =20
>>>> password and still denied.
>>>>
>>>> I used the cupsaddsmb for my printer to place the files in the =20
>>>> correct directory. This would constantly fail when I left the =20
>>>> "security =3D ADS" line in my smb.conf file. So I had to change it =20
>>>> to user and it ran fine, I then changed the "security =3D user" =20
>>>> back to "security =3D ADS".
>>>>
>>>> Thanks for any help,
>>>>
>>>> Jon
>>>>
>>>> Here is my smb.conf:
>>>>
>>>> # Global parameters
>>>> [global]
>>>> workgroup =3D SYSTEMS
>>>> realm =3D SYSTEMS.ALASKA.COM
>>>> load printers =3D yes
>>>> preferred master =3D no
>>>> server string =3D Samba print server
>>>> security =3D ADS
>>>> encrypt passwords =3D yes
>>>> log level =3D 3
>>>> log file =3D /var/log/samba/%m
>>>> max log size =3D 50
>>>> winbind enum users =3D Yes
>>>> winbind enum groups =3D Yes
>>>> winbind use default domain =3D Yes
>>>> winbind nested groups =3D Yes
>>>> winbind separator =3D +
>>>> printing =3D cups
>>>> printcap =3D cups
>>>> idmap uid =3D 10000-20000
>>>> idmap gid =3D 10000-20000
>>>>
>>>> [printers]
>>>> comment =3D All Printers
>>>> path =3D /var/spool/cups
>>>> browseable =3D no
>>>> public =3D yes
>>>> printable =3D yes
>>>> guest ok =3D yes
>>>>
>>>> [print$]
>>>> comment =3D Printer Drivers
>>>> path =3D /etc/samba/drivers
>>>> browseable =3D yes
>>>> guest ok =3D no
>>>> read only =3D no
>>>> write list =3D root
>>>>
>>>>
>>>> --To unsubscribe from this list go to the following URL and read the
>>>> instructions: https://lists.samba.org/mailman/listinfo/samba
>>>>

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





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