Displaying 1 result from an estimated 1 matches for "2fiexit".
Did you mean:
20&exit
2014 Dec 26
1
Use Samba with ACL for read Active Directory and set Permissions via it.
I use this script to create folders for users
#!/bin/bash
if [ ! -e /data/homes/$1/$2 ]; then
/usr/bin/mkdir -p /data/homes/$1/$2
/usr/bin/chown "$2":"Domain Users" /data/homes/$1/$2
/usr/bin/chmod g+s /data/homes/$1/$2
/usr/bin/chmod 770 /data/homes/$1/$2
/usr/bin/setfacl -m g:"domain admins":rwx /data/homes/$1/$2