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
-
DVR
Sean Unpaved
1 hour agoReese's 2K26 Spotlight, Biden's Doc Pleads the Fifth, & Burrow's Super Bowl Quest
5.41K -
1:04:10
Timcast
2 hours agoTrump Threatens FEDERAL TAKEOVER OF NYC Over Communist Democrat Zohran
116K82 -
1:58:35
The Charlie Kirk Show
2 hours agoDEI Kills + Epstein Schism? + The Bloodthirsty Left | Mailman, Davis, Wheeler, Ungar-Sargon | 7.9
26.3K4 -
25:52
Neil McCoy-Ward
1 hour ago🚨 NATO Scrambles Jets... (AND Taiwan Prepares To Defend)
4.24K3 -
DVR
The Tom Renz Show
1 hour agoBiden’s Doc Pleads the 5th, Epstein, & How RINOs Happen
4K3 -
1:09:19
The Rubin Report
3 hours agoJD Vance Makes Crowd Go Silent with Brutal Facts on the True Appeal of the Left
129K109 -
LIVE
LFA TV
17 hours agoLFA TV ALL DAY STREAM - WEDNESDAY 7/9/25
2,496 watching -
1:35:11
The Mel K Show
3 hours agoMORNINGS WITH MEL K - The Battle For Your Brain: You Are Being Distracted Into Submission 7-9-25
17.7K10 -
1:00:54
VINCE
5 hours agoIt's Comey's Turn To Face The Music | Episode 81 - 07/09/25
255K416 -
48:55
Grant Stinchfield
3 hours ago $0.67 earnedJury Records Could Expose Illegal Voters—But They’re Blocking It!
11.9K7