search for: g_gid

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

Did you mean: i_gid
2019 Aug 09
3
id mapping on a dc+file server
Thanks for your answer. It is clearer now for me. > >> It is probably a bit late to change now, but there is only one way to > >> get the same numeric ID everywhere and that is to use the 'ad' winbind > >> backend. So, on the Linux clients? > > This is why I removed the idmap config entries from the dc3 smb.conf. > > "On a Samba Active
2019 Aug 09
6
id mapping on a dc+file server
...;$1" = "-h" ] || [ "$1" = "--help" ]; then echo "Usage : $0 <groupname> <gidNumber>" exit 1 fi if [ "$#" -ne 2 ]; then echo "Usage : $0 <groupname> <gidNumber>" exit 1 fi _GROUP="$1" G_GID="$2" P_DIR=$(samba -b | grep 'PRIVATE_DIR' | awk '{print $NF}') SAM="${P_DIR}/sam.ldb" SUFFIX=$(echo "dc=$(hostname -d)" | sed 's/\./,dc=/g') # Find groupname : $_GROUP must exist in AD ! _RESULT=$(ldbsearch -H ${SAM} -b "$SUFFIX" -s...