Skip to content

Instantly share code, notes, and snippets.

View erolg's full-sized avatar

Erol Guzoğlu erolg

  • Trendyol
  • Istanbul, Turkey
View GitHub Profile
@bretonium
bretonium / mos-websso.rst
Last active December 14, 2020 20:00
How to configure Mirantis OpenStack for WebSSO via Okta
  • To use openstack cli you need to switch it to using v3 API. Do this:
    1. cp openrc openrc.v3
    2. edit openrc.v3 and
      • add there this line: export OS_IDENTITY_API_VERSION=3
      • change OS_AUTH_URL to point to v3.
  • Create an identity provider

    openstack identity provider create idp_1 # idp_1 is an id. Use any you like. I like idp_1

@wenzhixin
wenzhixin / install-openldap-gosa-ubuntu14.04
Last active July 10, 2020 05:36
Install guide for OpenLDAP and GOsa on Ubuntu 14.04
sudo apt-get install slapd ldap-utils
sudo dpkg-reconfigure slapd
sudo apt-get install gosa gosa-schema
sudo vi /etc/ldap/convert.conf << EOT
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema