TASK [slapd : register packages] *********************************************** TASK [slapd : Setup /etc/smbldap-tools/smbldap_bind.conf] ********************** changed: [localhost] TASK [slapd : Get SID value] *************************************************** ok: [localhost] TASK [slapd : Setup /etc/smbldap-tools/smbldap.conf] *************************** changed: [localhost] TASK [slapd : Check if DIT is already done] ************************************ ok: [localhost] TASK [slapd : Get hashed password from /etc/ldap/slapd.conf (for idempotency)] * ok: [localhost] TASK [slapd : debug] *********************************************************** ok: [localhost] => { "msg": "Hashed pass = {u'changed': False, u'end': u'2017-03-02 23:03:20.160425', 'failed': False, u'stdout': u'{SSHA}uoArlayRhFcKzJs2Cxr5gSrktfrHtQ7Q', u'cmd': u\"grep '# rootpw' /etc/ldap/slapd.conf|awk '{print $3}'\", u'rc': 0, u'start': u'2017-03-02 23:03:20.153996', u'stderr': u'', u'delta': u'0:00:00.006429', 'stdout_lines': [u'{SSHA}uoArlayRhFcKzJs2Cxr5gSrktfrHtQ7Q'], 'failed_when_result': False, u'warnings': []}" } TASK [slapd : Copy DIT template] *********************************************** changed: [localhost] TASK [slapd : Create DIT] ****************************************************** fatal: [localhost]: FAILED! => {"changed": false, "cmd": "ldapadd -c -Y EXTERNAL -H ldapi:/// -f /etc/fuss-server//Credentials/init_tree.ldif", "delta": "0:00:00.019304", "end": "2017-03-02 23:03:20.507512", "failed": true, "failed_when_result": true, "rc": 32, "start": "2017-03-02 23:03:20.488208", "stderr": "SASL/EXTERNAL authentication started\nSASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\nSASL SSF: 0\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)\nldap_add: No such object (32)", "stdout": "adding new entry \"ou=Users,dc=scuola,dc=lan\"\n\nadding new entry \"ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"ou=Computers,dc=scuola,dc=lan\"\n\nadding new entry \"ou=Idmap,dc=scuola,dc=lan\"\n\nadding new entry \"sambaDomainName=scuola,dc=scuola,dc=lan\"\n\nadding new entry \"uid=admin,ou=Users,dc=scuola,dc=lan\"\n\nadding new entry \"uid=nobody,ou=Users,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Domain Admins,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Domain Users,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Domain Guests,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Domain Computers,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Administrators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Account Operators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Print Operators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Backup Operators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry \"cn=Replicators,ou=Groups,dc=scuola,dc=lan\"", "stdout_lines": ["adding new entry \"ou=Users,dc=scuola,dc=lan\"", "", "adding new entry \"ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"ou=Computers,dc=scuola,dc=lan\"", "", "adding new entry \"ou=Idmap,dc=scuola,dc=lan\"", "", "adding new entry \"sambaDomainName=scuola,dc=scuola,dc=lan\"", "", "adding new entry \"uid=admin,ou=Users,dc=scuola,dc=lan\"", "", "adding new entry \"uid=nobody,ou=Users,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Domain Admins,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Domain Users,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Domain Guests,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Domain Computers,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Administrators,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Account Operators,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Print Operators,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Backup Operators,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry \"cn=Replicators,ou=Groups,dc=scuola,dc=lan\""], "warnings": []} RUNNING HANDLER [slapd : restart slapd with slapd.conf] ************************ changed: [localhost] to retry, use: --limit @/usr/share/fuss-server/create.retry PLAY RECAP ********************************************************************* localhost : ok=60 changed=23 unreachable=0 failed=1