Address book in Kolab admin webinterface: some entries not shown
Christian Rößler
Roessler at FuH-E.de
Mon Jan 5 15:52:19 CET 2009
Bernhard Reiter schrieb:
> On Montag, 5. Januar 2009, Christian Rößler wrote:
>> Christian Rößler schrieb:
>>> I have noticed some entries in the Kolab webinterface
>>> (https://my_kolabserver/admin/addressbook/) being not shown, e.g. the
>>> telephone an fax numbers, but are correctly stored in LDAP (and function
>>> perfectly eg. in Kontact).
>> Well, sorry, I forgot to mention version numbers etc.:
>> It's a kolabd-2.2.0-20080709, compiled from the sources, under openpkg.
>> OS: openSUSE 10.3 (i586).
> I've done a test with Kolab Server/OpenPKG 2.2-rc3 and 2.2.0
> and could create and change entries with all settings,
> so fax number and room number and so on were displayed and changed correctly
> afterwards.
This behaviour I also remember, of course...
> How did you fill the external tree?
I generated ldif's by bash script, and inserted them per ldapadd.
> Maybe there is some missmatch?
Perhaps. I have deleted all entries under cn=external,... and used my
script to generate a test entry. Here's the test ldif:
| dn: cn=testvor testnach,cn=external,dc=kolab,dc=fuhintern,dc=de
| objectClass: top
| objectClass: inetOrgPerson
| objectClass: kolabInetOrgPerson
| sn: testnach
| cn: testvor testnach
| givenName: testvor
| title: testtit
| mail: testtit at kolab.inv
| o: testorg
| ou: testorg-e
| roomNumber: 13
| street: Nirgendsstr. 13
| postOfficeBox: 12345
| postalCode: 79110
| l: Bleiburg
| c: DE
| telephoneNumber: 0761/12345678
| facsimileTelephoneNumber: 0761/87654321
...and this seems pretty standard to me, does it not?
This will be then be shown under 'Adressbuch verwalten', as it should.
If I click on 'verändern' (change?), I will get this (in php.lpg):
[05-Jan-2009 15:36:30] PHP Notice: Undefined offset: 1 in
/kolab/var/kolab/php/admin/include/ldap.class.php on line 370
[05-Jan-2009 15:36:30] PHP Notice: Undefined offset: 0 in
/kolab/var/kolab/php/admin/include/ldap.class.php on line 392
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: roomnumber in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 37
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: roomnumber in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 38
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: postofficebox in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 37
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: postofficebox in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 38
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: postalcode in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 37
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: postalcode in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 38
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: telephonenumber in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 37
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: telephonenumber in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 38
[05-Jan-2009 15:37:22] PHP Notice: Undefined index:
facsimiletelephonenumber in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 37
[05-Jan-2009 15:37:22] PHP Notice: Undefined index:
facsimiletelephonenumber in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 38
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: alias in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 41
[05-Jan-2009 15:37:22] PHP Notice: Undefined index: alias in
/kolab/var/kolab/www/admin/addressbook/addr.php on line 46
Please notice the first two lines with ldap.class.php...
If I, then, delete this entry per frontend, php.log says:
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: roomnumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: roomnumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: postofficebox in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: postofficebox in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: postalcode in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: postalcode in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: telephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: telephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: facsimiletelephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: facsimiletelephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: alias in /kolab/var/kolab/www/admin/addressbook/addr.php on line 41
> [05-Jan-2009 15:39:12] PHP Notice: Undefined index: alias in /kolab/var/kolab/www/admin/addressbook/addr.php on line 46
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: roomnumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: roomnumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: postofficebox in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: postofficebox in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: postalcode in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: postalcode in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: telephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: telephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: facsimiletelephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 37
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: facsimiletelephonenumber in /kolab/var/kolab/www/admin/addressbook/addr.php on line 38
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: alias in /kolab/var/kolab/www/admin/addressbook/addr.php on line 41
> [05-Jan-2009 15:40:41] PHP Notice: Undefined index: alias in /kolab/var/kolab/www/admin/addressbook/addr.php on line 46
> [05-Jan-2009 15:40:43] PHP Notice: Undefined variable: content in /kolab/var/kolab/www/admin/addressbook/addr.php on line 337
... and the entry stays, with "Eintrag gelöscht, warte auf
Aufräumaktion..." as long as I like. It inserts the
kolabDeleteflag: kolab.kolabserver-fqdn as it should. If I 'kill' the
entry per ldapdelete (by hand) it vanishes, of course. kolabd etc. is
running, by the way; ldap-slave also.
> If you appen to have a staging system with the same system,
> could you create a new LDAP addressbook entry and see if you get the same
> problem, if not, could you create the entries?
Well, this one is the staging system, so to say:). If I create
exactly the same entry by web frontend, everything goes perfectly 'into'
the LDAP, but all the other symptoms are the same.
Please let me know if I should give more info; I would gladly do so.
Thanks, and my best regards,
Christian
More information about the users
mailing list