Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have successfully written code against win32::netadmin that will create an AD group for me. I have a particular container in my AD which I want this group to be in. Is there a way to specify this or to move the group to the proper container after it is created?

Replies are listed 'Best First'.
Re: Win32 AD group creation puzzle
by Marza (Vicar) on May 15, 2002 at 22:35 UTC

    Not with NetAdmin. It only does group management on the level of adding/deleteing users, creating/deleting groups, etc.

    To change containers, you will probably need to look into Win32::OLE and Net::Ldap.

    You might even review ADSI.

    Wish I could offer more, but we have not migrated to AD yet. Soon very soon!