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

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:ldap [2025/04/30 14:53] Jean-Baptistetech:ldap [2026/01/08 10:34] (Version actuelle) Jean-Baptiste
Ligne 17: Ligne 17:
 * 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://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
  
  
Ligne 67: 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 146: 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 154: 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.1746017594.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki