Bluehost.com Web Hosting $6.95

Re: [Samba] samba+cups+ad

This is a discussion on Re: [Samba] samba+cups+ad within the Samba forums, part of the Networking and Network Related category; Quoting Ryan Suarez <ryan.suarez@sheridanc.on.ca>: > what's your permissions on your spool directory: /var/...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-24-2008
jonr@destar.net
 
Posts: n/a
Default Re: [Samba] samba+cups+ad

Quoting Ryan Suarez <ryan.suarez@sheridanc.on.ca>:

> 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 into =20
>> my 2003 AD. What I am would like is to not install any drivers =20
>> locally on the client but have samba automagically send the correct =20
>> PPD to the client. I can add my samba server by using the 'net ads =20
>> join -U Administrator' command and it works as do the commands =20
>> 'wbinfo' and 'getent passwd'. I can see the samba server in the =20
>> 'Active Directory Users and Computers' and the printer and when I =20
>> right click and say connect it does. When I pull up the properties =20
>> page for the printer and hit the 'Print Test Page' I get a dialog =20
>> box saying "Test page failed to print. Access Denied". I am logged =20
>> into the DC with the same user as I have on the samba box but I =20
>> still get the access denied, I even created a smbuser with same =20
>> name but different 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 to =20
>> user and it ran fine, I then changed the "security =3D user" back to =20
>> "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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0