in reply to Re: Perl + Active Directory
in thread Perl + Active Directory

I've seen these reasources before. They only seem to deal with OUs and not Windows Groups.

logically, "Domain Guests" should be along the lines of:
LDAP://OU=Users,OU=Domain Guests,DC=mydomain,DC=com

Windows returns that it is not a valid object. But that does not really make sense anyway, since the OU I want them in is "Public Workstations", which they are being added to as expected, and not the OU "Domain Guests".

I thought the information in this node might do what I want, but, again, it can't find "OU=Domain Guests" or "OU=Users,OU=Domain Guests" as a valid object. http://www.perlmonks.com/index.pl?node_id=239874

as a side note, the group they are entered into by default "Domain Users" can not be found via the methods I used to find "Domain Guests" either.

Replies are listed 'Best First'.
Re: Re: Re: Perl + Active Directory
by Mr. Muskrat (Canon) on Jun 25, 2003 at 16:26 UTC

    It's a shot in the dark but it may work:
    "LDAP://CN=Public Workstations,OU=Domain Guests,DC=domain1,DC=domain2,DC=domain3"