Author |
Topic  |
Kal Corp
Average Member
  
USA
878 Posts |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 31 August 2000 : 03:02:56
|
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> |
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 01 September 2000 : 07:52:49
|
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. |
 |
|
cy
Starting Member
Singapore
22 Posts |
Posted - 29 September 2000 : 04:18:45
|
<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.
|
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 29 September 2000 : 10:16:36
|
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> |
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 07 October 2000 : 14:52:59
|
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? |
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 15 October 2000 : 19:44:16
|
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 |
 |
|
Reinsnitz
Snitz Forums Admin
    
USA
3545 Posts |
Posted - 16 October 2000 : 17:08:21
|
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> |
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 17 October 2000 : 18:17:36
|
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> |
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 17 October 2000 : 21:20:01
|
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 |
 |
|
cy
Starting Member
Singapore
22 Posts |
Posted - 22 October 2000 : 05:15:31
|
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 ?
|
 |
|
cy
Starting Member
Singapore
22 Posts |
Posted - 22 October 2000 : 05:23:32
|
Kal,
Found another bug.
The user can remove his/her own post(s).
|
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 22 October 2000 : 14:18:33
|
<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 |
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 22 October 2000 : 14:23:01
|
<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 |
 |
|
Kal Corp
Average Member
  
USA
878 Posts |
Posted - 22 October 2000 : 14:26:52
|
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 |
 |
|
cy
Starting Member
Singapore
22 Posts |
Posted - 24 October 2000 : 09:45:46
|
<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.
|
 |
|
Topic  |
|