Coder Social home page Coder Social logo

deepwoods / gsuiteradius Goto Github PK

View Code? Open in Web Editor NEW
29.0 6.0 3.0 90 KB

Dockerized services of Freeradius with daloradius and MariaDB for secure LDAP authentication with GSuite for Education.

License: GNU General Public License v3.0

Shell 51.16% Dockerfile 48.84%
radius freeradius daloradius mariadb docker-compose docker ldap-authentication eap-ttls vlan gsuite

gsuiteradius's People

Contributors

deepwoods avatar nathandarnell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gsuiteradius's Issues

Multiple domains - multiple base_dn entries

Hi,
Not sure how you guys handled multi-domain environment in regards to base_dn search filter in config file for the same google ldap server?

As an example, we have users in domainA.com and domainb.com, base_dn will be different for each domain for both users and groups in Google realms. We have 10+ Domains to deal with. Any advise for wilcard/variable based base_dn search would be much appreciated.

Thank you

Connect freeradius to ldap users

hey guys

i config freeradius+daloradius on centos and i want to retrive active directory user and password into daloradius web gui for AAA throught ldap.
i wanna know is it possible to do this option for connecting users to internet?!

Error : norsp ** Access-Request

I configured the container to connect with my google ldap credentials but everytime i initiate a connection , its shown that the connection has been received but it still gives "norsp ** Access-Request" in debugged output. Below is a snapshot of the debugged output

User-Name = "[email protected]"
NAS-IP-Address = 172.16.0.34
Service-Type = Framed-User
Framed-MTU = 1400
Called-Station-Id = "96-AC-B9-B4-A2-4C:Radius"
Calling-Station-Id = "5A-9D-C0-DC-C0-61"
NAS-Identifier = "96acb9b4a24c"
NAS-Port-Type = Wireless-802.11
Acct-Session-Id = "E0E24FC5F48AB748"
Connect-Info = "CONNECT 0Mbps 802.11b"
EAP-Message = 0x02bc001b0173747564656e7474657374407574672e6564752e676d
Message-Authenticator = 0x7eb8361d660d162487e1fe749a618157
WLAN-Pairwise-Cipher = 1027076
WLAN-Group-Cipher = 1027076
WLAN-AKM-Suite = 1027073
Authenticator-Field = 0x8e994796bbb8529c81bf1d5c7ca9c199
2021-08-02 08:37:45.752986 (3) ** norsp ** Access-Request Id 4 eth0:212.60.92.82:38110 -> 192.168.5.5:1812
2021-08-02 08:37:45.752986 (3) Cleaning up request packet ID 4
2021-08-02 08:37:46.562574 (8) Access-Request Id 4 eth0:212.60.92.82:38110 -> 192.168.5.5:1812 +14.022

Does the image still work?

Hello does the image still can be use? i already seting up the env but still using docker-compose up

here my code after running docker-compose up

root@DckG:~/gsuiteRadius# docker-compose up
Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1277, in request
  File "http/client.py", line 1323, in _send_request
  File "http/client.py", line 1272, in endheaders
  File "http/client.py", line 1032, in _send_output
  File "http/client.py", line 972, in send
  File "docker/transport/unixconn.py", line 43, in connect
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests/adapters.py", line 449, in send
  File "urllib3/connectionpool.py", line 727, in urlopen
  File "urllib3/util/retry.py", line 410, in increment
  File "urllib3/packages/six.py", line 734, in reraise
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1277, in request
  File "http/client.py", line 1323, in _send_request
  File "http/client.py", line 1272, in endheaders
  File "http/client.py", line 1032, in _send_output
  File "http/client.py", line 972, in send
  File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, '                                                                                                                                                             No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker/api/client.py", line 214, in _retrieve_server_version
  File "docker/api/daemon.py", line 181, in version
  File "docker/utils/decorators.py", line 46, in inner
  File "docker/api/client.py", line 237, in _get
  File "requests/sessions.py", line 543, in get
  File "requests/sessions.py", line 530, in request
  File "requests/sessions.py", line 643, in send
  File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2                                                                                                                                                             , 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 81, in main
  File "compose/cli/main.py", line 199, in perform_command
  File "compose/cli/command.py", line 70, in project_from_options
  File "compose/cli/command.py", line 153, in get_project
  File "compose/cli/docker_client.py", line 43, in get_client
  File "compose/cli/docker_client.py", line 170, in docker_client
  File "docker/api/client.py", line 197, in __init__
  File "docker/api/client.py", line 222, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connec                                                                                                                                                             tion aborted.', FileNotFoundError(2, 'No such file or directory'))
[2352] Failed to execute script docker-compose

any idea?

Possible incomplete installation instructions

I've followed the directions as listed in the README. Upon "docker-compose up" I receive an error saying ".../gsuiteRadius/radius/id_rsa.txt" should be created. I assume the id_rsa.txt file is an ssh private key, which I then create. Thereafter I receive when running "docker-compose up":

tls: Failed reading certificate file "/etc/freeradius/3.0/certs/radius.acme.com.crt"
tls: error:0200100D:system library:fopen:Permission denied
tls: error:20074002:BIO routines:file_ctrl:system lib
tls: error:140DC002:SSL routines:use_certificate_chain_file:system lib
rlm_eap_tls: Failed initializing SSL context
rlm_eap (EAP): Failed to initialise rlm_eap_tls
/etc/freeradius/3.0/mods-enabled/eap[1]: Instantiation failed for module "eap"

Are there missing steps that I must complete before running docker-compose?

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.