Page 1 of 1 1
Topic Options
#61601 - 2001-12-20 11:08 PM Off topic-Active directory on NT4 system
Alex.H Offline
Seasoned Scripter

Registered: 2001-04-10
Posts: 406
Loc: France
Guys,
As I'm actually playing with AD, i'll soon realease 3 InOU function
The first one will require SearchAD() UDF

Second is the same but independant (as i'm a good computer-user, i'm lazy and so prefer to have the indepedant one already done instead of taking the 2 functions to make only one if i don't want to use AdSearch )

Third will be based on Adsysinfo for NTx systems (everyone know about it, but as no one release an InOu with it, i'll write it into stone). For this one, i need to know if Adsysinfo is working without any "hack" on NT4 system with the Active Directory client installed. If anyone can test this script, i would be gratefull

code:

break on
; shawn's snippet

$sysinfo = createobject("adsysteminfo")
if $sysinfo
?"username=" $sysinfo.username
else
?"trouble"
endif
exit 1


Tya

Oh, if you want to try some AD stuff, drop me a mail

[ 20 December 2001: Message edited by: Alex.H ]

_________________________
? getobject(Kixtart.org.Signature)

Top
#61602 - 2001-12-21 03:34 PM Re: Off topic-Active directory on NT4 system
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Alex,

Sounds good.. However, we could also leverage alot of this information from the scripts at Win32 Scripting and specifically - Generate Report When Logging In. It does require conversion, but have been pretty painless. The only snag that I have run into is with the FreeSpace property in Kix. For example, Indentify Free Space.

You know what is funny, I started at topic that does some setting of user permissions on shares on 09 August 2001 - OFF TOPIC - Shawn can you review a WSH script for me?. This was done out of frustration as our WAN links were very slow using User Manager or Hyena and WSH and the resulting KIX Script afforded us the ability to create shares and set security on remote servers without having to use ACLS or XACLs.

Thanks!

- Kent

[ 21 December 2001: Message edited by: kdyer ]

[ 21 December 2001: Message edited by: kdyer ]

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#61603 - 2001-12-28 06:53 PM Re: Off topic-Active directory on NT4 system
Alex.H Offline
Seasoned Scripter

Registered: 2001-04-10
Posts: 406
Loc: France
For those that didn't notice yet, the InOU UDFs are here now in the UDF section
_________________________
? getobject(Kixtart.org.Signature)

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 271 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.053 seconds in which 0.021 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org