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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: NT Global Groups for Private Forum access
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Kal Corp
Average Member

USA
878 Posts

Posted - 10 August 2000 :  22:45:06  Show Profile  Visit Kal Corp's Homepage
Mod Name: NT Global Groups

Status:
Completed - Waiting Bugs

Demo:
Here is a test of 3.1 sr2 with this Mod
http://vasserver.dyndns.org/Forums_2000/V3.1SR2nt/default.asp

Test accounts
Name - Password - server - Groups

admin - admin - vas-server
test - test - vas-server - testgroup1
test2 - test2 - vas-server - testgroup1, testgroup2

Files or Code:
Current Code as of 10/22/00 from Baseline from 3.1 sr2

admin_home.asp
http://vasserver.dyndns.org/Forums_2000/mods/NTGroupMod/admin_home.txt
admin_config_NT_features.asp
http://vasserver.dyndns.org/Forums_2000/mods/NTGroupMod/admin_config_NT_features.txt
Post.asp
http://vasserver.dyndns.org/Forums_2000/mods/NTGroupMod/Post.txt
inc_functions.asp
http://vasserver.dyndns.org/Forums_2000/mods/NTGroupMod/inc_functions.txt
Config.asp
http://vasserver.dyndns.org/Forums_2000/mods/NTGroupMod/Config.txt

Database Update:
This Mod requires one update to the Database.
Forum.F_PASSWORD needs to be Bumped up to 255 Char’s to handle all the NT Group Names.


Comments:
NT Auto Logon Mod in final testing Please check it out

Edited by - kal corp on 23 October 2000 23:19:40

gor
Retired Admin

Netherlands
5511 Posts

Posted - 31 August 2000 :  03:02:56  Show Profile  Visit gor's Homepage
Kal Corp,

I took a look at the code, and have got a question:

Am I correct in assuming that this code in your <b>config.asp</b> only works on W2K and IIS5 or NT4 with the ADSI extensions installed ?
<pre id=code><font face=courier size=2 id=code>
'#################### NT Group Update #############################################################
if strAuthType= "nt" then strNTUser = Request.ServerVariables("AUTH_USER")
strNTUser = replace(strNTUser, "\", "/")
Set NTUserINFO = GetObject("WinNT://"+strNTUser)
For Each NTUserINFOGroup in NTUserINFO.Groups
NTGroupSSTR=NTGroupSSTR+", "+NTUserINFOGroup.name NEXT
NTUserFullName=NTUserINFO.FullNameend if
'#################### NT Group Update #############################################################
</font id=code></pre id=code>


<b>Pierre Gorissen </b><img src="http://www.homepages.hetnet.nl/~pgoris01/burnout.gif" border=0>
<font color=purple><font size=1>A fool learns from experience... a wise man learns from others...</font id=size1></font id=purple>
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 01 September 2000 :  07:52:49  Show Profile  Visit Kal Corp's Homepage
I tested on W2K and NT4-IIS 4.0.

I dont know if the ADSI extensions was installed on the NT4-IIS 4.0 system. I did not install it. But I will check.
Go to Top of Page

cy
Starting Member

Singapore
22 Posts

Posted - 29 September 2000 :  04:18:45  Show Profile
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I took a look at the code, and have got a question:

Am I correct in assuming that this code in your <b>config.asp</b> only works on W2K and IIS5 or NT4 with the ADSI extensions installed ?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I've verified that ADSI is needed to get this mod to work.

Because i've NT4.0 & II4.0 and the mod does not work. After i've installed ADSI, it works perfectly fine.

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 29 September 2000 :  10:16:36  Show Profile  Visit gor's Homepage
Is there a workaround so systems without ADSI (I guess most NT 4 systems don't have ADSI installed) can still use this in some form ?

<b>Pierre Gorissen</b>

<font color=blue><font size=1>Experience is that marvelous thing
that enables you to recognize a mistake when you make it again.
</font id=blue></font id=size1><font size=1><font color=black>F.P.Jones</font id=size1></font id=black>
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 07 October 2000 :  14:52:59  Show Profile  Visit Kal Corp's Homepage
I dont think so. The forum would not be able to detect the members groups.

Might be able to Check for "nt" then check if ADSI is working then give options for NT global Groups. How does that sound?
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 15 October 2000 :  19:44:16  Show Profile  Visit Kal Corp's Homepage
This mod just need the ADSI checking or a ON/OFF option. Also I want to wait until the "Better db nt mod" is in place first
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 16 October 2000 :  17:08:21  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
how hard would it be to check if the feature is installed on NT?

<center>Reinsnitz (Mike)
<font color=red>><)))'></font id=red>

<font color=green>Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make your path straight.
-- Proverbs 3:5-6</font id=green></center>
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 17 October 2000 :  18:17:36  Show Profile  Visit Kal Corp's Homepage
Now that "Better NT Speed/Migration Support" is part of the 3.1 sr1 <img src=icon_smile_big.gif border=0 align=middle>

I will using this as a baseline for the "NT Group Mod"

This will also include a configuration for the admins to turn on auto registration.

<b>Hows does this sound?</b>
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 17 October 2000 :  21:20:01  Show Profile  Visit Kal Corp's Homepage
Completed adding the Mod to 3.1 sr2, Looks good.

Admin Config now has options for NT groups (On/OFF)
If the forum is set to "nt" then these options will be seen in the "Feature Configuration
"
Also all the code will use these settings. The "Auth Type" when selecting the access for forums will only show NT group, and NT Group (Hidden) if NT Groups are turned on.

I still need to add in Auto NT Registration. But I can do it until Monday.

Here is a test of 3.1 sr2 with updates
http://vasserver.dyndns.org/Forums_2000/V3.1SR2nt/default.asp

<font color=red><b>Test accounts</b></font id=red>
<b>Name - Password - server - Groups</b>
admin - admin - vas-server
test - test - vas-server - testgroup1
test2 - test2 - vas-server - testgroup1, testgroup2

When changing the access place the group names in the "Password or Global Groups:" field. With ", " between them
<b>Examples</b>
testgroup1
<b>or</b>
testgroup1, testgroup2

<font color=green><b>Please see first post for more Info</b></font id=green>

Edited by - kal corp on 22 October 2000 14:33:44
Go to Top of Page

cy
Starting Member

Singapore
22 Posts

Posted - 22 October 2000 :  05:15:31  Show Profile
Kal,

It looks pretty good.

However, when i logged in as Test2 as did a search, it shows the postings from user Test although i was denied the rights to read.

Perhaps the Search shld not show posts which that user is not a member of that NT group ?

Go to Top of Page

cy
Starting Member

Singapore
22 Posts

Posted - 22 October 2000 :  05:23:32  Show Profile
Kal,

Found another bug.

The user can remove his/her own post(s).

Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 October 2000 :  14:18:33  Show Profile  Visit Kal Corp's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Kal,
Found another bug.
The user can remove his/her own post(s).
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

This bug Is in the 3.1Sr2 Code.

I have a fix here @ http://forum.snitz.com/forum/topic.asp?TOPIC_ID=1468&FORUM_ID=11&CAT_ID=1
Thanks
cy
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 October 2000 :  14:23:01  Show Profile  Visit Kal Corp's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Kal,
It looks pretty good.
However, when i logged in as Test2 as did a search, it shows the postings from user Test although i was denied the rights to read.
Perhaps the Search shld not show posts which that user is not a member of that NT group ?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Found it <img src=icon_smile_shock.gif border=0 align=middle>, A Rem ' was on the line for the "case else". This was setting function chkForumAccess to be true all the time if User was not in the Group.

Thanks Again
cy


Edited by - Kal Corp on 22 October 2000 17:36:10
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 October 2000 :  14:26:52  Show Profile  Visit Kal Corp's Homepage
I believe that is all the code needed for this Mod.
Everything can be found on the first Post.

Anyone is welcome to testing and post Info.

I will now be working on the NT - Auto Register Mod and the Sub Categories Mod

Thanks for the help everyone

Edited by - kal corp on 22 October 2000 14:27:23
Go to Top of Page

cy
Starting Member

Singapore
22 Posts

Posted - 24 October 2000 :  09:45:46  Show Profile
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Has anyone used this?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I was trying out your previous version on ver 3sr2 on our staging server. Didn't really put into production as i was hoping that it would be incorporated in ver 3.1.

Will this mod work with 3sr2 or do i need to upgrade to 3.1sr2 ?

Maybe i shld just dl 3.1sr2 and use this mod on the staging server to try out.



Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next 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 1.61 seconds. Powered By: Snitz Forums 2000 Version 3.4.07