search for: primarygid

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

Did you mean: primary_gid
2018 May 30
1
Scripting the next UID/GID number to use
...OU#OU=} classGroup=${classGroup,,} samba-tool group addmembers $classGroup $userName done unset IFS ####################################### # set primarySID corresponding to gid # ####################################### #get the group sid from the gid strsid=$(wbinfo --gid-to-sid=$userGid) primarygid=$(echo $strsid | cut -d "-" -f 8) # set the user primarySID echo "dn: CN=$userName,$userClassDN,$baseDN changetype: modify replace: primarygroupid primarygroupid: $primarygid" > /tmp/$userName ldbmodify --url=$samDatabase -b $baseDN /tmp/$userName rm /tmp/$userName I giv...
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