|go ahead... be a heretic|
Updating a binary value in Net::LDAPby wardmw (Novice)
|on Dec 31, 2012 at 13:50 UTC||Need Help??|
wardmw has asked for the
wisdom of the Perl Monks concerning the following question:
Good day all,
I have been banging my head on this problem for some time now, have searched the Internet for solutions but I can find nothing so I turn to you, who know all (well, most) concerning Perl.
I have a list of IP addresses, @mynets, and I want to store them in an LDAP database using the Net::LDAP module. The attribute that this list will be stored in is a binary one as the contents of the attribute are downloaded to a flat file by a different tool.
How do I add/update a binary value with the contents of a list using Net::LDAP? I have tried:
but it fails as it thinks I am trying to add multiple values to 'filestore'. Any ideas or suggestions as to other ways to do it?