[Pkg-samba-maint] [Git][samba-team/samba][master] smb.conf: Propose better idmap config

Mathieu Parent gitlab at salsa.debian.org
Sun Jul 1 14:08:14 BST 2018


Mathieu Parent pushed to branch master at Debian Samba Team / samba


Commits:
15a1abf3 by Mathieu Parent at 2018-07-01T15:07:56+02:00
smb.conf: Propose better idmap config

We use tdb backend, as rid consumes too much uids, and ads requires SFU server-side.

We reserve uid < 3000 for local users. We reserve 65534 for nobody.

- - - - -


1 changed file:

- debian/smb.conf


Changes:

=====================================
debian/smb.conf
=====================================
--- a/debian/smb.conf
+++ b/debian/smb.conf
@@ -152,8 +152,10 @@
 
 # Some defaults for winbind (make sure you're not using the ranges
 # for something else.)
-;   idmap uid = 10000-20000
-;   idmap gid = 10000-20000
+;   idmap config * :              backend = tdb
+;   idmap config * :              range   = 3000-7999
+;   idmap config YOURDOMAINHERE : backend = tdb
+;   idmap config YOURDOMAINHERE : range   = 100000-999999
 ;   template shell = /bin/bash
 
 # Setup usershare options to enable non-root users to share folders



View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/15a1abf3f7006efb2a552d04e09ead3dc359d973

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/15a1abf3f7006efb2a552d04e09ead3dc359d973
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20180701/5fddec78/attachment-0001.html>


More information about the Pkg-samba-maint mailing list