search for: strgid

Displaying 4 results from an estimated 4 matches for "strgid".

Did you mean: st_gid
2018 May 30
1
Scripting the next UID/GID number to use
...ortDomain,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$baseDN msSFU30MaxUidNumber | grep 'msSFU30MaxUidNumber:') if [ -z "$userUid" ]; then userUid="$baseUid" else userUid=$(echo $userUid | sed 's/^msSFU30MaxUidNumber: \(.*\)/\1/') fi # get the gid # strgid=$(wbinfo --group-info="$userClassGroup") userGid=$(echo $strgid | cut -d ":" -f 3) ################# #create the user ################# echo "Creating s4 posix user $userName" # create the user # samba-tool user create $userName --userou=$userClassDN --random-passwo...
2018 Jan 16
3
Avoiding uid conflicts between rfc2307 user/groups and computers
Mandi! Kacper Wirski via samba In chel di` si favelave... > I understand the OP, I was asking some time ago similar question, but it was > in relation to samba domain member. Thanks, Kacper. > I couldn't get backend: ad to work for > machine accounts, so i switched to idmap: rid and it solved everything. I > tried manually adding UID and GID to Domain Computer group and to
2018 May 30
2
Scripting the next UID/GID number to use
On Wed, 30 May 2018 10:33:55 +0200 Marco Gaiarin via samba <samba at lists.samba.org> wrote: > Mandi! Rowland Penny via samba > In chel di` si favelave... > > > > So, in AD LDAP lingo, a 'modify' is not atomic, and a 'delete/add' > > > yes? > > Ahem, i meant: > > So, in AD LDAP lingo, a 'replace' is not atomic, and a
2018 Jan 17
0
Avoiding uid conflicts between rfc2307 user/groups and computers
...ortDomain,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$baseDN msSFU30MaxUidNumber | grep 'msSFU30MaxUidNumber:') if [ -z "$userUid" ]; then userUid="$baseUid" else userUid=$(echo $userUid | sed 's/^msSFU30MaxUidNumber: \(.*\)/\1/') fi # get the gid # strgid=$(wbinfo --group-info="$pgroupName") userGid=$(echo $strgid | cut -d ":" -f 3) # create the user # samba-tool user create $userName --userou=$userDN --random-password \ --profile-path="\\\\$accountServerDns$winProfilePath\\$pgroupNameR\\$userName" \ --home-directory=...