search for samaccountname

2006-10-25 Thread bubslg
r->{'description'}, \n"; Is there any way to apply some type of filter like &(objectCategory=user)(objectClass=user)(samaccountname=bubslg) to this query? Or is there a better way to query for an object that matches a specific logonid.samaccountname? Any ideas would be greatly appreciated.

Re: search for samaccountname

2006-12-05 Thread bubslg
Thanks for all the suggestions. I did find a little snippet that seems to do what I want, however, it seems to have problems returning, or printing anyway, multiple attributes. I only seem to get the first attribute. Any ideas? my $strBase= ";"; # BaseDN should be the search base my $str

OLE exception - table does not exist

2006-12-08 Thread bubslg
OK, I've got this chunk of code that is importing a bunch of user data into SQL. Part of the process is to pull some user infromation from active directory. This prcess works fine for 12,000 to 16,000 iterations, then I get this: OLE exception from "Provider": Table does not exist. Win32::OLE(