[SSSD] [PATCH] Increase the local domain min_id/max_id

Jakub Hrozek jhrozek at redhat.com
Mon Sep 26 08:57:54 UTC 2011


https://fedorahosted.org/sssd/ticket/1007

https://bugzilla.redhat.com/show_bug.cgi?id=741164

shadow-utils recently changed their min_id value from 500 to 1000. Our
local provider min_id used to be 1000 which would collide with their
UIDs.

This patch bumps up the min_id and max_id values.
-------------- next part --------------
From 529a5a86c5ed06370936ae65cc21f500f159cf2e Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Mon, 26 Sep 2011 10:52:01 +0200
Subject: [PATCH] Increase the local domain min_id/max_id

https://fedorahosted.org/sssd/ticket/1007

shadow-utils recently changed their min_id value from 500 to 1000. Our
local provider min_id used to be 1000 which would collide with their
UIDs.

This patch bumps up the min_id and max_id values.
---
 src/confdb/confdb.h            |    2 +-
 src/examples/sssd-example.conf |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 266e4d2..da1ebb0 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -40,7 +40,7 @@
 #define CONFDB_FILE "config.ldb"
 #define CONFDB_DEFAULT_CONFIG_FILE SSSD_CONF_DIR"/sssd.conf"
 #define SSSD_MIN_ID 1
-#define SSSD_LOCAL_MINID 1000
+#define SSSD_LOCAL_MINID 5000
 #define CONFDB_DEFAULT_SHELL_FALLBACK "/bin/sh"
 
 
diff --git a/src/examples/sssd-example.conf b/src/examples/sssd-example.conf
index e0b2563..a2fa8db 100644
--- a/src/examples/sssd-example.conf
+++ b/src/examples/sssd-example.conf
@@ -47,8 +47,8 @@ reconnection_retries = 3
 ; description = LOCAL Users domain
 ; id_provider = local
 ; enumerate = true
-; min_id = 500
-; max_id = 999
+; min_id = 5000
+; max_id = 10000
 
 # Example native LDAP domain
 # ldap_schema can be set to "rfc2307", which uses the "memberuid" attribute
-- 
1.7.6.2



More information about the sssd-devel mailing list