#
# thomas@linuxmuster.net
# 14.12.2013
#

echo "### 17_admins postpatch"

# permissions of samba folders
for i in $NETLOGONDIR $PROGSDIR $CDSDIR; do
  chown $ADMINISTRATOR:$DOMADMINS $i
  chmod 775 $i
done
find $NETLOGONDIR/ -type f -exec chmod 664 '{}' \;
find $NETLOGONDIR/ -type d -exec chmod 775 '{}' \;
chown $ADMINISTRATOR:$DOMADMINS $NETLOGONDIR -R

