This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

NAS4free v10 as a SMB/CUPS/'Print to PDF' server

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Southcross
Starter
Starter
Posts: 58
Joined: 30 Jan 2015 19:00
Status: Offline

NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by Southcross »

w/ full Install of v10 on a hard drive...

I am trying to set up a CUPS server, with CUPS-PDF to act as a virtual print server for our offices to "print" directly from applications to a PDF for the printing department. I have SMB configured with a share to hold the files, CUPS installed using this writeup (viewtopic.php?f=72&t=8512&p=52323&hilit=CUPS#p52323), and CUPS-PDF installed.

Following the HowTo it appears that a few things have changed with v10, "devfs" to "devd" appears to be one of them? also, it appears that some settings are not saving? I manually added a [Printers] section to smbd.conf (I think that was the file? LOL). If I restart the service printers appear on the network share, but reboot the machine and the config file reverts and I lose all my changes :(

I can't get CUPS to "share" printers... and I think it has something to do with the changes to v10 and the fact I can't save a custom SMB config?

Also, I notice that files are being saved with -rw------- permissions, I need to change that to read & write for everyone. I "think" I know how to fix that with "create mask", but I am just still trying to figure out the problem with sharing first

Southcross
Starter
Starter
Posts: 58
Joined: 30 Jan 2015 19:00
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by Southcross »

suggestions? the SMB/CUPS/CUP-PDF combo seems like a simple solution for network print submission...

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by ChriZathens »

If you are using embedded, then the smb.conf file cannot be preserved across reboots.
Add the additional printers section in Services|CIFS/SMB|Settings -->Advanced settings, Auxiliary parameters section and see if it works.
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

Southcross
Starter
Starter
Posts: 58
Joined: 30 Jan 2015 19:00
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by Southcross »

I performed a "full install" using a live USB, shouldn't it then keep my changes?

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by ChriZathens »

I am not 100% sure, because I haven't used full install in a veeeeery long time... apologies.
Please wait for someone else to confirm, or you can try the Auxiliary parameters I posted above and post the outcome
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

Southcross
Starter
Starter
Posts: 58
Joined: 30 Jan 2015 19:00
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by Southcross »

I'll give it a shot, but it looks like the "Auxiliary" section is just for adding parameters/options to the [Global] section of the SMB config file...

Southcross
Starter
Starter
Posts: 58
Joined: 30 Jan 2015 19:00
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by Southcross »

OK... so... it appears that Samba was precompiled for N4F without CUPS support? (following the instructions located here: https://wiki.samba.org/index.php/Samba_ ... int_server )

Code: Select all

smbd -b | grep CUPS
do I just "re-install" SMB with CUPS support added, or do I need to do anything special to not break N4F, or am I SOL? I could go to a vanilla *nix install, but I much rather use the N4F interface :/

Southcross
Starter
Starter
Posts: 58
Joined: 30 Jan 2015 19:00
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by Southcross »

thoughts/suggestions?

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by ChriZathens »

Really not sure. Perhaps the devs can help - please bring it to their attention.
Filing an issue on SourceForge is a good idea.
A Google search revealed that in rc.conf you must add

Code: Select all

cupsd_enable="YES"
Have you tried ?

Sorry for being laconic - I am from mobile.
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

Southcross
Starter
Starter
Posts: 58
Joined: 30 Jan 2015 19:00
Status: Offline

Re: NAS4free v10 as a SMB/CUPS/'Print to PDF' server

Post by Southcross »

ChriZathens wrote:Really not sure. Perhaps the devs can help - please bring it to their attention.
Filing an issue on SourceForge is a good idea.
A Google search revealed that in rc.conf you must add

Code: Select all

cupsd_enable="YES"
Have you tried ?

Sorry for being laconic - I am from mobile.
woops... I thought I replied already to this? yes, I already have it set to "YES". I have been going in circles over this and I think it has entirely to do with the inability to edit the SMBD.conf file directly.

Post Reply

Return to “CIFS/SMB (Samba)”