A
augustf
Hi everyone,
In writing my Ruby LDAP application, I'm able (with activeldap) to
access any ldap attribute I need - except binary ones. user.uid, for
instance would get me the userid of the user. But user.jpegPhoto yields
binary rubbish.
The excellent documentation for active ldap
(http://ruby-activeldap.rubyforge.org/doc/) showed how to access a
userCertificate like so: user.userCertificate = {'binary' =>
File.read('example.der')} . I'm unable to replicate something
comparable for jpegPhoto. Anyone know how I can display the jpegPhoto
attribute properly?
In writing my Ruby LDAP application, I'm able (with activeldap) to
access any ldap attribute I need - except binary ones. user.uid, for
instance would get me the userid of the user. But user.jpegPhoto yields
binary rubbish.
The excellent documentation for active ldap
(http://ruby-activeldap.rubyforge.org/doc/) showed how to access a
userCertificate like so: user.userCertificate = {'binary' =>
File.read('example.der')} . I'm unable to replicate something
comparable for jpegPhoto. Anyone know how I can display the jpegPhoto
attribute properly?