Outils pour utilisateurs

Outils du site


tech:ldap

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
tech:ldap [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech:ldap [2026/01/08 10:34] (Version actuelle) Jean-Baptiste
Ligne 16: Ligne 16:
 * https://likegeeks.com/linux-ldap-server/ * https://likegeeks.com/linux-ldap-server/
 * https://tunuifranken.info/procedures/procedure_openldap-server_20201227.pdf * https://tunuifranken.info/procedures/procedure_openldap-server_20201227.pdf
 +* [[https://linuxfr.org/news/la-version-2-2-de-ldap-synchronization-connector-est-la|LDAP Synchronization Connector (LSC)]]
 +* https://opendev.org/openstack/manila-image-elements/src/branch/master/data/docker/slapd.sh
 +
  
 Scripts : Scripts :
Ligne 65: Ligne 68:
 </code> </code>
  
-<code>+<code ->
 $ curl "ldap://localhost:1389/dc=example,dc=com?homephone?sub?cn=*amar" \ $ curl "ldap://localhost:1389/dc=example,dc=com?homephone?sub?cn=*amar" \
      -u "cn=directory manager"      -u "cn=directory manager"
Ligne 144: Ligne 147:
 </code> </code>
  
 +<code bash>
 ipa netgroup-add --desc="Netgroup description" --nisdomain="example.com" example-netgroup ipa netgroup-add --desc="Netgroup description" --nisdomain="example.com" example-netgroup
  
Ligne 152: Ligne 156:
 ipa netgroup-add-member --users={user1;user2,user3} \ ipa netgroup-add-member --users={user1;user2,user3} \
      --groups={group1,group2} example-group      --groups={group1,group2} example-group
-  +</code>
  
 +<code ->
 nisNetgroupTriple: This can be used to describe a user (,bobby,example.com) or a machine name (shellserver1,,example.com). This attribute can have multiple values. nisNetgroupTriple: This can be used to describe a user (,bobby,example.com) or a machine name (shellserver1,,example.com). This attribute can have multiple values.
 memberNisNetgroup: This is a very powerful attribute. It is used to merge the attribute values of another netgroup into the current one by simply listing the name (cn) of the merging netgroup. This attribute can have multiple values as well. memberNisNetgroup: This is a very powerful attribute. It is used to merge the attribute values of another netgroup into the current one by simply listing the name (cn) of the merging netgroup. This attribute can have multiple values as well.
 +</code>
  
 +<code ->
 + : @QAUsers@@QASystems : 10. + : @QAUsers@@QASystems : 10.
 + : root : LOCAL     + : root : LOCAL    
 + : @Admins : 10.     + : @Admins : 10.    
 - : ALL : ALL     - : ALL : ALL    
 +</code>
  
-account required pam_access.so accessfile=/etc/security/access.netgroup.conf   +<code bash> 
 +account required pam_access.so accessfile=/etc/security/access.netgroup.conf 
 +</code>
  
 https://support.hpe.com/hpesc/public/docDisplay?docId=c02058091&docLocale=en_US https://support.hpe.com/hpesc/public/docDisplay?docId=c02058091&docLocale=en_US
tech/ldap.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki