Changes

From Amahi Wiki
Jump to: navigation, search
1,086 bytes added ,  03:34, 18 June 2017
no edit summary
{{NeedsUpdate}}
__NOTOC__
==Contents==
<ol>
<li class="toclevel-1">[[#Install_prerequisites|Install prerequisites]]</li>
<li class="toclevel-1">[[#Update_slapd.conf|Update slapd.conf]]</li>
<li class="toclevel-1">[[#Add_authorizedService_schema|Add authorizedService schema]]</li>
<li class="toclevel-1">[[#Setup_DB_CONFIG|Setup DB_CONFIG]]</li>
<li class="toclevel-1">[[#Disable_slap.d_config_files|Disable slap.d config files]]</li>
<li class="toclevel-1">[[#Start_service|Start service]]</li>
<li class="toclevel-1">[[#Import_base_schema|Import base schema]]</li>
<li class="toclevel-1">[[#Import_Linux_accounts_details_in_schema|Import Linux accounts details in schema]]</li>
<li class="toclevel-1">[[#Setup_LDAP_client_on_the_HDA|Setup LDAP client on the HDA]]</li>
<li class="toclevel-1">[[#Change_a_LDAP_user_to_use_authorizedService|Change a LDAP user to use authorizedService]]</li>
<li class="toclevel-1">[[#Allow_a_user_SSH_access|Allow a user SSH access]]</li>
<li class="toclevel-1">[[#Control_a_web-application_access_using_LDAP|Control a web-application access using LDAP]]</li>
</ol>
 
==Install prerequisites==
<div style="text-align: left; border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
==Update slapd.conf==
<div style="text-align: left; border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
DOMAIN=`mysql -u amahihda uroot -pAmahiHDARulez phda -e "select value from settings where name = 'domain'" hda_production | grep -v value`<br/>
SUFFIX=`echo '<?php $domain = explode(".", $argv[1]); echo "dc=". implode(",dc=", $domain); ?>' | php -- $DOMAIN`<br/>
<br/>
12,424

edits