Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Home Directories 1

Status
Not open for further replies.

rthomas5

IS-IT--Management
Apr 27, 2001
54
US
Iv created a users directory on the server. I shared it out
as users$ because I want it to be a private share. I then go into user manager for domains and put the users into the system and for their home directory I put connect v: to
\\servername\users$\%username%
When the user logs on it maps a drive to v:\servername\users$ and when you click on the v drive you can see all of the users folders and will also have access to all the users folders. Where did I go wrong? I want it to map to \\servername\users$\username (john) and I want John to only have access to John.
I shouldnt have to manually put the permissions in should I?

Thanks in advance
 
In the logon script use :

net use v: /home /yes

This will map the drive according to what you setup in the User Manager for Domains.

Hope this helps,

Richard
 
I tried that and got the same thing. It mapped to \\computername\users$
I want it to map to \\computername\users$\john and im wanting john to be the only one who can get in his directory and vice versa for other users.
Where am I goin wrong? They are running workstaion with service pack 5. Im adding the users in user manager for domains and putting \\computername\users$\%username% in the connect to field. I shared out the users directory as users$. I went right by the book.
Thanks
 
Did you share the user's directory? ie Set share permissions for the "john" directory? I found that this was the only way to get NT to map to a specific directory. For some reason if a directory is not shared, NT won't map to it. It's a bit of a pain, but if anyone knows another way I would be glad to hear about it.

Richard

 
try sharing the drive as \\server\%username%$ instead.
I don´t know if you can use multiple steps like \\server\share\share
I know we don´t.

the access thing must be the cause of wrong permissions.
Do you have NTFS as filesystem?
if yes. make sure that only administrator and the appropriate user have access to each %username% share by right-clicking each directory choose properties and then security
default, everyone has full control (stupid isn´t it?)

don´t forget to share each directory you want a user to use. As Richard suggests. /Sören
 
I've been using NTSec from pedestal software recently for this sort of stuff - it's a set of command line utilities that perform a useful set of security functions remotely.

They incorporate nicely into batch files along with the resource kit utilities for this sort of task.
 
Here is what I came up with. It is NTFS by the way.
Create a users directory. share it as users$ then create the users and the home directories using %username%
ie \\servername\users$\%username%
This creates (we will say John's) folder under the users folder. THEN manually go into the folder and share it out as john$ or john and assign the appropriate permissions
at the folder. When John logs on it maps to \\servername\john$ and works great. The only reason I shared out users$ is so I would have a central place to manage all the folders.
If anybody has a better way feel free to let me know.
Thanks for the help!

 
Correct me if I'm wrong but you can't map a sahre WITHIN a share! If USERS$ = E:\Users then create a share for John as JOHN$ = E:\Users\John$. Now in UsrMgr4Dom be sure to type \\ServerName\%username%$ in the Home Directory field in the User's Profile Environment. ONLY if you populate this field can you use the '/home' parameter when mapping a drive letter. i.e. net use U: /home
Now don't forget to change permissions in BOTH the share and the folder giving Full Cotrol to the user (and Domain Admins) ONLY, removing the annoying 'Everyone,Full Conrol' permission. [tt]Be a lateral thinker![/tt]
If you always do, what you always did​

[tt]Think outside the box[/tt]
You'll always get, what you always got!!
 
M$ has a knowledgebase item that suggests using Rmtshare.exe from the Resource Kit to create a batch file which will speed the process of sharing the user's drives. I tried it and it doesn't work and gives no indication of why not. Has anyone else attempted that route? I will probably manually share each user directory and then map to it manually from the user PC. Luckily I'm only talking 50 -60 users.

I let them talk me into an NT network for future integration with the larger organization, and every day I ask myself why. Things I took for granted in Netware (e.g. Map Root) require hours of work to fashion a crude workaround, which probably won't work in the next version.

HCEONETMAN
 
All i do is create a shared directory (userdata) and under home directory in User Manager for Domains select P: or whatever drive you want, and type in \\servername\username$

I also put in the login script net use P: /home

After that I physically add domain admins right to everyones folder because the turn over here is high unfortunately......


 
Actually I forgot above \\servername\userdata\username$
not \\servername\username$



 
all I did was manually create the users home directories and
shared them out to the user and myself and shared them as
username$ so it would be a privat share. I put all the folders under the "users" directory that I created.
Then when I added the users and just put their home directory as v: \\servername\username$... I also shared out the "users" directory as users$ and I map to there so when I open it up I see all the users and can do my backups from there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top