- priority: 5 --> 8
Hello!
I use IBM Directory server which is LDAP v3. It's works
with a lot of tools/applications without issue. I love
YALA .30 so I decided to try it with IBM LDAP.
I can add users and delete users perfectly. However, I
can't modify users or any objects. I even have a simple
object with one attribute..which I can create in YALA
but I can't modify it. This the only error I have with
YALA.
Below is a description of the errors I get when I click on
modify:
LDAP ERROR LOG:
Oct 04 18:28:06 2004 Entry uid=bigboy,o=cci violates
the schema definition.
YALA ERROR:
Notice: Undefined index: objectclass in
C:\Inetpub\wwwroot\yala\yala-0.30\main.php on line 370
Warning: in_array() [function.in-array]: Wrong datatype
for second argument in C:\Inetpub\wwwroot\yala\yala-
0.30\main.php on line 370
Notice: Undefined index: objectclass in
C:\Inetpub\wwwroot\yala\yala-0.30\main.php on line 370
Warning: in_array() [function.in-array]: Wrong datatype
for second argument in C:\Inetpub\wwwroot\yala\yala-
0.30\main.php on line 370
Notice: Undefined index: objectclass in
C:\Inetpub\wwwroot\yala\yala-0.30\main.php on line 370
Warning: in_array() [function.in-array]: Wrong datatype
for second argument in C:\Inetpub\wwwroot\yala\yala-
0.30\main.php on line 370
Notice: Undefined index: objectclass in
C:\Inetpub\wwwroot\yala\yala-0.30\main.php on line 370
Warning: in_array() [function.in-array]: Wrong datatype
for second argument in C:\Inetpub\wwwroot\yala\yala-
0.30\main.php on line 370
Notice: Undefined index: userpassword in
C:\Inetpub\wwwroot\yala\yala-0.30\main.php on line 370
Warning: in_array() [function.in-array]: Wrong datatype
for second argument in C:\Inetpub\wwwroot\yala\yala-
0.30\main.php on line 370
uid=bigguy,o=cci
ERROR 10 THE LDAP OPERATION FAILED: OBJECTCLASS
VIOLATION
AREA OF CODE WITH POSSIBLE BUG:
under # Create del_hash line 370 starts with if (!in_array
($ldap_v
for ($j = 0; $j < $ldap_values["count"]; $j++) {
if (!in_array($ldap_values
[$j], $post_vars[$attr])) {
if (!
array_key_exists($attr, $del_hash))
I have tried many things to get it work..like modifying
schema and turning off schema checking but I still get
this error. Either the write or delete part of the
modification does not work...if I had to guess I would
say it's the write part.
Thanks you are the best!!!