[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
FreeBSD problems
We are currently using openldap 2.0.11 linux in house to run our directory.
Our webhost is using openldap 2.0.11 on freebsd, when we try to add new
users to the ldap directory it returns an object class violation. There are
only a few lines dirrent in the schema files. I have include the diff -u of
the schema files below, along with the ldif we are importing.
Thanks
########## LDIF ###############################################
dn: uid=LisaY,ou=Woodstock,o=Media Brokers International, c=US
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
uid: LisaY
uidnumber: 560
gidnumber: 500
userpassword: PASSWORD
shadowLastChange: 11503
homedirectory: /home/LisaY
loginshell: /bin/bash
gecos: Lisa Yandel
st: Georgia
mail: LisaY@Media-Brokers.com
facsimiletelephonenumber: 770-516-9234
telephonenumber: 770-516-9234 x208
physicaldeliveryofficename: Woodstock
l: Woodstock
title: Account Executive
o: Media Brokers International
postalcode: 30189
ou: Sales
cn: Lisa Yandel
sn: Yandel
givenname: Lisa
street: 665 Molly Lane, Suite 150
#################### END ######################################
### SCHEMA DIFF ##########################################
diff -u /root/schema/krb5-kdc.schema /etc/openldap/schema/krb5-kdc.schema
--- /root/schema/krb5-kdc.schema Fri Jul 6 02:27:25 2001
+++ /etc/openldap/schema/krb5-kdc.schema Mon Jun 25 22:27:31 2001
@@ -96,7 +96,7 @@
attributetype ( 1.3.6.1.4.1.5322.10.1.10
NAME 'krb5Key'
DESC 'Encoded ASN1 Key as an octet string'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
attributetype ( 1.3.6.1.4.1.5322.10.1.11
NAME 'krb5PrincipalRealm'
@@ -112,7 +112,7 @@
objectclass ( 1.3.6.1.4.1.5322.10.2.1
NAME 'krb5Principal'
- SUP person
+ SUP top
AUXILIARY
MUST ( krb5PrincipalName )
MAY ( cn $ krb5PrincipalRealm ) )
diff -u /root/schema/krb5-kdc.schema.default
/etc/openldap/schema/krb5-kdc.schema.default
--- /root/schema/krb5-kdc.schema.default Fri Jul 6 02:27:25 2001
+++ /etc/openldap/schema/krb5-kdc.schema.default Mon Jun 25 22:27:31
2001
@@ -96,7 +96,7 @@
attributetype ( 1.3.6.1.4.1.5322.10.1.10
NAME 'krb5Key'
DESC 'Encoded ASN1 Key as an octet string'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
attributetype ( 1.3.6.1.4.1.5322.10.1.11
NAME 'krb5PrincipalRealm'
@@ -112,7 +112,7 @@
objectclass ( 1.3.6.1.4.1.5322.10.2.1
NAME 'krb5Principal'
- SUP person
+ SUP top
AUXILIARY
MUST ( krb5PrincipalName )
MAY ( cn $ krb5PrincipalRealm ) )
Only in /etc/openldap/schema/: redhat
############################################################
Thanks
Patrick Childers
PatrickC@Media-Brokers.com