On 12/27/2012 03:49 PM, Orion Poplawski wrote:
On 12/27/2012 03:26 PM, Orion Poplawski wrote:
> Has any work been done towards supporting Apple OS X ldap schema in
> 389? It
> seems like this is the latest OpenLDAP schema for Apple:
> Does anyone know of tools that would populate the various apple specific
> entries like apple-generateduid?
For what it is worth - I ran it through ol-schema-migrate.pl and got
the attached file. But doesn't work:
cora-ldap2...[27/Dec/2012:15:43:01 -0700] attr_syntax_create -
Error: the SUBSTR matching rule [caseExactIA5SubstringsMatch] is not
compatible with the syntax [184.108.40.206.4.1.14220.127.116.11.24] for the
[27/Dec/2012:15:43:01 -0700] dse_read_one_file - The entry cn=schema
in file /etc/dirsrv/slapd-cora-ldap2/schema/99apple.ldif (lineno: 1)
is invalid, error code 20 (Type or value exists) - attribute type
lastLoginTime: Does not match the OID "18.104.22.168.22.214.171.124". Another
attribute type is already using the name or OID.
The first looks like incompatibility between:
but I'm not familiar with this.
lastLoginTime is in 60acctpolicy.ldif:
## lastLoginTime holds login state in user entries (GeneralizedTime
attributeTypes: ( 2.16.840.1.1137126.96.36.199.1.35 NAME 'lastLoginTime'
DESC 'Last login time'
SYNTAX 188.8.131.52.4.1.14184.108.40.206.24 SINGLE-VALUE USAGE
X-ORIGIN 'Account Policy Plugin' )
Arg. This is the problem of using non-standard schema (both in Apple's
case and in our case). Both Apple and 389 defined the lastLoginTime
attribute, and unfortunately they are different.
I suppose you could just remove 60acctpolicy.ldif from your schema
directory if you want to use the Apple schema. But then you won't be
able to use the Account Policy Plugin to keep track of last login time
and account expiration.
389 users mailing list