Displaying 2 results from an estimated 2 matches for "accountserverdns".
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
...Uid | 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="\\\\$accountServerDns$winHomePath$winHomeDir\\$pgroupNameR\\$userName"
\
--home-drive="$homeDrive" \
--unix-home="/home$unixHomeDir/$pgroupNameR/$userName" \
--uid-number="$userUid" \
--gid-num...