Announcement

Collapse
No announcement yet.

Creating home directories without sharing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating home directories without sharing

    I would like to take advantage of Win2K Clutser Server's ability to automatically share out the folders under the Users directory, while still using Hyena to set up the folder and the security. How can I set Hyena to create the folder, apply security and launch a batch file, WITHOUT trying to share out the folder?

  • #2
    Re: Creating home directories without sharing

    You can do this using Hyena's Home Directory Template function under Tools->Settings->Home Dir.

    You will only need to fill out the left side of the Template Definition dialog. The New Home Directory Mask will be in the form of \\server\share\%username% to tell Hyena where to create the directory.

    For the batch file you can just enter the name and location of the file in the After creating home directory, run box at the bottom.

    Comment


    • #3
      Re: Creating home directories without sharing

      Well, that kind of works, except now I'm stuck with a path in the account of "\\servername\sharename\username", which defeats the purpose of sharing out the user's directory to begin with. Is there a cleaner way?

      Comment


      • #4
        Re: Creating home directories without sharing

        This should work for you:

        In the Template Definition, change the New Home Directory Mask to the format you want of \\server\%username%, and on the right side fill in the Share Directory Remote Mask information ONLY. This would be something like \\server\d$\users\%username%.

        Set the NTFS Security Settings on the left side to the way you want them.

        Save this and try creating a new user.

        Comment


        • #5
          Re: Creating home directories without sharing

          Excellent...that does the trick. Thanks! BTW: I love this product!

          Comment


          • #6
            Re: Creating home directories without sharing

            I'm having the same problem as above but the fix doesn't work for me. It doesn't give me any errors either. Hyena creates the home drive and does the permissions but the share doesn't get created like it should (it's also a cluster server). Any ideas?

            Thanks!

            Tracie

            Comment


            • #7
              Re: Creating home directories without sharing

              Tracie, are you using the advanced properties of the Cluster service to create the share? The way mine is set, there is a USERS$ share as a cluster resource, and in the advanced tab (in Cluster Admin), that share is set to automatically share all subdirectories as hidden shares.

              Comment


              • #8
                Re: Creating home directories without sharing

                I believe so. I found that it worked for me if I filled in the remote AND local paths under 'Share Directory Masks'. I left the security settings blank. Is it ok to do that? Isn't that making Hyena create the share rather than the cluster server?

                Tracie

                Comment


                • #9
                  Re: Creating home directories without sharing

                  Sorry that we (SystemTools) can't help with this particular problem if Cluster Server is involved, as we don't have a configuration here for Cluster Server, and we know that it acts differently when shares are involved.
                  Kevin Stanush
                  SystemTools Software Inc.

                  Comment


                  • #10
                    Re: Creating home directories without sharing

                    Tracie, It sounds like your cluster share is not actually set up to share directories. Check out Microsoft Knowledgebase article Q256926.

                    If you have the share set that way, then the info in this thread does work (we use it on 2 different clusters with no issues)

                    Comment


                    • #11
                      Re: Creating home directories without sharing

                      When we create the home drives manually the cluster server creates a hidden share automatically. I haven't had much time to play with it lately so we're just not using Hyena for the cluster servers right now.

                      Did you get yours to work by just filling in the Remote mask?

                      Comment


                      • #12
                        Re: Creating home directories without sharing

                        Yes. Leave the Share Directory Local Mask blank, but fill in everything else as you normally would.

                        Comment


                        • #13
                          Re: Creating home directories without sharing

                          I finally got it working now that I've had some free time. After trying every possible combination I ended up having to put in the local AND remote masks to get them to work -on both our clusters! Go figure.
                          Local Mask is y:\users\%username%
                          Remote Mask is \\server\users\%username%
                          I left the security settings blank.

                          Thanks for your help! )

                          Tracie

                          Comment


                          • #14
                            Re: Creating home directories without sharing

                            Thanks for sharing this information. We unfortunately can't test a cluster configuration, so its nice that you took the time to do it.
                            Kevin Stanush
                            SystemTools Software Inc.

                            Comment

                            Working...
                            X