Page 1 of 1 1
Topic Options
#3437 - 2000-07-06 06:06 PM Help the Newbie - Access to Directory question
Anonymous
Unregistered


I have just started using KixTart and by reading through the manual and the BB I have got the logons working can do simple mapping and so forth. I have a question which may be completely stupid I don't know. We use Nt with about 35 Win95 clients. I have been asked if it possible to only allow access to certain directories and sub-dir. through the logon scripts. so for example the script would allow mapping to a certain subdir but not the root dir. I know I could set the permissions individually through NT but is it possible to do it in the scirpt. If INGROUP then 'map to ...' - sort of thing.
Any help would be very much appreciated

Top
#3438 - 2000-07-06 09:19 PM Re: Help the Newbie - Access to Directory question
BoxKite Offline
Da Box
*****

Registered: 2000-05-17
Posts: 282
Loc: Vacaville,CA,USA
Everyone has their own way of doing things. Reason; they are most familiar with their specific needs. To that end, I'm going to give you some of my tips. Are my tips better than other people's tips, no, but it works for me.

1. Don't give permissions to individuals. Use groups. It's easier to manage.
2. Assign permissions to shares, and give the group permission to the share. When you create a share, make it hidden. How, put a Dollar sign ($) on the end. This way a person without mappings will see nothing. Use Kixtart to map the share:

code:
$life_virus = 0
select
case ingroup("sales")
$life_virus = 1
if @inwin = 2 ;Procedure for Win 95
use G: \\server-fs1\VOL1" ;share is not hidden, everyone can see
use H: "\\server-fs1\common$"
use U: "\\server-fs1\@userid$"
if ingroup("server abss users")
use M: "\\server-fs1\abss$"
endif
if ingroup("server super gp")
use k: "\\server-lax\netlogon"
use l: "\\server-fs1\VOL3$"
use j: "\\server-fs1\netlogon"
use Q: "\\server-fs1\VOL2$"
use X: "\\server-fs2a\export$"
if @userid = "madman"
use W: \\server2\serverdir ;share not hidden, but only I mapped, only I see
endif
endif
if ingroup("server rcaps")
use e: /d
use e: "\\server-fs1\rcaps$"
endif
if ingroup("server estdc")
use j: "\\server_cd_tower\d$"
use k: "\\server_cd_tower\e$"
endif
if ingroup("server cbt")
use n: "\\server_cd_tower\h$"
use o: "\\server_cd_tower\i$"
use p: "\\server_cd_tower\j$"
endif
else ;Procedure for Win NT
use G: "\\server-fs1\VOL1" /PERSISTENT
use H: "\\server-fs1\common$" /PERSISTENT
if ingroup("server abss users")
use M: "\\server-fs1\abss$" /PERSISTENT
endif
if ingroup("server super gp")
use k: "\\server-lax\netlogon" /PERSISTENT
use l: "\\server-fs1\VOL3$" /PERSISTENT
use j: "\\server-fs1\netlogon" /PERSISTENT
use Q: "\\server-fs1\VOL2$" /PERSISTENT
use X: "\\server-fs2a\export$" /PERSISTENT
if @userid = "madman"
use W: "\\isxdmtweb1\server" /PERSISTENT
endif
endif
if ingroup("server rcaps")
use e: /d
use e: "\\server-fs1\rcaps$" /PERSISTENT
endif
endif
if ingroup("server estdc")
use j: "\\server_cd_tower\d$" /PERSISTENT
use k: "\\server_cd_tower\e$" /PERSISTENT
endif
if ingroup("server cbt")
use n: "\\server_cd_tower\h$" /PERSISTENT
use o: "\\server_cd_tower\i$" /PERSISTENT
use p: "\\server_cd_tower\j$" /PERSISTENT
endif
endselect

3. Now that you have made the decision to use assign permissions to groups you can make this job easier by creating templates to automatically add users with appropriate groups. I have 6 templates. Every time you need to create a user you use UserManager and highlight the appropriate template, then press "F8" to bring up a blank template to use for the new user.

Well, that's my two cents

Luck

I did some work on another post that may help you. Check it out:
http://kixtart.org/board/Forum1/HTML/001043.html

------------------
BoxKite
FACTA NON VERBA

[This message has been edited by BoxKite (edited 08 July 2000).]

_________________________
Box
FACTA NON VERBA

Top
#3439 - 2000-07-08 02:43 AM Re: Help the Newbie - Access to Directory question
BoxKite Offline
Da Box
*****

Registered: 2000-05-17
Posts: 282
Loc: Vacaville,CA,USA
-
_________________________
Box
FACTA NON VERBA

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 302 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.05 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org