Project

General

Profile

Segnalazione #110

Configurazione samba: errore alla creazione

Added by Christopher R. Gabriel over 7 years ago. Updated over 7 years ago.

Status:
Chiuso
Priority:
Normale
Start date:
12/13/2016
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)

Description

Durante fuss-server create:

ASK [samba : Wait a little, otherwise next commands can fail] *****************
Pausing for 2 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [localhost]

TASK [samba : Give full privileges to 'Domain Admins' group] *******************
failed: [localhost] (item=SeRemoteShutdownPrivilege) => {"changed": true, "cmd": ["net", "rpc", "rights", "grant", "Domain Admins", "SeRemoteShutdownPrivilege", "-U", "admin%antani"], "delta": "0:00:00.040709", "end": "2016-12-12 14:28:01.399177", "failed": true, "item": "SeRemoteShutdownPrivilege", "rc": 255, "start": "2016-12-12 14:28:01.358468", "stderr": "smb_signing_good: BAD SIG: seq 1\nCould not connect to server 127.0.0.1\nConnection failed: NT_STATUS_ACCESS_DENIED", "stdout": "", "stdout_lines": [], "warnings": []}
failed: [localhost] (item=SeMachineAccountPrivilege) => {"changed": true, "cmd": ["net", "rpc", "rights", "grant", "Domain Admins", "SeMachineAccountPrivilege", "-U", "admin%antani"], "delta": "0:00:00.036665", "end": "2016-12-12 14:28:01.551647", "failed": true, "item": "SeMachineAccountPrivilege", "rc": 255, "start": "2016-12-12 14:28:01.514982", "stderr": "smb_signing_good: BAD SIG: seq 1\nCould not connect to server 127.0.0.1\nConnection failed: NT_STATUS_ACCESS_DENIED", "stdout": "", "stdout_lines": [], "warnings": []}
failed: [localhost] (item=SePrintOperatorPrivilege) => {"changed": true, "cmd": ["net", "rpc", "rights", "grant", "Domain Admins", "SePrintOperatorPrivilege", "-U", "admin%antani"], "delta": "0:00:00.036640", "end": "2016-12-12 14:28:01.700739", "failed": true, "item": "SePrintOperatorPrivilege", "rc": 255, "start": "2016-12-12 14:28:01.664099", "stderr": "smb_signing_good: BAD SIG: seq 1\nCould not connect to server 127.0.0.1\nConnection failed: NT_STATUS_ACCESS_DENIED", "stdout": "", "stdout_lines": [], "warnings": []}
failed: [localhost] (item=SeAddUsersPrivilege) => {"changed": true, "cmd": ["net", "rpc", "rights", "grant", "Domain Admins", "SeAddUsersPrivilege", "-U", "admin%antani"], "delta": "0:00:00.037443", "end": "2016-12-12 14:28:01.851441", "failed": true, "item": "SeAddUsersPrivilege", "rc": 255, "start": "2016-12-12 14:28:01.813998", "stderr": "smb_signing_good: BAD SIG: seq 1\nCould not connect to server 127.0.0.1\nConnection failed: NT_STATUS_ACCESS_DENIED", "stdout": "", "stdout_lines": [], "warnings": []}
failed: [localhost] (item=SeDiskOperatorPrivilege) => {"changed": true, "cmd": ["net", "rpc", "rights", "grant", "Domain Admins", "SeDiskOperatorPrivilege", "-U", "admin%antani"], "delta": "0:00:00.037264", "end": "2016-12-12 14:28:02.001496", "failed": true, "item": "SeDiskOperatorPrivilege", "rc": 255, "start": "2016-12-12 14:28:01.964232", "stderr": "smb_signing_good: BAD SIG: seq 1\nCould not connect to server 127.0.0.1\nConnection failed: NT_STATUS_ACCESS_DENIED", "stdout": "", "stdout_lines": [], "warnings": []}
failed: [localhost] (item=SeTakeOwnershipPrivilege) => {"changed": true, "cmd": ["net", "rpc", "rights", "grant", "Domain Admins", "SeTakeOwnershipPrivilege", "-U", "admin%antani"], "delta": "0:00:00.039792", "end": "2016-12-12 14:28:02.154573", "failed": true, "item": "SeTakeOwnershipPrivilege", "rc": 255, "start": "2016-12-12 14:28:02.114781", "stderr": "smb_signing_good: BAD SIG: seq 1\nCould not connect to server 127.0.0.1\nConnection failed: NT_STATUS_ACCESS_DENIED", "stdout": "", "stdout_lines": [], "warnings": []}

NO MORE HOSTS LEFT *************************************************************
    to retry, use: --limit @/usr/share/fuss-server/fuss-server.retry

PLAY RECAP *********************************************************************
localhost                  : ok=55   changed=4    unreachable=0    failed=1   

Subtasks

Segnalazione #111: Samba: altri erroriChiusoChristopher R. Gabriel

Actions

History

#1

Updated by Christopher R. Gabriel over 7 years ago

Provando a fare come indica in output:

NO MORE HOSTS LEFT *************************************************************
    to retry, use: --limit @/usr/share/fuss-server/fuss-server.retry

PLAY RECAP *********************************************************************
localhost                  : ok=55   changed=4    unreachable=0    failed=1   

root@server:~# fuss-server create --limit @/usr/share/fuss-server/fuss-server.retry
usage: fuss-server [-h] {create,purge,configure,test} ...
fuss-server: error: unrecognized arguments: --limit @/usr/share/fuss-server/fuss-server.retry
#2

Updated by Elena Grandi over 7 years ago

  • Assignee set to Simone Piccardi
#3

Updated by Simone Piccardi over 7 years ago

  • Status changed from Nuovo to Commenti
  • Assignee changed from Simone Piccardi to Christopher R. Gabriel

Il problema che aveva portato a questo è un errore (corretto) con il template dei dati da inserire su LDAP che non caricava gli utenti admin e nobody. Il problema di #111 è diverso.

#4

Updated by Christopher R. Gabriel over 7 years ago

  • Status changed from Commenti to Chiuso
#5

Updated by Elena Grandi over 7 years ago

Per il --limit, ho aggiunto l'opzione a fuss-server, che viene ignorata (in teoria, dovremmo fare in modo che il playbook non fallisca e che quindi l'opzione non venga mai richiesta, in pratica, se anche fallisce usare --limit non cambia le cose, e non usarlo al massimo fa impiegare più tempo all'elaborazione).

Also available in: Atom PDF