search for: _admins

Displaying 2 results from an estimated 2 matches for "_admins".

Did you mean: admins
2017 Jun 13
3
Creating home folders on file server automatically
...quot;$(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 &quo...
2017 Jun 13
0
Creating home folders on file server automatically
...ger "$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...