in reply to Giving a window user permission to a windows folder from linux

That's probably not a perl question. If I create a user in AD, I do so on one of our directory servers, and the directory is not created before the user's first login, because the system doesn't know on which server(s) the drive and directory would have to be (a "drive" only makes sense if it is known on which host/system that drive is valid).

Plus, these "homeAnything" attributes are not listed in the "default enabled AD attributes" on http://support.microsoft.com/kb/257218

I don't have experience with setting these, and I think you'll have to seek in more microsoftish sites.

  • Comment on Re: Giving a window user permission to a windows folder from linux

Replies are listed 'Best First'.
Re^2: Giving a window user permission to a windows folder from linux
by 0227lld (Initiate) on Jan 23, 2015 at 13:35 UTC

    Thanks, but but I don't think that's correct. homeDrive is whatever letter you want the homeDirectory to be (h: or k: etc.), the homeDirectory is a server/folder mapping (\\server\folder) and when I mount a cifs and create a folder, it exist on that server. The question is how to give that new window user permission to use that folder from the perl script that's running on linux. If i was running perl on windows it would be a non issue.

        yeah but that's running perl on a windows box. I don't want to spiderweb the application. Only other thing I was thinking of is after I create the folder I run a command (cacls it think) on the server to give that new user permission for that folder. Now I need to find a remote way of exec a windows command on the server from the linux box. This is just silly...