From: Glen Holcomb Date: 2007-07-21T02:23:07+09:00 Subject: Win32OLE problem ------=_Part_104282_8537373.1184952190505 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline When executing this code: adsi = WIN32OLE.connect("WinNT://TECHNO/ARDR_108,group") adsi.put("Add", "glen") I get the following error: WIN32OLERuntimeError: put OLE error code:8000500F in HRESULT error code:0x80020009 Exception occurred. from (irb):20:in 'method_missing' from (irb):20 from :0 It shouldn't be a permissions issue, the account I'm running this with is in Schema Admins, Domain Admins, etc... The group in question is a global security group but the account exists on the same domain. I haven't tried with other groups however it happens with other user accounts. Any insight would be much appreciated although I don't think it is of horrible importance at this point. I'm probably just going to by-pass Windows completely and do it with NET::LDAP. Just thought it was curious and it would make things simpler if I could get it to work this way. Thanks in advance, Glen -- "Hey brother christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_104282_8537373.1184952190505--