Tâche #24681
Scénario #24653: Portage des paquets scribe-ad et horus-ad en 2.7.0
Portage et test des paquets manquants en 2.7.0
Remaining (hours):
0.0
Related issues
Associated revisions
Version 2.7.0 pour scribe-ad
Ref: #24681
Version 2.7.0 pour eole-ad
Ref: #24681
Ajout du test "instance-acascribead" en 2.7.0
Ref: #24681
History
#1 Updated by Joël Cuissinat almost 5 years ago
- Status changed from Nouveau to En cours
#2 Updated by Joël Cuissinat almost 5 years ago
- Remaining (hours) changed from 4.0 to 2.0
#3 Updated by Joël Cuissinat over 4 years ago
- Estimated time changed from 4.00 h to 2.00 h
- Remaining (hours) changed from 2.0 to 0.15
#4 Updated by Scrum Master over 4 years ago
- Status changed from En cours to Résolu
#5 Updated by Gérald Schwartzmann over 4 years ago
Test ajouté : http://jenkins.eole.lan/jenkins/job/2.7.0/job/test-instance-acascribead-2.7.0-amd64/ mais en erreur
#6 Updated by Gérald Schwartzmann over 4 years ago
- Remaining (hours) changed from 0.15 to 0.0
#7 Updated by Gérald Schwartzmann over 4 years ago
Lors de l'instance :
Samba is not being run as an AD Domain Controller, masking samba-ad-dc.service. Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service. Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service.
après la création du mot de passe
Création du mot de passe "Administrator" Active Directory : Confirmation du mot de passe : kdestroy: No credentials cache found while destroying cache Redémarrage service Looking up IPv6 addresses No IPv6 address will be assigned Setting up share.ldb Setting up secrets.ldb Setting up the registry Setting up the privileges database Setting up idmap db Setting up SAM db Setting up sam.ldb partitions and settings Setting up sam.ldb rootDSE Pre-loading the Samba 4 and AD schema Adding DomainDN: DC=ac-test,DC=fr Adding configuration container Setting up sam.ldb schema Setting up sam.ldb configuration data Setting up display specifiers Modifying display specifiers Adding users container Modifying users container Adding computers container Modifying computers container Setting up sam.ldb data Setting up well known security principals Setting up sam.ldb users and groups Setting up self join Adding DNS accounts Creating CN=MicrosoftDNS,CN=System,DC=ac-test,DC=fr Creating DomainDnsZones and ForestDnsZones partitions Populating DomainDnsZones and ForestDnsZones partitions Setting up sam.ldb rootDSE marking as synchronized Fixing provision GUIDs A Kerberos configuration suitable for Samba AD has been generated at /var/lib/samba/private/krb5.conf Setting up fake yp server settings Once the above files are installed, your Samba AD server will be ready to use Server Role: active directory domain controller Hostname: addc NetBIOS Domain: AC-TEST DNS Domain: ac-test.fr DOMAIN SID: S-1-5-21-3443444991-556963737-2992266287 No DNS dynamic update on RODC Export one principal to /var/lib/samba/eole-ad-dc.keytab Redémarrage service Waiting Samba 127.0.0.1:445 to be alive Samba started after 1 s Test connection kerberos/AD Set Administrator password never expire Expiry for user 'Administrator' disabled. Ajout SeDiskOperatorPrivilege au groupe 'Domain Admins' Could not connect to server 127.0.0.1 Connection failed: NT_STATUS_INVALID_SID Impossible d'attribuer le privilège SeDiskOperatorPrivilege au groupe Domain Admins run-parts: /usr/share/eole/preservice/05-eolead exited with return code 1 Erreur : preservice
un délai semble nécessaire
root@scribe:~# bash -x /usr/share/eole/preservice/05-eolead instance + . /usr/lib/eole/ihm.sh ++ TPUT=/usr/bin/tput ++ '[' '!' xterm = '' ']' ++ /usr/bin/tput hpa 60 ++ /usr/bin/tput setaf 1 ++ FANCYTTY=1 + CONTAINER_NAME=addc + CONTAINER_PATH=/var/lib/lxc/addc + '[' instance = instance ']' + '[' -d /var/lib/lxc/addc ']' + echo 'Le conteneur addc est présent' Le conteneur addc est présent + exit 0 root@scribe:~#
nouvelle instance
run-parts: executing /usr/share/eole/posttemplate/05-eolead-pwd instance Voulez-vous (re)synchroniser les mots de passe des utilisateurs ? [oui/non] [oui] : Synchronisation en cours (1 mots de passe)... Username not found! run-parts: /usr/share/eole/posttemplate/05-eolead-pwd exited with return code 1 Erreur : posttemplate
unmask et lancement du service samba-ad-dc
systemctl unmask samba-ad-dc
service samba-ad-dc start
systemctl status samba-ad-dc.service
[…]
STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited.
[…]
#8 Updated by Scrum Master over 4 years ago
- Status changed from Résolu to Fermé
#9 Updated by Gérald Schwartzmann over 4 years ago
- Related to Tâche #24910: Erreur à l'instance de scribead added