google-code-export / ruby-activeldap

Automatically exported from code.google.com/p/ruby-activeldap
Other
1 stars 1 forks source link

Unable to get ActiveLdap collection to display in xml. #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Basic setup of LDAP and ActiveLdap installed
2.
3.

What is the expected output? What do you see instead?

Expected:
>> @machines.to_xml
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<machines 
type=\"array\">\n<machine><dn>cn=host.domain.com,cn=machines,dc=lab-
odmst,ou=ecs,o=<domain></dn>\n  <cns type=\"array\">\n    
<cn>host.domain.com</cn>\n  </cns>\n</machine>\n........</machines>\n
>> @machines.size
=> 20

Actual:
>> @machines.to_xml
=> "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<machines 
type=\"array\">\n</machines>\n"
>> @machines.size
=> 20

What version of the product are you using? On what operating system?
1.0.9 on Darwin 10.5

Please provide any additional information below.

Original issue reported on code.google.com by ache...@gmail.com on 15 Jun 2009 at 6:50

GoogleCodeExporter commented 9 years ago
Thanks for reporting.
I've supported it in trunk.

Original comment by kou...@gmail.com on 22 Jun 2009 at 12:41