Subversion Repositories ALCASAR

Rev

Rev 2693 | Rev 2708 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log

Rev 2693 Rev 2705
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2693 2019-01-28 16:43:48Z franck $
2
#  $Id: alcasar.sh 2705 2019-03-05 22:30:50Z tom.houdayer $
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is a Free and open source NAC created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
#  team@alcasar.net
7
#  team@alcasar.net
Line 2176... Line 2176...
2176
        echo "LDAP_BASE=cn=Users;dc=serverad;dc=localdomain" >> $CONF_FILE
2176
        echo "LDAP_BASE=cn=Users;dc=serverad;dc=localdomain" >> $CONF_FILE
2177
        echo "LDAP_UID=sAMAccountName" >> $CONF_FILE
2177
        echo "LDAP_UID=sAMAccountName" >> $CONF_FILE
2178
        echo "LDAP_FILTER=" >> $CONF_FILE
2178
        echo "LDAP_FILTER=" >> $CONF_FILE
2179
        echo "LDAP_USER=alcasar" >> $CONF_FILE
2179
        echo "LDAP_USER=alcasar" >> $CONF_FILE
2180
        echo "LDAP_PASSWORD=" >> $CONF_FILE
2180
        echo "LDAP_PASSWORD=" >> $CONF_FILE
-
 
2181
        echo "LDAP_SSL=on" >> $CONF_FILE
-
 
2182
        echo "LDAP_CERT_REQUIRED=" >> $CONF_FILE
2181
        echo "SMS=off" >> $CONF_FILE
2183
        echo "SMS=off" >> $CONF_FILE
2182
        echo "SMS_NUM=" >> $CONF_FILE
2184
        echo "SMS_NUM=" >> $CONF_FILE
2183
        echo "MULTIWAN=off" >> $CONF_FILE
2185
        echo "MULTIWAN=off" >> $CONF_FILE
2184
        echo "FAILOVER=30" >> $CONF_FILE
2186
        echo "FAILOVER=30" >> $CONF_FILE
2185
        echo "## WANx=active,@IPx/mask,GWx,Weight,MTUx" >> $CONF_FILE
2187
        echo "## WANx=active,@IPx/mask,GWx,Weight,MTUx" >> $CONF_FILE