Giter VIP home page Giter VIP logo

vagrant_ldap's Introduction

프로젝트팀 을 위한 #Slack

Androidthings Slack 팀 그룹이 있습니다
참여하시고 싶으신 분은   https://androidthingskorea.herokuapp.com/
이메일주소를 입력하시면 초대장 발송됩니다

README - Install OpenLDAP & phpLDAP-Admin

Test that LDAP is working using:

sudo ldapsearch -x -b 'dc=home,dc=net'

Configure OpenLDAP

sudo dpkg-reconfigure slapd

For the prompts:
Omit OpenLDAP server configuration:  No
DNS domain name:        home.net
Organization name:      demo
Administrator password: support  (confirmation: support)
Database backend:       HDB
Remove the database:    No
Move old database:      Yes
Allow LDAPv2 protocol:  No

Test web interface via phpLDAPadmin

Using your web browser, visit:

phpLDAPadmin - http://127.0.0.1:8085/phpldapadmin
shellinabox - https://127.0.0.1:4205

Make sure you update the Login DN to is uses home and net like so:

cn=admin,dc=home,dc=net

And for the password, you can use support (or whatever you choose above.)

Create Organization Units

While logged in to the phpLDAPadmin tool, click on the branch link:

  • Create new entry here

Choose: Generic: Organizational Unit Type: groups Click: Create Object (button) Click: Commit (button)

  • Create new entry here

Choose: Generic: Organizational Unit Type: users Click: Create Object (button) Click: Commit (button)

Create Groups

  • Click on the 'ou=groups' category (tree branch)

  • Click on the 'Create a child entry branch

    Choose: Generic: Posix Group (Posix Group) Type: admin Click: Create Object (button) Click: Commit (button)

Repeat the above steps for whatever groups you want to add. For example we want: jira-users confluence-users jira-admins confluence-admins

bitbucket-users bamboo-users bitbucket-admins bamboo-admins

Import some sample Users

There are several sample user LDIF files in the /home/vagrant/files directory. To add these users, follow the example below:

sudo ldapadd -x -W -D "cn=admin,dc=home,dc=net" -f [file_name_here]

Example:
cd ~/LDAP_CONFIG
sudo ldapadd -x -W -D "cn=admin,dc=home,dc=net" -f malcolm.ldif 

You will be prompted for the LDAP admin password. If you followed the example in this guide, that password is: 'support'

To assign a password to a LDAP User from the command line, you can use the following syntax:

ldappasswd -s mypassw0rd -W -D "cn=admin,dc=home,dc=net" -x "uid=mreynolds,ou=users,dc=home,dc=net"

You will be prompted for the LDAP Admin (cn=admin) password, in our example - support

빌드된 이미지

https://drive.google.com/drive/folders/0B-y5Szi9BBVFS0NHS29TQ2d1elk?usp=sharing

vagrant_ldap's People

Contributors

seonkeunchos avatar hogihung avatar

Watchers

James Cloos avatar Chosun Geun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.