mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Change DNA magic value to -1 to make UID 999 usable
Change user-add's uid & gid parameters from autofill to optional. Change the DNA magic value to -1. For old clients, which will still send 999 when they want DNA assignment, translate the 999 to -1. This is done via a new capability, optional_uid_params. Tests included https://fedorahosted.org/freeipa/ticket/2886
This commit is contained in:
committed by
Martin Kosek
parent
8d432353cc
commit
91606e6679
@@ -101,7 +101,7 @@ bool secrets_store(const char *key, const void *data, size_t size); /* available
|
||||
|
||||
#define IPA_KEYTAB_SET_OID "2.16.840.1.113730.3.8.10.1"
|
||||
#define IPA_KEYTAB_SET_OID_OLD "2.16.840.1.113730.3.8.3.1"
|
||||
#define IPA_MAGIC_ID_STR "999"
|
||||
#define IPA_MAGIC_ID_STR "-1"
|
||||
|
||||
#define LDAP_ATTRIBUTE_CN "cn"
|
||||
#define LDAP_ATTRIBUTE_UID "uid"
|
||||
|
||||
Reference in New Issue
Block a user