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
 Want to stuff email account on register
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

hjp
Starting Member

5 Posts

Posted - 24 December 2003 :  14:07:03  Show Profile
Using: IIS 5.0, W2K, exchange 5.5, snitz 3.4 an NT auth
Any help on in which files and how to code this:

As the users email addresses are known I would like to stuff them automatically on user registration and prohibit the users of changing them.

Because of the NT Auth type the username is known, and also the DNS after the '@' tag is known from exchange setup. But I can't find the right places to make the changes.


Edited by - ruirib on 25 December 2003 06:28:43

Kal Corp
Average Member

USA
878 Posts

Posted - 26 December 2003 :  16:30:35  Show Profile  Visit Kal Corp's Homepage
I had to create a new ASP file to poll the exchagne server to get the users information and then pass if back to the Forums. When i get back to work next week i can post what i did for you.

The new file was created. because i was not able to use the users account to connect to exchagne from the server. i had to set the access on the file so that it use a ccount that had access to the Exchagne server to get the information. I dont know if you setup the same way but i will tell you what i did.

CYA


{VAS}-Kal Corp
VAS Development NetWork - Forums for old Snitz Mods!
Creator of all things {VAS}
Go to Top of Page

GPatt
Starting Member

Canada
9 Posts

Posted - 05 January 2004 :  18:21:33  Show Profile
I bypassed this by adding the following to Register.asp:


strSql = strSql & ", " & "'" & chkString(strDBNTUserName,"SQLString") & "@emailextension.com" & "'"

to replace the following (do a search and replace):
strSql = strSql & ", " & "'" & chkString(Request.Form("Email"),"SQLString") & "'"

This pushes every registration to their NTusername@emailextension.com.

Hope this helps!

Edited by - GPatt on 05 January 2004 18:22:20
Go to Top of Page

hjp
Starting Member

5 Posts

Posted - 06 January 2004 :  04:04:02  Show Profile
Thankyou - But when registering it is still needed to write in a valid E-mail address in the Register form.
How do I avoid this, so that users onlys have to write there user names.
I would like, that the email account is stuffed without user intervention.
Go to Top of Page

hjp
Starting Member

5 Posts

Posted - 12 January 2004 :  11:42:18  Show Profile
I did the myself. Tedeous work though.
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07