[Pkg-openldap-devel] Bug#437799: slapd: ldapmodify wont work with NisNetgroupTriple
Falk Siemonsmeier
debian-bugreport at siemonsmeier.eu
Tue Aug 14 07:37:32 UTC 2007
Package: slapd
Version: 2.3.30-5 2.2.23-8
Severity: normal
when using ldapmodify to change a netgroup in ldap I get
modifying entry "cn=sc_trusted,ou=netgroups,dc=mpibp-frankfurt,dc=mpg,dc=de"
ldap_modify: Inappropriate matching (18)
additional info: modify/add: nisNetgroupTriple: no equality matching rule
There isnt a EQUALITY statement in the schema file. The solution is in the moment
delete the hole entry, and add it again. One solution is to change the complete
schema to
attributetype ( 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
DESC 'Netgroup triple'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
but this of course makes problems when you have already netgroups
in your ldap with the other syntax.
Regards
Falk
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
More information about the Pkg-openldap-devel
mailing list