search for: samdatabase

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

Did you mean: omdatabase
2018 May 30
1
Scripting the next UID/GID number to use
Hello. If you want. I have already implemented something like this : ############################### # get user rfc2307 attributes # ############################### # get the new uid # userUid=$(s4ldbsearch -H $samDatabase -s base -b CN=$shortDomain,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...
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 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 Jan 17
0
Avoiding uid conflicts between rfc2307 user/groups and computers
...999 for the user rfc2307 uidNumber -> 5000000 - 5999999 for the group rfc2307 gidNumber If someone is interested, here a part of the script I have used : ############################### # get user rfc2307 attributes # ############################### # get the new uid # userUid=$(ldbsearch -H $samDatabase -s base -b CN=$shortDomain,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...