#177203 - 2007-06-23 05:52 PM
Create user share/folder
|
RyanSki
Fresh Scripter
Registered: 2007-01-10
Posts: 6
|
I am looking for something that will create the user/share folder when the login script executes. Please let me know your ideas.
Ah, you can move this to basic scripting. I didn't read before I posted =p
Edited by RyanSki (2007-06-23 05:54 PM)
|
|
Top
|
|
|
|
#177206 - 2007-06-24 05:23 AM
Re: Create user share/folder
[Re: Sealeopard]
|
oneill
Fresh Scripter
Registered: 2005-03-24
Posts: 27
Loc: Australia
|
What about sharing the root folder and deep mapping to the user's folder. e.g. D:\Users (Shared as "users") D:\Users\User1
map to \\server_name\users\user1
saves having to create all of those shares. One less step in the whole process and so much easier to maintain.
|
|
Top
|
|
|
|
#177245 - 2007-06-26 11:20 AM
Re: Create user share/folder
[Re: NTDOC]
|
oneill
Fresh Scripter
Registered: 2005-03-24
Posts: 27
Loc: Australia
|
The Point that I was trying to make is that by creating a share at the root of your directory structure, I usually create a hidden share so the users can't see it, means one less step you have to worry about, one less thing to go wrong.
If you are worried about users seeing other user's folders/shares then enable ABE (Access Based Enumeration) so they can't.
So what do you do if you have to migrate the server or move all of the user's home folders? This is where sharing the root directory really comes in handy, simply recreate the root share somewhere else and copy all of the user's folders.
If every user folder is shared, you have to un-share all of the folders and then re-create the shares, plus configure the share permissions. That is about 2 or 3 steps too many.
I know you can script this but why bother when you don't have to!
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 638 anonymous users online.
|
|
|