search for: builtin_admins_gid

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

2017 Jun 13
3
Creating home folders on file server automatically
...i SN="$(basename "$0"): root prexec" logger "$SN: Create Samba Home Folder $4: Domain=$1 User=$2 Group=$3" if [[ -d "$4" ]]; then logger "$SN: Folder $4 exists" exit else # BUILTIN\\administrators == S-1-5-32-544 # BUILTIN_ADMINS_GID=$(wbinfo --sid-to-gid S-1-5-32-544); DOMAIN_ADMINS_GID=$(wbinfo --group-info="$1"\\"Domain Admins" | cut -d: -f3) BID=$(wbinfo --user-info="$1"\\"$2" | cut -d: -f3) GID=$(wbinfo --group-info="$3" | cut -d: -f3) logger "$S...
2017 Jun 13
0
Creating home folders on file server automatically
...gt; logger "$SN: Create Samba Home Folder $4: Domain=$1 User=$2 Group=$3" > > if [[ -d "$4" ]]; then > > logger "$SN: Folder $4 exists" > exit > > else > > # BUILTIN\\administrators == S-1-5-32-544 > # > BUILTIN_ADMINS_GID=$(wbinfo --sid-to-gid S-1-5-32-544); > DOMAIN_ADMINS_GID=$(wbinfo --group-info="$1"\\"Domain Admins" | > cut -d: -f3) > > BID=$(wbinfo --user-info="$1"\\"$2" | cut -d: -f3) > GID=$(wbinfo --group-info="$3" | cut -d: -f...
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