Is it possible to approach this from another way? Do you have any access to
enrolled student data? If so, then it might be easier to delete students who
are no longer enrolled rather than try and work out those who haven't logged on.
I have a script that runs at regular intervals and pulls a listing of all
student accounts in the AD (and before someone starts worrying, yes, I do use
paging :-)) For each account I then run the function below which returns true
if the student is still enrolled and false if not. The web page it calls is on
a "public" server and it provides very basic info about the student or "N/A" if
they're not enrolled.
You obviously need someone in your student records section to provide you with
such a web page but it shouldn't be a big job for them to do and it then means
you can clear accounts for students who are regularly using the system but
shouldn't be! (We have an occasional problem with students who try to use the
college as a free "internet caf�"!)
Steve
function CheckStudent(id)
Set oXML = CreateObject("Msxml2.ServerXMLHTTP")
oXML.Open "GET", "http://server.cnwl.ac.uk/checkstatus.asp?id=" & id, False
oXML.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
oXML.Send
if oXML.responseText="N/A" then
CheckStudent=false
else
CheckStudent=true
end if
Set oXML = nothing
end function
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Garello, Kenneth
> Sent: 01 June 2005 14:05
> To: [email protected]
> Cc: Toro, Pedro; Poueriet, Jorge
> Subject: RE: [ActiveDir] lastlogontimestamp-
>
> David,
>
> After researching, I was unable to decipher what a "remote
> NTLM Authentication" is. Can you give me an example of this?
> I am trying to come up with an effective account deletion
> policy in a school with high turnover.
>
>
> Thanks,
>
> Ken
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/