[turba] Problem to patch core.schema

eculp at encontacto.net eculp at encontacto.net
Fri May 16 10:03:51 PDT 2003


Quoting Julio Cesar Pinto <jc at ifx.com.co>:

| You're reason.
|
| I'm try to configure turba with ldap, the ldap is support MTA (qmail).
|
| I'm trying to configure it according to the described in
| /horde/turba/docs/LDAP including in the tarball of turba-1.2
|
| This file say.
|
| 2. Patch your core.schema file in the /etc/openldap/schema directory.

Boy did I show that I haven't read the docs in a while.  Thanks, you
taught me something.

You might want to apply it using # patch -l < core.schema.patch because
it did apply for me.  The -l ignores spacing issues.

I'm attaching another diff that has different spacing and will hopefully
apply.  If it doesn't you can change the three lines manually but  either
way let me know.

Hope this helps.

ed

|
| This patch is located in turba/scripts/ldap/core.schema.patch.
|
| NOTE: The patch adds the organizationName to the orgperson objectclass
| and removes the MUST sn to the person oc.
|
| Thanks,
|
| JC
|
| On Fri, 2003-05-16 at 11:32, eculp at encontacto.net wrote:
| > Quoting Julio Cesar Pinto <jc at ifx.com.co>:
| >
| > | Hi to all,
| > |
| > | I'm try to patch teh core.schema.
| > |
| > | My configuration is the following.
| > |
| > | turba-1.2
| > | apache-1.3.27-2
| > | php-4.3.1
| > | openldap-2.0.27-8
| > |
| >
| > I can try but I really don't understand the starting point here.  You are
| > patching the openldap core.schema with a patch file that I don't understand
| > the reason for applying or where it came from.  AFAIK, such a patch isn't
| > in the horde distribution but I haven't really looked.
| >
| > Julio, if you can share what problem you are solving maybe someone can help
| > or maybe someone else knows about the patch and what it solves.  I
| personally
| > don't.
| >
| > ed
| > --
| >
| >
| > -------------------------------------------------
| >
| >
| > --
| > Turba mailing list
| > Frequently Asked Questions: http://horde.org/faq/
| > To unsubscribe, mail: turba-unsubscribe at lists.horde.org
|
|
|


--


-------------------------------------------------

-------------- next part --------------
--- core.schema.org	Fri May 16 09:48:42 2003
+++ core.schema	Fri May 16 09:47:16 2003
@@ -368,15 +368,15 @@
 		postalAddress $ physicalDeliveryOfficeName $ st $ l $ description ) )
 
 objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL
-	MUST ( sn $ cn )
-	MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) )
+        MUST cn
+        MAY ( sn $ userPassword $ telephoneNumber $ seeAlso $ description ) )
 
 objectclass ( 2.5.6.7 NAME 'organizationalPerson' SUP person STRUCTURAL
 	MAY ( title $ x121Address $ registeredAddress $ destinationIndicator $
 		preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $
 		telephoneNumber $ internationaliSDNNumber $
 		facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $
-		postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l ) )
+                postalAddress $ physicalDeliveryOfficeName $ ou $ st $ l $ organizationName ) )
 
 objectclass ( 2.5.6.8 NAME 'organizationalRole' SUP top STRUCTURAL
 	MUST cn


More information about the turba mailing list