Differences between current version and predecessor to the previous major change of LDAPAddressBook.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Wednesday, June 29, 2005 2:00:42 pm | by IanMcDonald | |
Older page: | version 7 | Last edited on Monday, May 2, 2005 6:20:02 am | by IanMcDonald | Revert |
@@ -56,17 +56,17 @@
eg as __fix-ldif__ and run it (don't forget to __chmod a+x__):
# ./fix-ldif contacts.ldif
-The first substitution takes mail=(emailaddr) (Mozilla's DN) and replaces it with your own. The second removes the modify time, which a standard ldap add can't set.
+The first substitution takes mail=(emailaddr) ([
Mozilla]
's DN) and replaces it with your own. The second removes the modify time, which a standard ldap add can't set.
Then remove any givenName and sn blocks and use this:
# perl -pi -e '$_ .= "givenName: $1\n" . "sn: $2\n" if /^cn: \s+ (\w+) \s+ (.*)//x' contacts.ldif
''If this works (it should), it should be added to the script above.'' --AristotlePagaltzis
-''No, it doesn't. Afterwards my contacts.ldif was empty :-('' --SusanneWenz
+''No, it doesn't. Afterwards my contacts.ldif was empty :-('' --Susanne Wenz
Now import them in much the same way:
@@ -82,7 +82,7 @@
! 6. Caveats
* You will see a contact with "Department: Contacts". This is the OU; you can't do anything with this.
* If you try and create a user 'Foo', you will get a failure (Error adding card: Other error) which equates to "no sn: field in LDAP".
-* You shouldn't use the root DN - the next update will concern creating an LDAP user and giving them access to the contacts, but I might tie that into migrating all my system users to LDAP as well.
-* If you are trying to export address books from mozilla
to use via ldap
in mozilla
it might help to be aware of some bugs ..
-http://bugzilla.mozilla.org/show_bug.cgi?id=116692 this url
contains links to an official mozilla ldap schema
and a perl
script to help convert the current ldif export to conform with this schema
.
+* You shouldn't use the root DN - the next update will concern creating an [
LDAP]
user and giving them access to the contacts, but I might tie that into migrating all my system users to [
LDAP]
as well.
+* If you are trying to export address books from [Mozilla]
to use via [LDAP]
in [Mozilla]
it might help to be aware of some bugs ..
+http://bugzilla.mozilla.org/show_bug.cgi?id=116692 this [URL]
contains links to an official [Mozilla] [LDAP] [Schema]
and a [Perl]
script to help convert the current ldif export to conform with this [Schema]
.