mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
Move uidNumber and gidNumber into slapd(8)
to ensure they are available for ldapi://.
This commit is contained in:
parent
61e06b4ef2
commit
b707e1e38c
3 changed files with 32 additions and 8 deletions
|
|
@ -34,15 +34,17 @@
|
|||
|
||||
# Attribute Type Definitions
|
||||
|
||||
attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
|
||||
DESC 'An integer uniquely identifying a user in an administrative domain'
|
||||
EQUALITY integerMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
|
||||
# builtin
|
||||
#attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
|
||||
# DESC 'An integer uniquely identifying a user in an administrative domain'
|
||||
# EQUALITY integerMatch
|
||||
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
|
||||
|
||||
attributetype ( 1.3.6.1.1.1.1.1 NAME 'gidNumber'
|
||||
DESC 'An integer uniquely identifying a group in an administrative domain'
|
||||
EQUALITY integerMatch
|
||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
|
||||
# builtin
|
||||
#attributetype ( 1.3.6.1.1.1.1.1 NAME 'gidNumber'
|
||||
# DESC 'An integer uniquely identifying a group in an administrative domain'
|
||||
# EQUALITY integerMatch
|
||||
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
|
||||
|
||||
attributetype ( 1.3.6.1.1.1.1.2 NAME 'gecos'
|
||||
DESC 'The GECOS field; the common name'
|
||||
|
|
|
|||
|
|
@ -942,6 +942,26 @@ static struct slap_schema_ad_map {
|
|||
NULL, NULL,
|
||||
NULL, NULL, NULL, NULL, NULL,
|
||||
offsetof(struct slap_internal_schema, si_ad_uid) },
|
||||
{ "uidNumber", /* for ldapi:// "
|
||||
"( 1.3.6.1.1.1.1.0 NAME 'uidNumber' "
|
||||
"DESC 'An integer uniquely identifying a user "
|
||||
in an administrative domain' "
|
||||
"EQUALITY integerMatch "
|
||||
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )",
|
||||
NULL, 0,
|
||||
NULL, NULL,
|
||||
NULL, NULL, NULL, NULL, NULL,
|
||||
offsetof(struct slap_internal_schema, si_ad_uidNumber) },
|
||||
{ "gidNumber", /* for ldapi:// */
|
||||
"( 1.3.6.1.1.1.1.1 NAME 'gidNumber'
|
||||
"DESC 'An integer uniquely identifying a group "
|
||||
in an administrative domain' "
|
||||
"EQUALITY integerMatch"
|
||||
"SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )"
|
||||
NULL, 0,
|
||||
NULL, NULL,
|
||||
NULL, NULL, NULL, NULL, NULL,
|
||||
offsetof(struct slap_internal_schema, si_ad_gidNumber) },
|
||||
{ "userPassword", "( 2.5.4.35 NAME 'userPassword' "
|
||||
"DESC 'RFC2256/2307: password of user' "
|
||||
"EQUALITY octetStringMatch "
|
||||
|
|
|
|||
|
|
@ -911,6 +911,8 @@ struct slap_internal_schema {
|
|||
AttributeDescription *si_ad_name;
|
||||
AttributeDescription *si_ad_cn;
|
||||
AttributeDescription *si_ad_uid;
|
||||
AttributeDescription *si_ad_uidNumber;
|
||||
AttributeDescription *si_ad_gidNumber;
|
||||
AttributeDescription *si_ad_userPassword;
|
||||
AttributeDescription *si_ad_labeledURI;
|
||||
#ifdef SLAPD_AUTHPASSWD
|
||||
|
|
|
|||
Loading…
Reference in a new issue