1
|
TASK [slapd : register packages]
|
2
|
***********************************************
|
3
|
|
4
|
TASK [slapd : Setup /etc/smbldap-tools/smbldap_bind.conf]
|
5
|
**********************
|
6
|
changed: [localhost]
|
7
|
|
8
|
TASK [slapd : Get SID value]
|
9
|
***************************************************
|
10
|
ok: [localhost]
|
11
|
|
12
|
TASK [slapd : Setup /etc/smbldap-tools/smbldap.conf]
|
13
|
***************************
|
14
|
changed: [localhost]
|
15
|
|
16
|
TASK [slapd : Check if DIT is already done]
|
17
|
************************************
|
18
|
ok: [localhost]
|
19
|
|
20
|
TASK [slapd : Get hashed password from /etc/ldap/slapd.conf (for
|
21
|
idempotency)] *
|
22
|
ok: [localhost]
|
23
|
|
24
|
TASK [slapd : debug]
|
25
|
***********************************************************
|
26
|
ok: [localhost] => {
|
27
|
"msg": "Hashed pass = {u'changed': False, u'end': u'2017-03-02
|
28
|
23:03:20.160425', 'failed': False, u'stdout':
|
29
|
u'{SSHA}uoArlayRhFcKzJs2Cxr5gSrktfrHtQ7Q', u'cmd': u\"grep '# rootpw'
|
30
|
/etc/ldap/slapd.conf|awk '{print $3}'\", u'rc': 0, u'start':
|
31
|
u'2017-03-02 23:03:20.153996', u'stderr': u'', u'delta':
|
32
|
u'0:00:00.006429', 'stdout_lines':
|
33
|
[u'{SSHA}uoArlayRhFcKzJs2Cxr5gSrktfrHtQ7Q'], 'failed_when_result':
|
34
|
False, u'warnings': []}"
|
35
|
}
|
36
|
|
37
|
TASK [slapd : Copy DIT template]
|
38
|
***********************************************
|
39
|
changed: [localhost]
|
40
|
|
41
|
TASK [slapd : Create DIT]
|
42
|
******************************************************
|
43
|
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "ldapadd -c
|
44
|
-Y EXTERNAL -H ldapi:/// -f
|
45
|
/etc/fuss-server//Credentials/init_tree.ldif", "delta":
|
46
|
"0:00:00.019304", "end": "2017-03-02 23:03:20.507512", "failed": true,
|
47
|
"failed_when_result": true, "rc": 32, "start": "2017-03-02
|
48
|
23:03:20.488208", "stderr": "SASL/EXTERNAL authentication
|
49
|
started\nSASL username:
|
50
|
gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\nSASL SSF:
|
51
|
0\nldap_add: No such object (32)\nldap_add: No such object
|
52
|
(32)\nldap_add: No such object (32)\nldap_add: No such object
|
53
|
(32)\nldap_add: No such object (32)\nldap_add: No such object
|
54
|
(32)\nldap_add: No such object (32)\nldap_add: No such object
|
55
|
(32)\nldap_add: No such object (32)\nldap_add: No such object
|
56
|
(32)\nldap_add: No such object (32)\nldap_add: No such object
|
57
|
(32)\nldap_add: No such object (32)\nldap_add: No such object
|
58
|
(32)\nldap_add: No such object (32)\nldap_add: No such object (32)",
|
59
|
"stdout": "adding new entry \"ou=Users,dc=scuola,dc=lan\"\n\nadding
|
60
|
new entry \"ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry
|
61
|
\"ou=Computers,dc=scuola,dc=lan\"\n\nadding new entry
|
62
|
\"ou=Idmap,dc=scuola,dc=lan\"\n\nadding new entry
|
63
|
\"sambaDomainName=scuola,dc=scuola,dc=lan\"\n\nadding new entry
|
64
|
\"uid=admin,ou=Users,dc=scuola,dc=lan\"\n\nadding new entry
|
65
|
\"uid=nobody,ou=Users,dc=scuola,dc=lan\"\n\nadding new entry
|
66
|
\"cn=Domain Admins,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry
|
67
|
\"cn=Domain Users,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry
|
68
|
\"cn=Domain Guests,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry
|
69
|
\"cn=Domain Computers,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry
|
70
|
\"cn=Administrators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new entry
|
71
|
\"cn=Account Operators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new
|
72
|
entry \"cn=Print Operators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new
|
73
|
entry \"cn=Backup Operators,ou=Groups,dc=scuola,dc=lan\"\n\nadding new
|
74
|
entry \"cn=Replicators,ou=Groups,dc=scuola,dc=lan\"", "stdout_lines":
|
75
|
["adding new entry \"ou=Users,dc=scuola,dc=lan\"", "", "adding new
|
76
|
entry \"ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry
|
77
|
\"ou=Computers,dc=scuola,dc=lan\"", "", "adding new entry
|
78
|
\"ou=Idmap,dc=scuola,dc=lan\"", "", "adding new entry
|
79
|
\"sambaDomainName=scuola,dc=scuola,dc=lan\"", "", "adding new entry
|
80
|
\"uid=admin,ou=Users,dc=scuola,dc=lan\"", "", "adding new entry
|
81
|
\"uid=nobody,ou=Users,dc=scuola,dc=lan\"", "", "adding new entry
|
82
|
\"cn=Domain Admins,ou=Groups,dc=scuola,dc=lan\"", "", "adding new
|
83
|
entry \"cn=Domain Users,ou=Groups,dc=scuola,dc=lan\"", "", "adding new
|
84
|
entry \"cn=Domain Guests,ou=Groups,dc=scuola,dc=lan\"", "", "adding
|
85
|
new entry \"cn=Domain Computers,ou=Groups,dc=scuola,dc=lan\"", "",
|
86
|
"adding new entry \"cn=Administrators,ou=Groups,dc=scuola,dc=lan\"",
|
87
|
"", "adding new entry \"cn=Account
|
88
|
Operators,ou=Groups,dc=scuola,dc=lan\"", "", "adding new entry
|
89
|
\"cn=Print Operators,ou=Groups,dc=scuola,dc=lan\"", "", "adding new
|
90
|
entry \"cn=Backup Operators,ou=Groups,dc=scuola,dc=lan\"", "", "adding
|
91
|
new entry \"cn=Replicators,ou=Groups,dc=scuola,dc=lan\""], "warnings":
|
92
|
[]}
|
93
|
|
94
|
RUNNING HANDLER [slapd : restart slapd with slapd.conf]
|
95
|
************************
|
96
|
changed: [localhost]
|
97
|
to retry, use: --limit @/usr/share/fuss-server/create.retry
|
98
|
|
99
|
PLAY RECAP
|
100
|
*********************************************************************
|
101
|
localhost : ok=60 changed=23 unreachable=0
|
102
|
failed=1
|
103
|
|