LDAP notes: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 4: Строка 4:
   
 
puppet apply --debug --modulepath /etc/fuel/plugins/oss_ldap-1.0/puppet/modules:/etc/puppet/modules /etc/fuel/plugins/oss_ldap-1.0/puppet/manifests/104_populate_^Cap_people_ou.pp
 
puppet apply --debug --modulepath /etc/fuel/plugins/oss_ldap-1.0/puppet/modules:/etc/puppet/modules /etc/fuel/plugins/oss_ldap-1.0/puppet/manifests/104_populate_^Cap_people_ou.pp
  +
<PRE>
 
 
LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LL -D "cn=admin,dc=fuel_domain" -w r00tme -H ldaps://ldap1
 
LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LL -D "cn=admin,dc=fuel_domain" -w r00tme -H ldaps://ldap1
  +
</PRE>
  +
<PRE>
 
LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LL -D "cn=admin,cn=config" -w r00tme -H ldaps://ldap -b cn=config
 
LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LL -D "cn=admin,cn=config" -w r00tme -H ldaps://ldap -b cn=config
  +
</PRE>

Версия 16:56, 30 июня 2016

 /usr/sbin/slapd -d 1 -h "ldap:/// ldapi:/// ldaps://ldap1" -g openldap -u openldap -F /etc/ldap/slapd.d

puppet apply --debug --modulepath /etc/fuel/plugins/oss_ldap-1.0/puppet/modules:/etc/puppet/modules /etc/fuel/plugins/oss_ldap-1.0/puppet/manifests/104_populate_^Cap_people_ou.pp

LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LL  -D "cn=admin,dc=fuel_domain" -w r00tme  -H ldaps://ldap1
LDAPTLS_REQCERT=never /usr/bin/ldapsearch -LL  -D "cn=admin,cn=config" -w r00tme  -H ldaps://ldap -b cn=config