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
-
2:26:47
FreshandFit
15 hours agoRatchet Chick Gets Kicked Out "Gracefully" For THIS...
145K173 -
2:05:17
TimcastIRL
18 hours agoDemocrat ACTBLUE In CHAOS, Theories Over DOGE Cutting SLUSH FUND Go Wild w/Hotep Jesus | Timcast IRL
281K255 -
1:11:43
Roseanne Barr
23 hours ago $64.37 earned"They are all Monsters" | The Roseanne Barr Podcast #89
139K167 -
9:26:16
Dr Disrespect
1 day ago🔴LIVE - DR DISRESPECT - WARZONE - PR ATTEMPTS
175K33 -
3:48:30
Akademiks
18 hours agoDay 1/30. Lebron checks stephen a Smith. TOry Lanez talking CRAZY asf. Lil Ronnie K*Ilers Caught
113K11 -
3:47:54
I_Came_With_Fire_Podcast
22 hours agoDEPARTMENT OF EDUCATION AXED | GAZA ULTIMATUM
98.4K30 -
2:16:53
FreshandFit
19 hours agoCall-In Show
117K14 -
4:27:46
Nerdrotic
23 hours ago $72.73 earnedDaredevil Born Again REVIEW, Harry Potter Show DOA, DC HACKED! | Friday Night Tights 344 Paul Chato
211K68 -
1:15:15
Glenn Greenwald
20 hours agoWeek in Review: Lee Fang and Leighton Woodhouse on Ukraine War and NYT Piece Revealing Tensions within Trump Admin; PLUS: Lee Fang Takes Audience Questions on DOGE and Big Tech | SYSTEM UPDATE #420
134K72 -
1:03:30
Sarah Westall
22 hours agoMassive Government Overhaul: FBI, CIA, IRS and more to be Gutted w/ Sam Anthony
125K55