Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

589
Visualizações
realm permit -g not limiting login groups

I've set up a Raspberry Pi 2 b with a Fedora 23 distro, I've been able to successfully join to our active directory domain using realmd's realm join. I am attempting to limit who may log in by active directory group. After running:

# realm permit -g adgroup@domain

Anyone with a domain account is able to log in regardless of if they are members of the group. I've run realm list and verified the login-policy is set to allow-permitted-logins and the desired group is part of permitted-groups.

The specific linux distro is Fedora-23-remix-rpi2-xfce-1-raw

If anyone else has run into this problem, I would greatly appreciate the help.

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

I also ran into the same problem and what fixed it for me is to first deny all the users using:

realm deny --all

and when all users are denied I used the realm permit to allow the desired group:

realm permit -g usergroup@domain
over 4 years ago · Santiago Trujillo Relatório

0

As Rajneesh Gadge said you would have to deny first.

Then the good behaviour will be with the right ad group name.

For example, in AD the group "Domain Administrators" will be catched with :

realm permit --groups domain\ admins

And does not work with : realm permit --groups Domain\ Administrators

BTW I don't really know how to retrieve this "short name" for groups...

over 4 years ago · Santiago Trujillo Relatório

0

you can try to

sudo realm permit --groups --withdraw "domain users"

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda