> The docs say string or array of strings. Tried it with :attributes => > [] > and I get the same error. I also tried reinstalling the gem but that > didn't > help. What gem are you using? ruby-net-ldap? via require 'net/ldap'? Might help to post more of your code so I can understand the whole picture of things... p entry.attrs is invalid as it isn't a method per'se... hence the NoMethodError. attrs is like you said a string or array of strings. It should be used via connection.add("dc=localhost, dc=localdomain", entry) Regards, - Mac -- Posted via http://www.ruby-forum.com/.