Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADSI General > Adding users fr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 5350 of 5423
Post > Topic >>

Adding users from multiple domains to a local group

by =?Utf-8?B?TGVv?= <Leo@[EMAIL PROTECTED] > Aug 1, 2008 at 07:19 AM

Environment: Web application adds users from multiple domains to a local 
group. The code that does this uses ADSI (WinNT provider) and runs in a
COM+ 
component using the identity of an account that is part of the local 
administrator group. Server is windows 2003. 

Issue:
   Set objAdsUser = GetObject("WinNT://" & sDomain & "/" & sUser)
   is returning -2147024843 (path not found).

The code that searches for the users before attemption the add is working 
properly and returning the list of users. It uses the LDAP provider. 

If I log in to the server using the same account as the one that the code 
runs under, I am able to select and add the users from that domain to a
local 
group using Computer Management. So it does not seem to be trust issues or

accessibility to the domain. Would anyone have an idea of what to look
for? 
Or perhaps how to code this feature, so that I won't run into this issue
and 
have it behave similar to Computer Management? 

Thanks
 




 3 Posts in Topic:
Adding users from multiple domains to a local group
=?Utf-8?B?TGVv?= <Leo@  2008-08-01 07:19:01 
Re: Adding users from multiple domains to a local group
"Richard Mueller [MV  2008-08-01 11:33:56 
Re: Adding users from multiple domains to a local group
=?Utf-8?B?TGVv?= <Leo@  2008-08-01 13:23:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 7:48:02 CST 2008.