Add account-related RFC 2307bis LDAP objects and attributes
authorMathieu Baudier <mbaudier@argeo.org>
Mon, 19 Sep 2022 07:26:10 +0000 (09:26 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Mon, 19 Sep 2022 07:26:10 +0000 (09:26 +0200)
org.argeo.util/src/org/argeo/util/naming/LdapAttrs.java
org.argeo.util/src/org/argeo/util/naming/LdapObjs.java

index 2d35e6d94fdc7b3d6f9e6d3164971e00df7ccd35..1a6642f05ace073efe66571448ceb252a68ed94a 100644 (file)
@@ -289,6 +289,19 @@ public enum LdapAttrs implements SpecifiedName, Supplier<String> {
        countryOfCitizenship("1.3.6.1.5.5.7.9.4", "RFC 2985"),
        /** */
        countryOfResidence("1.3.6.1.5.5.7.9.5", "RFC 2985"),
+
+       // RFC 2307bis (partial)
+       /** */
+       uidNumber("1.3.6.1.1.1.1.0", "RFC 2307bis"),
+       /** */
+       gidNumber("1.3.6.1.1.1.1.1", "RFC 2307bis"),
+       /** */
+       homeDirectory("1.3.6.1.1.1.1.3", "RFC 2307bis"),
+       /** */
+       loginShell("1.3.6.1.1.1.1.4", "RFC 2307bis"),
+       /** */
+       memberUid("1.3.6.1.1.1.1.12", "RFC 2307bis"),
+
        //
        ;
 
index 0e05e2e76cb400036f683efa2fecadfd056c04a7..995c68cc9de1c10f9640f440c7411b8ce17212cb 100644 (file)
@@ -95,7 +95,16 @@ public enum LdapObjs implements SpecifiedName, Supplier<String> {
        /** */
        inetOrgPerson("2.16.840.1.113730.3.2.2", "RFC 2798"),
        /** */
-       referral("2.16.840.1.113730.3.2.6", "RFC 3296");
+       referral("2.16.840.1.113730.3.2.6", "RFC 3296"),
+
+       // RFC 2307bis (partial)
+       /** */
+       posixAccount("1.3.6.1.1.1.2.0", "RFC 2307bis"),
+       /** */
+       posixGroup("1.3.6.1.1.1.2.2", "RFC 2307bis"),
+
+       //
+       ;
 
        /** MUST be equal to ContentRepository LDAP namespace. */
        final static String LDAP_NAMESPACE_URI = "http://www.argeo.org/ns/ldap";