Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/04/2017, à 12:12

Julien_Addams

Relation d'approbation entre deux domaines Samba4 possible ??

Bonjour,

je me tourne vers vous, ne trouvant pas de réponse en fouillant sur le net.
J'aimerais faire une relation d'approbation entre deux domaines sur Samba4 et impossible de trouver de doc là-dessus. Par contre sur Microsoft, pas de soucis.

J'ai bien vu sur le wiki de Samba4 ce passage dans la FAQ :

Does Samba AD Supports Trust Relationship?
The trust feature is experimental and has several limitations, such as:
- SID filtering rules are not applied
- You cannot add users and groups of a trusted domain into domain groups

Mais pour moi, ça ne veut pas dire qu'on ne peut pas. Alors pour vous, est-ce possible ?

Hors ligne

#2 Le 20/04/2017, à 13:57

pires57

Re : Relation d'approbation entre deux domaines Samba4 possible ??

Je ne suis pas sur de comprendre ce que tu cherches a faire. Pourrais-tu détailler?


Utilisateur d'Archlinux, Ubuntu et Kali Linux
Administrateur système et réseau spécialisé Linux.
LinkedIn

Hors ligne

#3 Le 20/04/2017, à 14:26

Julien_Addams

Re : Relation d'approbation entre deux domaines Samba4 possible ??

Bonjour et merci de me donner un peu de ton temps Pires57 smile
Alors si j'ai bien compris, une relation d'approbation entre deux domaines permettrait à des utilisateurs authentifiés dans leur domaine A d'accéder aux ressources du domaine B.

On peut imaginer une entreprise qui dispose de plusieurs filiales dans le monde avec des noms différents, donc des domaines différents, qui pourra gérer l'ensemble grâce à des relations d'approbation.

Hors ligne

#4 Le 21/04/2017, à 08:27

Julien_Addams

Re : Relation d'approbation entre deux domaines Samba4 possible ??

J'ai un peu avancé sur mon problème et j'ai réussi à créer une relation d'approbation entre mes deux domaines. Cependant, la commande pour créer cette relation marche une fois sur deux. Quand ça ne marche pas, j'ai soit :

ERROR: REMOTE_DC[pdc.sc.local]: failed to connect netlogon server - ERROR(0xC0000022) - Access denied

soit :

ERROR: REMOTE_DC[pdc.sc.local]: failed to connect lsa server - ERROR(0xC0000022) - Access denied

Est-ce que ces erreurs vous parlent ?

Hors ligne

#5 Le 28/04/2017, à 14:11

pires57

Re : Relation d'approbation entre deux domaines Samba4 possible ??

Accès refusé, il peut y avoir plusieurs causes, est-tu sur d'avoir les droits nécessaire?


Utilisateur d'Archlinux, Ubuntu et Kali Linux
Administrateur système et réseau spécialisé Linux.
LinkedIn

Hors ligne

#6 Le 03/05/2017, à 15:42

Julien_Addams

Re : Relation d'approbation entre deux domaines Samba4 possible ??

Là est toute la question, je ne sais pas comment le vérifier. Je me connecte pourtant avec le compte Administrator.

Hors ligne

#7 Le 05/05/2017, à 14:29

ikoula

Re : Relation d'approbation entre deux domaines Samba4 possible ??

As tu visionné les logs samba smbd.lob et nmbd.log ? A priori ils sont situés dans /usr/local/samba/var/
Source : http://www.oreilly.com/openbook/samba/book/ch09_01.html


Thomas | Community manager | ikoula Serveurs dédiés, VPS et Cloud Public
Contactez-nous | Suivez-nous sur Twitter | Likez nous sur Facebook

Hors ligne

#8 Le 09/05/2017, à 14:39

Julien_Addams

Re : Relation d'approbation entre deux domaines Samba4 possible ??

Il n'y avait que le log.smbd dans /usr/local/samba/var. Voici donc les logs log.smbd et log.nmbd du dossier /var/log/samba

[2017/04/18 09:33:00.120478,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/04/18 11:28:43.548730,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/03 13:39:44.172036,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/03 13:39:59.807584,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/03 14:00:58.925961,  0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
  *****

  Samba name server BDC is now a local master browser for workgroup WORKGROUP on subnet 192.168.150.98

  *****
[2017/05/03 15:34:58.493194,  0] ../source3/nmbd/nmbd_incomingrequests.c:118(process_name_release_request)
  process_name_release_request: Attempt to release name WORKGROUP<1d> from IP 192.168.150.99 on subnet 192.168.150.98 being rejected as it is one of our names.
[2017/05/03 15:35:58.620674,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/03 15:37:41.879054,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/04 15:58:07.500752,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/05 08:05:24.150005,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/05 13:32:46.802147,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/05 13:32:48.122649,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/05 13:36:23.456821,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/05 13:36:24.683832,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/05 13:37:06.841242,  0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
  *****

  Samba name server BDC is now a local master browser for workgroup WORKGROUP on subnet 192.168.150.98

  *****
[2017/05/05 13:48:30.789537,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/05 13:48:46.940346,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/05 13:49:09.574407,  0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
  *****

  Samba name server BDC is now a local master browser for workgroup WORKGROUP on subnet 192.168.150.98

  *****
[2017/05/05 15:53:55.439533,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/09 08:06:01.888192,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/09 08:17:36.182106,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/09 08:17:37.437509,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/09 08:23:32.978066,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/09 08:23:34.168188,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/09 09:10:19.114407,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/09 09:34:29.566886,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/05/09 09:34:52.506132,  0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
  *****

  Samba name server BDC is now a local master browser for workgroup WORKGROUP on subnet 192.168.150.98

  *****
[2017/05/09 11:29:06.559527,  0] ../source3/nmbd/nmbd.c:58(terminate)
  Got SIGTERM: going down...
[2017/05/09 14:15:59.196269,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2017/04/18 09:32:59.741293,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/04/18 11:28:43.798855,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/03 13:40:00.047830,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/03 15:37:42.144398,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/05 08:05:24.766407,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/05 13:32:49.449316,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/05 13:36:25.985890,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/05 13:48:47.220842,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/09 08:06:02.903945,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/09 08:17:38.680724,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/09 08:23:35.429048,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/09 09:34:29.880926,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2017/05/09 14:15:59.503222,  0] ../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connections

Modération : merci à l'avenir d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 09/05/2017, à 14:56)

Hors ligne

#9 Le 10/05/2017, à 11:26

ikoula

Re : Relation d'approbation entre deux domaines Samba4 possible ??

Bonjour,

Je ne voie pas d'information exploitable, tu utilises quelle commande pour créer la relation d'approbation ?


Thomas | Community manager | ikoula Serveurs dédiés, VPS et Cloud Public
Contactez-nous | Suivez-nous sur Twitter | Likez nous sur Facebook

Hors ligne