|
Home > Archive > Debian Developers > March 2004 > Re: [debian-devel] Re: debian ldap schema?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [debian-devel] Re: debian ldap schema?
|
|
| Magosányi Árpád 2004-03-08, 2:34 pm |
| 2004-03-07, v keltez=E9ssel David B Harris ezt =EDrta:
> On Sun, 7 Mar 2004 15:50:05 +0000
> Magos=E1nyi =C1rp=E1d <mag@bunuel.tii.matav.hu> wrote:
>=20
> I don't know if it's kept up-to-date, but
> http://db.debian.org/userdir-ldap.schema
Thank you.
It certainly conflicts with nis.schema, but still needs attributetypes
defined there. I could handle the situation by commenting out the gecos
attributetype. Some might find that they do need UTF8 gecos: in this
case it should either be renamed to some non-conflicting names (in the
corresponding objectclasses, too), or the
gecos should be commented out in nis.schema (which behaviour seems to
conflict RFC2307, so not recommended.
Anyway, here is the patch:
M ldap/schema/userdir-ldap.schema
* modified files
--- orig/ldap/schema/userdir-ldap.schema
+++ mod/ldap/schema/userdir-ldap.schema
@@ -280,12 +280,13 @@
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
=20
-attributetype ( 1.3.6.1.4.1.9586.100.4.2.28
- NAME 'gecos'
- DESC 'The GECOS field; the common name'
- EQUALITY caseIgnoreMatch
- SUBSTR caseIgnoreSubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
+# gecos conflicts with nis.schema
+#attributetype ( 1.3.6.1.4.1.9586.100.4.2.28
+# NAME 'gecos'
+# DESC 'The GECOS field; the common name'
+# EQUALITY caseIgnoreMatch
+# SUBSTR caseIgnoreSubstringsMatch
+# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
=20
attributetype ( 1.3.6.1.4.1.9586.100.4.2.29
NAME 'gid'
################
And here is the patch for the gecos rename approach:
M ldap/schema/userdir-ldap.schema
* modified files
--- orig/ldap/schema/userdir-ldap.schema
+++ mod/ldap/schema/userdir-ldap.schema
@@ -281,7 +281,7 @@
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
=20
attributetype ( 1.3.6.1.4.1.9586.100.4.2.28
- NAME 'gecos'
+ NAME 'Ugecos'
DESC 'The GECOS field; the common name'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
@@ -301,7 +301,7 @@
DESC 'Abstraction of an account with POSIX attributes and UTF8
support'
SUP top AUXILIARY
MUST ( cn $ uid $ uidNumber $ gidNumber )
- MAY ( userPassword $ loginShell $ gecos $ homeDirectory $
description ) )
+ MAY ( userPassword $ loginShell $ Ugecos $ homeDirectory $
description ) )
=20
objectclass ( 1.3.6.1.4.1.9586.100.4.1.2
NAME 'debianGroup'
##########
tla rulez..
--=20
GNU GPL: csak tiszta forr=E1sb=F3l
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Steve Langasek 2004-03-13, 1:33 am |
| On Mon, Mar 08, 2004 at 07:29:21PM +0100, Magosányi Árpád wrote:
> 2004-03-07, v keltezéssel David B Harris ezt írta:
[color=darkred]
> Thank you.
> It certainly conflicts with nis.schema, but still needs attributetypes
> defined there. I could handle the situation by commenting out the gecos
> attributetype. Some might find that they do need UTF8 gecos: in this
> case it should either be renamed to some non-conflicting names (in the
> corresponding objectclasses, too), or the
> gecos should be commented out in nis.schema (which behaviour seems to
> conflict RFC2307, so not recommended.
I think, and the LDAP admins seem to agree, that the utility of being
able to interoperate with tools looking for an attribute named "gecos"
outweighs any benefit of strict RFC compliance here. To that end,
db.debian.org uses a slightly mangled version of nis.schema.
Cheers,
--
Steve Langasek
postmodern programmer
> Anyway, here is the patch:
> M ldap/schema/userdir-ldap.schema
> * modified files
>
> --- orig/ldap/schema/userdir-ldap.schema
> +++ mod/ldap/schema/userdir-ldap.schema
> @@ -280,12 +280,13 @@
> SUBSTR caseIgnoreSubstringsMatch
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
>
> -attributetype ( 1.3.6.1.4.1.9586.100.4.2.28
> - NAME 'gecos'
> - DESC 'The GECOS field; the common name'
> - EQUALITY caseIgnoreMatch
> - SUBSTR caseIgnoreSubstringsMatch
> - SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
> +# gecos conflicts with nis.schema
> +#attributetype ( 1.3.6.1.4.1.9586.100.4.2.28
> +# NAME 'gecos'
> +# DESC 'The GECOS field; the common name'
> +# EQUALITY caseIgnoreMatch
> +# SUBSTR caseIgnoreSubstringsMatch
> +# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
>
> attributetype ( 1.3.6.1.4.1.9586.100.4.2.29
> NAME 'gid'
>
> ################
> And here is the patch for the gecos rename approach:
> M ldap/schema/userdir-ldap.schema
>
> * modified files
>
> --- orig/ldap/schema/userdir-ldap.schema
> +++ mod/ldap/schema/userdir-ldap.schema
> @@ -281,7 +281,7 @@
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
>
> attributetype ( 1.3.6.1.4.1.9586.100.4.2.28
> - NAME 'gecos'
> + NAME 'Ugecos'
> DESC 'The GECOS field; the common name'
> EQUALITY caseIgnoreMatch
> SUBSTR caseIgnoreSubstringsMatch
> @@ -301,7 +301,7 @@
> DESC 'Abstraction of an account with POSIX attributes and UTF8
> support'
> SUP top AUXILIARY
> MUST ( cn $ uid $ uidNumber $ gidNumber )
> - MAY ( userPassword $ loginShell $ gecos $ homeDirectory $
> description ) )
> + MAY ( userPassword $ loginShell $ Ugecos $ homeDirectory $
> description ) )
>
> objectclass ( 1.3.6.1.4.1.9586.100.4.1.2
> NAME 'debianGroup'
|
|
|
|
|