diff options
author | Gerald Carter <jerry@samba.org> | 2003-11-17 14:15:14 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-11-17 14:15:14 +0000 |
commit | f8350a9b500b6018c314e0b2ce6b0a104ecb1531 (patch) | |
tree | 8cbefa9c7245066a6e1d940ba3bf2f0a56fd35ca /packaging/Mandrake/smb.conf | |
parent | 9da85503ede3f73f23921cb343d89e32cad586f6 (diff) | |
download | samba-f8350a9b500b6018c314e0b2ce6b0a104ecb1531.tar.gz samba-f8350a9b500b6018c314e0b2ce6b0a104ecb1531.tar.bz2 samba-f8350a9b500b6018c314e0b2ce6b0a104ecb1531.zip |
updates from Buchan
(This used to be commit bd0813e609759758b77fd130e304ccaca33f94c6)
Diffstat (limited to 'packaging/Mandrake/smb.conf')
-rw-r--r-- | packaging/Mandrake/smb.conf | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/packaging/Mandrake/smb.conf b/packaging/Mandrake/smb.conf index 4981d22174..6c1c05fa52 100644 --- a/packaging/Mandrake/smb.conf +++ b/packaging/Mandrake/smb.conf @@ -263,7 +263,10 @@ # Use the samba2 LDAP schema: ; passdb backend = ldapsam_compat:ldaps://ldap.mydomain.com smbpasswd guest -# idmap uid account range: +# Idmap settings: +# Idmap backend to use: +; idmap backend = ldap:ldap://ldap.mydomain.com + # This is a range of unix user-id's that samba will map non-unix RIDs to, # such as when using Winbind ; idmap uid = 10000-20000 @@ -388,10 +391,13 @@ # NOTE: If you have a CUPS print system there is no need to # specifically define each individual printer. # You must configure the samba printers with the appropriate Windows -# drivers on your Windows clients. On the Samba server no filtering is +# drivers on your Windows clients or upload the printer driver to the +# server from Windows (NT/2000/XP). On the Samba server no filtering is # done. If you wish that the server provides the driver and the clients # send PostScript ("Generic PostScript Printer" under Windows), you have -# to swap the 'print command' line below with the commented one. +# to use 'printcap name = cups' or swap the 'print command' line below +# with the commented one. Note that print commands only work if not using +# 'printing=cups' [printers] comment = All Printers path = /var/spool/samba @@ -406,10 +412,6 @@ # ===================================== print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. ; print command = lpr-cups -P %p %s # using cups own drivers (use generic PostScript on clients). -# The following two commands are the samba defaults for printing=cups -# change them only if you need different options: -; lpq command = lpq -P %p -; lprm command = cancel %p-%j # This share is used for Windows NT-style point-and-print support. # To be able to install drivers, you need to be either root, or listed @@ -417,17 +419,26 @@ # to the directory and share definition to be able to upload the drivers. # For more information on this, please see the Printing Support Section of # /usr/share/doc/samba-<version>/docs/Samba-HOWTO-Collection.pdf +# +# A special case is using the CUPS Windows Postscript driver, which allows +# all features available via CUPS on the client, by publishing the ppd file +# and the cups driver by using the 'cupsaddsmb' tool. This requires the +# installation of the CUPS driver (http://www.cups.org/windows.php) +# on the server, but doesn't require you to use Windows at all :-). [print$] path = /var/lib/samba/printers browseable = yes - read only = yes write list = @adm root guest ok = yes + inherit permissions = yes + # Settings suitable for Winbind: + ; write list = @"Domain Admins" root + ; force group = +@"Domain Admins" # A useful application of samba is to make a PDF-generation service # To streamline this, install windows postscript drivers (preferably colour) # on the samba server, so that clients can automatically install them. -# Note that this only works if 'printcap name' is *not* set to 'cups' +# Note that this only works if 'printing' is *not* set to 'cups' [pdf-generator] path = /var/tmp |