[horde] Warning ldap_mod_add on appln pages

Niyati Dave niyati.dave at youtelecom.com
Thu Jul 17 08:38:16 UTC 2008


Hi all;

For this error i searched for my ldap error logs and access logs when i 
click on forwards, passwd and vacation

In access logs i get,.......
       [17/Jul/2008:13:28:12 +051800] conn=1212173 op=1 msgId=2 - SRCH 
base="o=iqaranew.net" scope=2 filter="(uid=test)" attrs="dn"
[17/Jul/2008:13:28:12 +051800] conn=1212173 op=2 msgId=3 - SRCH 
base="o=iqaranew.net" scope=2 filter="(uid=test)" attrs="hordePrefs 
forwardsprefs"
[17/Jul/2008:13:28:12 +051800] conn=1212176 op=0 msgId=1 - RESULT err=0 
tag=97 nentries=0 etime=0 dn="uid=test,o=iqaranew.net"
[17/Jul/2008:13:28:12 +051800] conn=1212176 op=1 msgId=2 - SRCH 
base="uid=test,o=iqaranew.net" scope=2 filter="(uid=*)" 
attrs="mailForwardingAddress"

[17/Jul/2008:13:30:26 +051800] conn=1213229 op=1 msgId=2 - SRCH 
base="o=iqaranew.net" scope=2 filter="(uid=test)" attrs="dn"
[17/Jul/2008:13:30:26 +051800] conn=1213229 op=2 msgId=3 - SRCH 
base="o=iqaranew.net" scope=2 filter="(uid=test)" attrs="hordePrefs 
vacationprefs"
[17/Jul/2008:13:30:26 +051800] conn=1213232 op=0 msgId=1 - RESULT err=0 
tag=97 nentries=0 etime=0 dn="uid=test,o=iqaranew.net"
[17/Jul/2008:13:30:26 +051800] conn=1213232 op=1 msgId=2 - SRCH 
base="uid=test,o=iqaranew.net" scope=2 filter="(uid=ndave)" 
attrs="mailReplyText deliveryMode"

[17/Jul/2008:13:31:28 +051800] conn=1213851 op=1 msgId=2 - SRCH 
base="o=iqaranew.net" scope=2 filter="(uid=test)" attrs="dn"
[17/Jul/2008:13:31:28 +051800] conn=1213851 op=2 msgId=3 - SRCH 
base="o=iqaranew.net" scope=2 filter="(uid=test)" attrs="hordePrefs 
passwdprefs"
[17/Jul/2008:13:31:28 +051800] conn=1213851 op=3 msgId=4 - SRCH 
base="o=iqaranew.net" scope=2 filter="(uid=test)" attrs="objectClass"
[17/Jul/2008:13:31:28 +051800] conn=1213851 op=4 msgId=5 - MOD dn="uid=test, 
o=iqaranew.net"


in my errors logs........
       [17/Jul/2008:13:14:55 +051800] - ERROR<5398> - Entry - conn=-1 op=-1 
msgId=-1 - Duplicate value addition in attribute "objectClass" of entry 
"uid=test, o=iqaranew.net"
      [17/Jul/2008:13:14:58 +051800] - ERROR<5398> - Entry - conn=-1 op=-1 
msgId=-1 - Duplicate value addition in attribute "objectClass" of entry 
"uid=test, o=iqaranew.net"
       [17/Jul/2008:13:14:59 +051800] - ERROR<5398> - Entry - conn=-1 op=-1 
msgId=-1 - Duplicate value addition in attribute "objectClass" of entry 
"uid-test, o=iqaranew.net"


The attributes "hordeprefs, impprefs and turbaprefs" are added in my ldap 
under the objectclass -- hordeperson, and this was working perfectly in 
horde 2.x version( in earlier i had passwd in "Accounts" where attribute 
accountsprefs appeared in log but i have not defined in ldap ) &  i hav 
installed now horde-3.x latest so seeing the access logs do i have to define 
this attributes of 'vacationprefs, passwdprefs and forwardsprefs' in my 
ldap???? Also i get the above error in error logs is it because of this 
error i  get below error on web page.....................? or is there any 
change required at horde config side??

        " Warning: ldap_mod_add() [function.ldap-mod-add]: Modify: Type or 
value exists in /usr/local/apache2/htdocs/horde/lib/Horde/Prefs/ldap.php on 
line 495"

pls can anybody throw  some light on this that is there any connection 
between these horde related attributes and this error ? i want to get rid of 
this warning on webpage so that i can put in prodn...


Regards
Niyati Dave
IDC, Youtelecom, Surat





----- Original Message ----- 
From: "Niyati Dave" <niyati.dave at youtelecom.com>
To: <horde at lists.horde.org>
Sent: Wednesday, July 16, 2008 4:00 PM
Subject: [horde] Warning ldap_mod_add on appln pages


> Hi all,
>
> I have installed horde latest version and i am geting the following error 
> on every applications index page like passwd, forward, vacation.
>
>
> Warning: ldap_mod_add() [function.ldap-mod-add]: Modify: Type or value 
> exists in /usr/local/apache2/htdocs/horde/lib/Horde/Prefs/ldap.php on line 
> 495
>
>
> This warning as far as i understand its trying to add objectclass or prefs 
> , but if it exists yhen why it is giving this warning and is there any way 
> to get rid off this warning message on the web page.
>
>
> Pls guide for this
>
> regards
> Niyati Dave
> IDC Surat, INDIA
> -- 
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
> 




More information about the horde mailing list