Code: Alles auswählen
account sufficient pam_ldap.so
account required pam_unix.so
Code: Alles auswählen
session sufficient pam_ldap.so
session required pam_unix.so
Code: Alles auswählen
account sufficient pam_ldap.so
account required pam_unix.so
Code: Alles auswählen
session sufficient pam_ldap.so
session required pam_unix.so
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Code: Alles auswählen
apt-get install libnss-ldapd libpam-ldapd ldap-utils
Code: Alles auswählen
# /etc/nslcd.conf
# nslcd configuration file. See nslcd.conf(5)
# for details.
# The user and group nslcd should run as.
uid nslcd
gid nslcd
# The location at which the LDAP server(s) should be reachable.
uri ldap://example.com
# The search base that will be used for all queries.
base dc=example,dc=com
# The LDAP protocol version to use.
ldap_version 3
# The DN to bind with for normal lookups.
binddn cn=admin,dc=example,dc=com
bindpw secret
# The DN used for password modifications by root.
#rootpwmoddn cn=admin,dc=example,dc=com
# SSL options
#ssl off
tls_reqcert demand
tls_cacertfile /path/to/certificate
# The search scope.
#scope sub
Code: Alles auswählen
service nslcd restart
Code: Alles auswählen
getent group
Code: Alles auswählen
su - opsiconfd
getent group
Code: Alles auswählen
auth sufficient pam_ldap.so
auth required pam_unix.so nullok_secure
Code: Alles auswählen
account sufficient pam_ldap.so
account required pam_unix.so
Code: Alles auswählen
@include sshd
Code: Alles auswählen
opsiadmin:x:1000:opsiconfd,adminuser,User1,User2,.....
Ubuntu ist IMO zu allgemein, welcher Dienst übernimmt konkret die Namensauflösung für Benutzer/Gruppen auf deinem System? Ich kenne z.B. "sssd" oder "nslcd" auf Debian basierenden Systemen.Mike162 hat geschrieben: deine anleitung ist super leider suche ich diese genau analog zu Ubuntu.