mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Samba fixes...
This commit is contained in:
parent
97de68996a
commit
12105207ea
1 changed files with 4 additions and 0 deletions
|
@ -243,6 +243,10 @@ def tools_postinstall(domain, password, dyndns=False):
|
|||
if os.system('hostname -d') != 0:
|
||||
os.system('hostname yunohost.yunohost.org')
|
||||
|
||||
# Samba sh*t fix
|
||||
os.system('net setlocalsid $(ldapsearch -x -b "dc=yunohost,dc=org" -LLL "(objectclass=sambaDomain)" | grep SID | awk \'{print $2}\')')
|
||||
os.system('smbpasswd -w yunohost')
|
||||
|
||||
# Create SSL CA
|
||||
ssl_dir = '/usr/share/yunohost/yunohost-config/ssl/yunoCA'
|
||||
command_list = [
|
||||
|
|
Loading…
Reference in a new issue