Difference between revisions of "Samba/Tips and tricks"

From ArchWiki
Jump to: navigation, search
(Moved "Share files without a username and password" section to main Samba article)
(Moved "Build Samba without CUPS" to main Samba article.)
Line 6: Line 6:
 
{{Related articles end}}
 
{{Related articles end}}
 
{{Merge|Samba|I cannot see any reason why this section must be separate from the main article.}}
 
{{Merge|Samba|I cannot see any reason why this section must be separate from the main article.}}
 
== Build Samba without CUPS ==
 
 
Just build without cups installed. From the [https://wiki.samba.org/index.php/Samba_as_a_print_server Samba Wiki]:
 
<blockquote>Samba has built-in support [for CUPS] and defaults to CUPS if the development package (aka header files and libraries) could be found at compile time.</blockquote>
 
 
Of course, modifications to the PKGBUILD will also be necessary: libcups will have to be removed from the depends and makedepends arrays and other references to cups and printing will need to be deleted. In the case of the 4.1.9-1 PKGBUILD, 'other references' includes lines 169, 170 and 236:
 
{{bc|
 
    mkdir -p ${pkgdir}/usr/lib/cups/backend
 
    ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
 
  install -d -m1777 ${pkgdir}/var/spool/samba
 
}}
 

Revision as of 05:47, 4 May 2016

Merge-arrows-2.pngThis article or section is a candidate for merging with Samba.Merge-arrows-2.png

Notes: I cannot see any reason why this section must be separate from the main article. (Discuss in Talk:Samba/Tips and tricks#)