Answer the question
In order to leave comments, you need to log in
What is wrong in openldap + phpLDAPadmin setup when exporting contacts?
Good afternoon! We set the task to raise openldap + phpLDAPadmin. openldap installed from here , and the panel from here . Everything was installed and working. Groups and users were created. But then the task arose to export the "address book entry" to Vcard. I exported the entry without problems (end of the windows line), but when I opened the file, I did not find some attributes, such as phone numbers, address, postal code
BEGIN:VCARD
FN:Дмитрий Айткулов
ORG:Шериф Авто
UID:cn=Дмитрий Айткулов,ou=it,dc=centos,dc=com
VERSION:2.1
ADR:;;Array;Array;Array;;
END:VCARD
Answer the question
In order to leave comments, you need to log in
The LDAP protocol does not allow adding attributes that are not specified in the schema. Therefore, you either do not specify the necessary attributes when requesting, or you did not enter these attributes when importing.
First, make sure that the attributes you need are in the directory.
Export, for example, to LDIF and take a look.
If there are attributes, then I assume that phpldapadmin does not take for conversion those in which you store the corresponding data. If this is the case, then you will either have to transfer the data to the necessary attributes (I won’t say which ones, you need to dig the phpldapadmin code), or change the OpenLDAP configuration by setting overlay (man slapo-rwm), or write your own converter to VCARD.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question