search for: mksambahomedir

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

Did you mean: mksambahomedirs
2019 Apr 08
3
home user
I inserted these directives template shell = /bin/bash and template homedir = /home/%U the in smb.conf. What command do you use to create the user with the relative home directory and shell? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: OpenPGP digital signature URL:
2019 Apr 08
0
home user
For got to mention. Other option, add in smb.conf : root preexec = mkdir -p /home/%U [homes] comment = Home Direcotries path = /home/%U root preexec = /var/lib/samba/scripts/mksambahomedirs.sh %U mksambahomedirs.sh --- #!/bin/env bash if [ ! -d /home/$1 ]; then mkdir /home/$1 chmod g+s /home/$1 chown $1:"domain admins" /home/$1 chmod 770 /home/$1 /usr/bin/setfacl -m g:"domain admins":rwx /home/$1 /usr/bin/setfacl...
2012 Oct 23
0
Automatic creation of users home directories - problem with username case
...am preferred master = no encrypt passwords = yes winbind enum users = Yes winbind enum groups = Yes winbind nested groups = Yes [homes] comment = Home Direcotries valid users = %S read only = No browseable = No path = /home/%S root preexec = /var/lib/samba/scripts/mksambahomedirs.sh %S --- mksambahomedirs.sh" --- #!/bin/bash if [ ! -d /home/$1 ]; then mkdir /home/$1 chmod g+s /home/$1 chown $1:"domain admins" /home/$1 chmod 770 /home/$1 /usr/bin/setfacl -m g:"domain admins":rwx /home/$1 /usr/bin/se...
2013 Apr 28
1
[samba4] Users can't change password from the server
..._signd, kcc, dnsupdate template shell = /bin/bash log level = 3 [homes] comment = Home Directories browseable = yes writable = yes read only = no create mask = 0700 directory mask = 0700 valid users = %S # force user = VGASMB\%S force group = domainadmins root preexec = /usr/local/samba/scripts/mksambahomedirs.sh %S [netlogon] path = /usr/local/samba/var/locks/sysvol/vgasmb.vgafib.com/scripts read only = No [sysvol] path = /usr/local/samba/var/locks/sysvol read only = No [public] path = /home/public writable = yes public = yes read only = no browseable = yes create mask = 0640 directory mask = 277...