Author |
Topic  |
timd
Starting Member
United Kingdom
7 Posts |
Posted - 18 July 2002 : 04:46:58
|
Thanks Nikkol, I checked out Microsoft's documentation and (in theory) it looks not too difficult. Our problem is that although the intrnaet server is 2K, our PDC runs NT4, so as I understand it we can't use AD. What I need to do is to be able to connect directly to NDS....which I suppose is outside the scope of this particular topic 
|
 |
|
Nikkol
Forum Moderator
    
USA
6907 Posts |
Posted - 18 July 2002 : 05:37:32
|
You can't use Active Directory... however you can use Active Directory Services Interface and you don't need W2K for it, although it is installed on W2K by default. I use ADSI to query and manipulate our NT domain, so you should be able to do it on NDS. Just be sure that whatever machine is running the script (webserver or whatever) has ADSI installed.
Nikkol |
 |
|
purnhar
Starting Member
8 Posts |
Posted - 19 July 2002 : 02:38:31
|
quote:
Hi, i'm being thick as 2 planks on this. I can see the line... strSql = strSql & ", " & "'" & chkString(Request.Form("Email"),"SQLString") & "'"
But really don't know how to call the getademail function here. :-(
any help really would be appreciated. Adie
Just change the line to
strSql = strSql & ", " & "'" & chkString(getADEmail(),"SQLString") & "'"
Notice, that in my installation of snitz the users are automatically registered with their NT user. The rigister-form is never displayed. That's why the above change works.
Ralf
|
 |
|
AkulaSSN
Starting Member
6 Posts |
Posted - 26 July 2002 : 07:44:26
|
quote:
Just change the line to
strSql = strSql & ", " & "'" & chkString(getADEmail(),"SQLString") & "'"
Notice, that in my installation of snitz the users are automatically registered with their NT user. The rigister-form is never displayed. That's why the above change works.
Ralf
Ok, have included the inc_activedirectory.asp file, have changed the LDAP_STRING to fit my Active Directory & then have modified line 211 in register.asp with the above strsql line, but i end up getting ...
Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch: 'getADEmail' /test/dev/forums/register.asp, line 211
Any Idea's as to what i'm doing wrong?
|
 |
|
twin
New Member

78 Posts |
Posted - 30 August 2002 : 06:58:57
|
Hi,
is this working on Exchange 5.5, too ?
LDAP is working well with Exchange 5.5. When i use ldap://Exchangeserver, i get a list of objects i want.
My problem is, how can i implement this in your inc_activedirectory.asp ??
Please help Purnhar !!!! :-))
twin |
Edited by - twin on 30 August 2002 07:07:49 |
 |
|
purnhar
Starting Member
8 Posts |
Posted - 02 September 2002 : 02:53:11
|
sorry twin,
i can't help you with exchange 5.5. I'm myself searching for a solution for exchange 5.5. Perhaps you can modify inc_activedirectory.asp to get the correct fields from the exchange directory.
Unfortunately i don't have the time to investigate this topic any further at the moment.
Ralf |
 |
|
twin
New Member

78 Posts |
Posted - 02 September 2002 : 03:37:54
|
Thank you anyway purnhar :-)
I will wait for Kal Corp's Solution for this Problem (other Topic below)
twin |
 |
|
Topic  |
|