Groups > Novell > Novell ActiveX > Re: What Do I NEED?




What Do I NEED?

What Do I NEED?
Thu, 24 May 2007 14:19:24 GMT
Hi there,
I am new to this, I need to write a vbscript that will ton on a windows XP
machine, the script needs to take a username,see if that ser is a meber of
a group.
I need to perfrom the check against edirectory and thus far have no clue
which library or activeX control i need.
So any help is deeply appriciated and as you call tell i am a novice at this.

Many thanks

Post Reply
Re: What Do I NEED?
Tue, 03 Jul 2007 20:16:24 GMT
Not sure what you mean by "ton on" but the edirectory side of what you
ask
is possible.
3 obvious options.
NDAP:
http://developer.novell.com/documentation/activex_ndap/index.html?page=/ndk/
doc/activex_ndap/ocx_ndap/data/hozxxylw.html
LDAP:
http://developer.novell.com/documentation/activex_ldap/index.html?page=/ndk/
doc/activex_ldap/ocx_ldap/data/hozxxylw.html
C# LDAP
http://forgeftp.novell.com//ldapcsharp/docs/cnet.pdf 

And don't forget that edirectory speaks ldap, so theoretically you could
navigate this problem using pure ldap.

Having said that, I mainly use the NDAP controls.
The NW Session object handles authentication, but it is a little bit
trickier than the others to use.
The NW User Group Object makes dealing with users and groups easy.
The Directory Control object is also helpful for what you're describing.
Between the newsgroups (groups.google.com) and novell's example code, you
should be able to find some usefull examples.

A sideways approach could be
1) Ldap their account/password and see if it works.
2) If it does, grab the group with the group object and flip through the
membership list and see if their account is on the list.

These libraries are a bit intimidating and at times not well documented, but
if you start with basic stuff like "this program authenticates" and
"I'm
ldapping their last name" you get used to it pretty fast.  

Those are my thoughts, hope it helps. 
- Bob

>>> On 5/24/2007 at 9:19 AM, in message
<M9h5i.6135$Gp4.3206@prv-forum2.provo.novell.com>,
<the-A@nospam.com>
wrote:
> Hi there,
> I am new to this, I need to write a vbscript that will ton on a windows 
> XP
> machine, the script needs to take a username,see if that ser is a meber 
> of
> a group.
> I need to perfrom the check against edirectory and thus far have no clue
> which library or activeX control i need.
> So any help is deeply appriciated and as you call tell i am a novice at 
> this.
> 
> Many thanks
> 
Post Reply
about | contact