yesterday I posted DBD::LDAP and Class::DBI situation, today I discovered something freakish ;-)
So, eventually I started thinking "Something must be wrong with data being sent to me".. and my assumptions seem to be correct.
Whenever the Netscape LDAP server sends values for an attribute which is an array (such as the objectclass attr of a person), the Class::DBI object (my MVG::User) is empty (I mean, all the correct keys are created, but they all have undef values). So I saved my ass by simply removing the objectclass attribute (from the __PACKAGE__->columns(All => qw//) ).
Of course, this is a workaround. What if this attribute is of importance to me?
So my question for today: how do we solve this? When I receive data in an array form from an OpenLDAP server, there are no problems.. only when the Netscape LDAP server sends one.
Anyhow... thanks! (also to the ones that helped me yesterday, much appreciated..)
to ask a question is a moment of shame
to remain ignorant is a lifelong shame
In reply to DBD::LDAP and Class::DBI situation, part 2 by insaniac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |