Subversion Repositories ALCASAR

Rev

Rev 2466 | Rev 2470 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2466 Rev 2467
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 2466 2017-12-23 13:55:43Z richard $
2
#  $Id: alcasar.sh 2467 2017-12-24 16:12:53Z richard $
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 1107... Line 1107...
1107
	nas_type = other
1107
	nas_type = other
1108
}
1108
}
1109
EOF
1109
EOF
1110
# Set Virtual server (remvove all except "alcasar virtual site")
1110
# Set Virtual server (remvove all except "alcasar virtual site")
1111
	rm -f /etc/raddb/sites-enabled/*
1111
	rm -f /etc/raddb/sites-enabled/*
1112
	cp $DIR_CONF/radius/alcasar-radius /etc/raddb/sites-available/alcasar
1112
	cp $DIR_CONF/radius/alcasar /etc/raddb/sites-available/alcasar
-
 
1113
	cp $DIR_CONF/radius/alcasar-with-ldap /etc/raddb/sites-available/alcasar-with-ldap
1113
	chown radius:apache /etc/raddb/sites-available/alcasar
1114
	chown radius:apache /etc/raddb/sites-available/alcasar*
1114
	chmod 660 /etc/raddb/sites-available/alcasar
1115
	chmod 660 /etc/raddb/sites-available/alcasar*
1115
	ln -s /etc/raddb/sites-available/alcasar /etc/raddb/sites-enabled/alcasar
1116
	ln -s /etc/raddb/sites-available/alcasar /etc/raddb/sites-enabled/alcasar
1116
# INFO : To connect from outside (EAP), add the EAP virtual server (link in sites-enabled) and inner-tunnel modules (link in mods-enabled)
1117
# INFO : To connect from outside (EAP), add the EAP virtual server (link in sites-enabled) and inner-tunnel modules (link in mods-enabled)
1117
 
1118
 
1118
# Set modules
1119
# Set modules
1119
# Add custom LDAP "available module"
1120
# Add custom LDAP "available module"