Page 1 of 1

Cups, my love...

Published: Dec 22, 2016 - 3:03 PM
by Eric44
Hello!

Thank you for your Samba documentation!
I've been dreaming of having a Linux print server on my AD2008R2, and thanks to you, it's almost a reality!

I installed Samba4 from a fresh Debian 8 installation, following your tutorial.

Everything went perfectly; my server is correctly registered as a member server, and my users and groups are showing up correctly.
I followed the tutorial to the end, including file sharing, even though that part won't be used.

I then switched to the CUPS tutorial,

but I'm a little stuck :-)

. 1. Why is it necessary to remove Samba at the beginning of the tutorial when the procedure requires having Samba installed beforehand? :shock: And at the end of the tutorial, it says to modify the samba.conf file (and therefore Samba must be installed, right?).

A little clarification would be welcome. :-)

2. I can add printers under CUPS and print test pages (I have Kyocera, Ricoh, and Lexmark printers),
but I can't install the drivers for my different clients on the server... Do you have any ideas on this?


Finally, I can't administer the CUPS server via the MMC "Print Management" because of permissions problems, even though I thought the domain admins group had all the rights on the server (because of the first tutorial...).

Thank you for any replies. :-)

Eric

Re: Cups, my love...

Published: Dec 28, 2016 - 4:48 PM
by Yvan Karmouta
Good morning,

Our samba/cups documentation dates back to 2014... I'll update it quickly :)

In the meantime, I advise you to check the directory:

Code: Select all

/var/lib/samba/usershares/imprimantes
does exist on the cups server
and set the rights:

Code: Select all

chgrp -R "domain admins"  /var/lib/samba/usershares/imprimantes/
chmod -R 2755  /var/lib/samba/usershares/imprimantes/
setfacl -R -m g:"domain admins":rwx /var/lib/samba/printers
setfacl -R -d -m g:"domain admins":rwx /var/lib/samba/printers
chmod -R g+rwx /var/lib/samba/printers
chown -R administrator:"domain admins" /var/lib/samba/printers
Do you have any interesting information in the file?

Code: Select all

/var/log/samba/log.smbd
Good day
Yvan

Re: Cups, my love...

Published: November 28, 2018 - 10:20 PM
by Maelvon
By following the https://dev.tranquil.it/wiki/SAMBA_-_Samba4_et_CUPS

I don't see any sharing options for this folder:
/var/lib/samba/usershares/printers
in "smb.conf". There's something I don't understand. What's the point of creating this directory?