Re: openldap + kmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-04-23 at 14:52 +0100, Timothy Murphy wrote:
> Is anyone successfully using openldap to maintain an address book?
----
sure - lots of them
----
> As far as I can see, if you save kaddressbook data in LDIF format,
> the resulting file has to be extensively modified
> before it becomes acceptable to openldap.
> 
> Eg the DN of a typical entry in the LDIF file reads
>         dn: cn=Andrew Ryan,mail=aryan27@xxxxxx
> which openldap certainly will not like.
----
it's not openldap that *wouldn't like this* - it's that there is nothing
that says that an ldif file that program X creates in an 'export'
operation will match up to the restrictions imposed by your LDAP
setup...which is generally the case.

all you need to do is to figure out a way to edit (sed/awk/perl/?) this
ldif in a way that matches your setup so that you can import these
things without a problem.

for example... 
while this isn't likely to work...
  dn: cn=Andrew Ryan,mail=aryan27@xxxxxx
this could conceivably work...
  dn: cn=Andrew
Ryan,mail=aryan27@xxxxxx,ou=AddressBook,dc=gayleard,dc=org
----
> What puzzles me about this is that the issue must be one
> which occurs to many people.
> How is one meant to keep a "global" address book under Fedora?
----
Well, since Kmail is a 'write' capapble LDAP client, it is possible to
simply create an empty LDAP 'organizationalUnit' for an address book and
add entries directly via Kaddressbook. This of course insists that you
comport with specific rules such as entries that absolutely require an
'sn' attribute (last name), etc.
----
> Incidentally, the KMail handbook claims that there is some way
> of using MySQL with the address book,
> but I have never seen any explanation of how to do this.
----
I can't help you there...never tried

Craig

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux