Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Authentication: NT
 Active Directory and Snitz
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

timd
Starting Member

United Kingdom
7 Posts

Posted - 18 July 2002 :  04:46:58  Show Profile  Visit timd's Homepage
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

Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 18 July 2002 :  05:37:32  Show Profile
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
Go to Top of Page

purnhar
Starting Member

8 Posts

Posted - 19 July 2002 :  02:38:31  Show Profile
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

Go to Top of Page

AkulaSSN
Starting Member

6 Posts

Posted - 26 July 2002 :  07:44:26  Show Profile  Send AkulaSSN an ICQ Message
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?

Go to Top of Page

twin
New Member

78 Posts

Posted - 30 August 2002 :  06:58:57  Show Profile
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
Go to Top of Page

purnhar
Starting Member

8 Posts

Posted - 02 September 2002 :  02:53:11  Show Profile
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
Go to Top of Page

twin
New Member

78 Posts

Posted - 02 September 2002 :  03:37:54  Show Profile
Thank you anyway purnhar :-)

I will wait for Kal Corp's Solution for this Problem (other Topic below)


twin
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07