Davor Vusir
2013-Jul-19 10:17 UTC
[Samba] Winbind in Samba 4 suite and the template homedir parameter
Hi! The command "samba-tool testparm -v" returns "template homedir = /home/%WORKGROUP%/%ACCOUNTNAME%". Is there other variables that can be used? It is possible to add one or more uPNSuffixes to Samba 4 AD DC to alter the userPrincipalName. Both on the "domain" level (cn=uPNSuffixes,cn=Partitions,...) and on OU-level (cn=uPNSuffixes,ou=example.org,dc=...) But is it possible to return the dns domain part, %UPNSUFFIXES%, in winbind? And use it for domain separated paths to home directories? For example: uPNSuffixes = example.org, example.net [global] template homedir = /home/%UPNSUFFIXES%/%ACCOUNTNAME% And winbind returns /home/example.org/<username> and /home/example.net/<username> respectivly. Regards Davor