Disclaimer: I am fairly new to clipper programming!
Summary: I have been tasked with porting a ten year old Clipper app from Novell to Windows Platform. The app makes a lot of use of the Novell bindery (Give me the members of this group; Give me the groups this member belongs to; etc). I am recreating the Novell groups and memberships in our Windows 2000 Active Directory environment and am working on a way to connect to AD.
Current Solution: I have created several VBScripts that make use of ADSI to connect to AD, take a GroupName as a parameter, and write the members to a text file. Within the Clipper app, I am using the "RUN" command to shell out and run the VBScript, then check the text file for the data. So far, it seems to work in the lab.
Help: What do you experienced programmers think of this approach? What kind of pitfalls can I expect with this solution?
Thanks.
Summary: I have been tasked with porting a ten year old Clipper app from Novell to Windows Platform. The app makes a lot of use of the Novell bindery (Give me the members of this group; Give me the groups this member belongs to; etc). I am recreating the Novell groups and memberships in our Windows 2000 Active Directory environment and am working on a way to connect to AD.
Current Solution: I have created several VBScripts that make use of ADSI to connect to AD, take a GroupName as a parameter, and write the members to a text file. Within the Clipper app, I am using the "RUN" command to shell out and run the VBScript, then check the text file for the data. So far, it seems to work in the lab.
Help: What do you experienced programmers think of this approach? What kind of pitfalls can I expect with this solution?
Thanks.