Premium Only Content

CONFIGURANDO CLIENTE UBUNTU 20.4 AUTENTICAÇÃO EM SERVIDOR OPENLDAP
CONFIGURANDO CLIENTE UBUNTU 20.4 AUTENTICAÇÃO EM SERVIDOR OPENLDAP
Instala os pacotes:
sudo apt update && sudo apt install libnss-ldap libpam-ldap ldap-utils nscd
----
Insira o endereço ou IP do servidor ldap:
ldap://ldap.ccj.ufpb.br
----
Adicione os endereços dc e cn do seu servidor ldap:
dc=ccj,dc=ufpb,dc=br
cn=admin,dc=ccj,dc=ufpb,dc=br
----
Altere o arquivo:
sudo nano /usr/share/pam-configs/mkhomedir
Name: Create home directory on login
Default: yes
Priority: 900
Session-Type: Additional
Session-Interactive-Only: yes
Session:
required pam_mkhomedir.so umask=0077 skel=/etc/skel
----
Execute o comando e marque todas as opções:
sudo pam-auth-update
----
Altere a arquivo:
sudo nano /etc/nsswitch.conf
passwd: files systemd compat ldap
group: files systemd compat ldap
shadow: files compat
gshadow: files compat
----
Execute o comando:
sudo systemctl restart nscd
----
Execute o comando:
sudo systemctl enable nscd
----
Execute o comando e o sistema mostrará todos os usuários da base Ldap:
getent passwd
----
Reinicie o computador:
reboot
-
LIVE
The HotSeat
59 minutes agoBiden’s Doc Pleads the FIFTH?! Epstein Lies, Jail Cell Doubts & the Death of TRUTH in America
800 watching -
LIVE
Film Threat
3 hours agoJAMES GUNN'S SUPERMAN REVIEW | Hollywood on the Rocks
115 watching -
24:05
Preston Stewart
8 hours ago30,000 Russians A Month
143 -
1:21:52
Russell Brand
4 hours agoFighting the Devil and Winning – Bas Rutten on Faith, Demons, and Discipline - SF611
155K19 -
10:00
MattMorseTV
22 hours ago $2.79 earnedTrump isn't TAKING the BAIT.
18.7K28 -
Barry Cunningham
4 hours agoPRESIDENT TRUMP IS MAKING IT APPEAR THAT THE STORM IS UPON US!
18.9K10 -
LIVE
StoneMountain64
3 hours agoDelta Force PRISON MAP is insane (+ NEW KNIFE Desmoulins' Edge)
64 watching -
LIVE
Viss
5 hours ago🔴LIVE - PUBG's Revival is Underway - Learn The Tactics You Need!
95 watching -
1:07:06
Jeff Ahern
1 hour ago $0.02 earnedNever Woke Wednesday With Jeff Ahern
2.8K1 -
1:03:12
Crypto Power Hour
7 hours ago $0.03 earnedCrypto Trends Influencing The Market
3.31K5