search for: make_home_folder

Displaying 3 results from an estimated 3 matches for "make_home_folder".

2017 Jun 13
3
Creating home folders on file server automatically
...In the meantime I use "root preexec" in smb.conf and the following script. It creates the folder and mimics the permissions as created by the RSAT Tool. #!/bin/bash # # Create Home Folder and mimic ACLs as created by RSAT Tools # # use in smb.conf: # # [home] # # root prexec = path_to/make_home_folder.sh '%D' '%U' '%G' '%H' # # ;; %D = Domain or Workgroup of user ($1) --> "SAMDOM" # ;; %U = Username ($2) --> "kbudwi" # ;; %G = Groupname ($3) --> "SAMDOM\domain users" # ;; %H = Home Directo...
2017 Jun 13
0
Creating home folders on file server automatically
...and the following > script. It creates the folder and mimics the permissions as created > by the RSAT Tool. > > #!/bin/bash > # > # Create Home Folder and mimic ACLs as created by RSAT Tools > # > # use in smb.conf: > # > # [home] > # > # root prexec = path_to/make_home_folder.sh '%D' '%U' '%G' '%H' > # > # ;; %D = Domain or Workgroup of user ($1) --> "SAMDOM" > # ;; %U = Username ($2) --> "kbudwi" > # ;; %G = Groupname ($3) --> "SAMDOM\domain users" &g...
2017 Jun 12
3
Creating home folders on file server automatically
Hi list, We have a script we are using to create new users, and drop them into the proper OUs on our Samba AD server, using samba-tool. We have a Samba member file server (fs1) joined to the domain for hosting our file shares. On there is also where we are putting the users' home folders. I saw in the Samba Docs, and in the mailing list, that I can use