Error trying to add attribute to existing class

2012-04-05 Thread Prentice Bisbal
Dear Net::LDAPers, I'm using Net:LDAP to add/remove user accounts from LDAP. I've created a subroutine that adds the user to a group after their account is already created. I'm trying to add an additional MemberUID attribute to an existing posixGroup object. Here's my subroutine: sub ldap_add_gro

Re: Error trying to add attribute to existing class

2012-04-05 Thread Prentice Bisbal
Nevermind, list! I figured out what I was doing wrong. My code previous code was trying to add a new dn instead of modiying an existing one. A code sample in this presentation set me straight: http://ldap.perl.org/perl-ldap-oscon2001.pdf And then I realized that $group_dn wasn't being defined pro