Simplified LDAP Setup using FreeIPA on Unraid & Fedora

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ย. 2024

ความคิดเห็น • 93

  • @joshjones1289
    @joshjones1289 2 ปีที่แล้ว +13

    For those having issues with errors and failed installs, here is what finally worked for me...
    Create VM and go through everything as usual until you get to: ipa-server-install --mkhomedir
    Before running that command, I opened up the web interface on :9090 and ran the software updates for everything. Rebooted to get everything up-to-date.
    Finally ran: ipa-server-install --mkhomedir and it worked...
    5th times the charm for me.
    Good Luck!
    BTW, I used F35 (the latest) and had over 200 updates within the software before continuing with the install.

    • @Norkz
      @Norkz 2 ปีที่แล้ว

      I didn't know you posted it on here as well.

    • @joshjones1289
      @joshjones1289 2 ปีที่แล้ว +2

      @@Norkz i figured that I might as well... some people don't do Reddit.
      Glad it worked out.

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว +4

      Thanks for the solution! I have pinned this comment for future users to find.

    • @Edwin1650
      @Edwin1650 2 ปีที่แล้ว +2

      @@joshjones1289 Thanks man! I was breaking my head trying to figure this out... Life saver!

    • @StoneyDeniX
      @StoneyDeniX 2 ปีที่แล้ว

      Actually you dont have to go through all that, opening web interface etc...
      Just do following command before: ipa-server-install --mkhomedir
      sudo yum update
      thats all

  • @AwesomeOpenSource
    @AwesomeOpenSource 3 ปีที่แล้ว +6

    This was an absolutely terrific run through the FreeIPA stuff. I need to get back to freeiPA and now I'm feeling inspired to make some time.

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว

      Thank you mate you inspired this one, appreciate the support

  • @tmembrino
    @tmembrino ปีที่แล้ว

    Thanks much for this! Just set it up using Fedora Server 37 (Feb 2023) and working great! This is fantastic! And what a great add-on to your Authelia setup video. You all rock!

  • @IBRACORP
    @IBRACORP  3 ปีที่แล้ว +3

    Cheers for watching today's video! Do you like FreeIPA? Do you think it's a worthy opponent to Active Directory? Let us know in the comments

  • @geyoda64
    @geyoda64 3 ปีที่แล้ว +6

    Fantastic, I've been waiting for this. Thank you very much!

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +1

      My pleasure mate thanks for coming back and checking it out!

    • @geyoda64
      @geyoda64 3 ปีที่แล้ว +2

      @@IBRACORP Now that I watched it.
      Does this work/integrate with the LDAP interface of Nextcloud/Emby/Jellyfin.... If yes could you go over an example as I'm really new to LDAP or AD.

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +3

      Yes it does. I use it with Nextcloud, Organizr, Jellyfin and more. I will do a follow up video with configuring those apps

    • @geyoda64
      @geyoda64 3 ปีที่แล้ว +2

      @@IBRACORP Amazing. Thanks again for the great tutorials!

  • @JuniorReveron
    @JuniorReveron 3 ปีที่แล้ว +1

    Yes do one on Active Directory to see the difference between FreeIPA and Windows Server.

  • @chrisumali9841
    @chrisumali9841 3 ปีที่แล้ว +2

    Thanks for the demo and info. The network map is awesome, have a great day

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +1

      Thank you mate same to you!

  • @scooter4196
    @scooter4196 ปีที่แล้ว

    Thanks for being complete and explaining things clearly. I've been exploring using this over AD for our test lab and this seem to be what I'm looking for. THANK YOU AGAIN!!!!

  • @OldManWrigley
    @OldManWrigley 2 ปีที่แล้ว

    Can confirm, August 2022 got it working on Fedora 36.
    What a fantastic video

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว +1

      Thank you!

    • @lifeofrandom1770
      @lifeofrandom1770 ปีที่แล้ว

      I am still stuck on the certificate, a normal cert from lets encrypt will not work. I have my own that I purchased but nginx requires a key file which I do not have and never had. How would I either just use a lets encrypt cert or find the key file for my cer?

  • @DillonG959
    @DillonG959 4 หลายเดือนก่อน +1

    That popup at around 30 mins was because it was looking for Kerberos creds.

  • @mariobraun7568
    @mariobraun7568 3 ปีที่แล้ว +3

    You are a legend! Thanks so much. Will dive right in after work

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +1

      My pleasure thank you for watching mate

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +2

      And a big thank you for your donation, really appreciate it.

  • @BerkeleyTowers
    @BerkeleyTowers 3 ปีที่แล้ว +1

    Brilliant.... buzzing that it all works........ now I just need to go and find a reason to have it!

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว

      Good luck with that one Paul, that's we all try to tell ourselves :)

  • @strongyp
    @strongyp 3 ปีที่แล้ว +8

    Using a ssh key pair would have been a much better idea than allowing login to root with a password other than that nice video, the basic Auth could be something in nginx proxy manager

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +4

      That's a fair point and I was not aware. Thanks for teaching something new and watching

    • @strongyp
      @strongyp 3 ปีที่แล้ว +12

      @@IBRACORP ok after a lot of digging, i think i finallly found a fix for the basicAuth box its apparently FreeIPA trying to use single sign on and chrome/edge apparently does not have a clue about what is going on so they just pop up a login box
      edit sudo nano /etc/httpd/conf.d/ipa-rewrite.conf dump this at the bottom of the file and restart httpd service
      RewriteCond %{HTTP_COOKIE} !ipa_session
      RewriteCond %{HTTP_REFERER} ^(.+)/ipa/ui/$
      RewriteRule ^/ipa/session/json$ - [R=401,L]
      RedirectMatch 401 ^/ipa/session/login_kerberos
      sudo /sbin/service httpd restart
      this fixed the problem for me

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +4

      Mate you are a legend! That stupid box was driving me crazy. I will try this when I get home later today, thanks for coming back with a solution!

    • @blindside995
      @blindside995 3 ปีที่แล้ว

      @@strongyp Would you mind sharing briefly if you could how you fixed it?

    • @filiecs3
      @filiecs3 2 ปีที่แล้ว

      @@strongyp unfortunately, this did not seem to work for me.

  • @NicoDeclerckBelgium
    @NicoDeclerckBelgium 5 หลายเดือนก่อน

    The biggest problems with most of these videos is losing track of the essentials. Can I use LDAP as a user database seperately from Kerberos? That's the main and very first question to be answered, that sadly remains unanswered before we get to the installation and I gave up... 😢. One thing I do appreciate in this video is actually the honesty, and also the mention that FreeIPA is very badly documented.

  • @mrsvard417
    @mrsvard417 ปีที่แล้ว +1

    For anyone having issues with not being able to edit the hosts file with "sudo nano /etc/hosts", you might not have the nano text editor installed, type "yum install nano" and it should fix the problem.

  • @savageaus81
    @savageaus81 3 ปีที่แล้ว +2

    Great video, had it running at on point but then redid it and now i cannot get it to install.
    I keep getting the following.
    The IPA Server Hostname cannot be a CNAME, only A and AAAA names are allowed.
    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
    Hostname is set as ipa.myserver.xyz (obviously myserver is replaced with my actual domain.
    Using a fedora 33 server vm on unraid.
    cname set in cloudflare and nginx proxy manager

  • @MrMischelito
    @MrMischelito 3 ปีที่แล้ว +3

    Really, who wouldn't like a free IPA???
    Cheers!

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +1

      Cheers!

  • @kooplah6981
    @kooplah6981 2 ปีที่แล้ว +3

    FYI as of writing, both "freeipa-ldap" and "freeipa-ldaps" are depricated and can both be replaced with "freeipa-4"

  • @p0sitv
    @p0sitv หลายเดือนก่อน

    Very informative! Thanks, and great job!

  • @ScofieldMuliru
    @ScofieldMuliru ปีที่แล้ว

    Thank you so much for preparing this tutorial. Really helpful.

  • @filiecs3
    @filiecs3 3 ปีที่แล้ว +1

    What about configuring it so that you can authenticate an application like Authelia or Keycloak using LDAPS instead of just LDAP. I need to authenticate applications that are on different servers at different locations and want to do it securely.

  • @hiteshsaini7184
    @hiteshsaini7184 3 ปีที่แล้ว +1

    Hello sir, can you tell us that how to setup freeipa with https without invalid certificate error on cloud server

  • @ibrahimsalah1436
    @ibrahimsalah1436 3 ปีที่แล้ว +1

    Can you please make a video how to certificate authority ? to FreeIPA ?

  • @hawks48
    @hawks48 3 ปีที่แล้ว +2

    Been a subscriber for a while and love your stuff. Just a small request, can you use a diff resolution or your videos? It’s hard to make out all the details with my mobile device... maybe it’s just me.

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +3

      Thank you Dave much appreciated. You know what you're not the only one to mention it so I'll look into how to make things nice and big in future. Still learning editing!

    • @hawks48
      @hawks48 3 ปีที่แล้ว +1

      @@IBRACORP the content is fantastic and really appreciated!

  • @B3nD0t
    @B3nD0t 3 หลายเดือนก่อน

    @IBRACORRP I'm trying to set up with radius, but can't achieve that. I really like to see The authelia integration with free ipa

  • @xruchai
    @xruchai 3 ปีที่แล้ว +2

    Again a very good video, thank you! I have only, once again a problem... I did everything as you explained and then wanted to include LDAP/LDAPS in my Nextcloud. Unfortunately, no matter what I do, it doesn't work. Either it hangs in an infinite loop while checking or nothing happens.
    Can you maybe make a video about this too (basically embedding in NC and other interesting apps), SSO would also be very awesome?
    You explain it with Authelia but on local/internal level, not from WEB :(.
    Would be really awesome if you could support here :)!
    Oh and thanks for your last answer, has helped me a lot unnd solved the problem ;)

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +3

      This is a bug with nextcloud we've been waiting for them to fix to do our next video on it :)
      I'm glad you're enjoying the content and thank you for the suggestions!

    • @xruchai
      @xruchai 3 ปีที่แล้ว

      @@IBRACORP That explains a lot xD.Then I'm curious and thank you for the answer ;). I have Unraid longer at home in use but am not so deep in the matter of knowledge. Professionally I have to do more with Microsoft...but I should really deal with it more deeply (if time would be) ^^''. Since your videos come among other things just right :).

  • @baxlash81
    @baxlash81 2 ปีที่แล้ว

    This is a great video, but the font size in the PuTTY terminal is so tiny that one can barely read it. Could you please use a bigger font in the future videos?

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Yes most definitely. This was early one for me so some lessons learned. Cheers!

  • @bcfrutuozo
    @bcfrutuozo 2 ปีที่แล้ว

    I did exactly as the video is showing, but when I try to access my domain a got a NET::ERR_CERT_AUTHORITY_INVALID error. Did anyone experienced the same?
    ipa**** uses encryption to protect your information. When Microsoft Edge tried to connect to ipa.***** this time, the website sent back unusual and incorrect credentials. This may happen when an attacker is trying to pretend to be ipa.*****, or a Wi-Fi sign-in screen has interrupted the connection. Your information is still secure because Microsoft Edge stopped the connection before any data was exchanged.
    You can't visit ipa.***** right now because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.

  • @Neo198431
    @Neo198431 ปีที่แล้ว

    How would this work out for an Active Directory solution and file sharing with a few windows clients?

  • @anihilat
    @anihilat 3 ปีที่แล้ว +1

    Nice video. Keep doing it ! :)

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +2

      Cheers mate thanks for watching!

  • @yunusdestanci
    @yunusdestanci 2 ปีที่แล้ว

    Hello, first of all, thank you very much. I get such an error after installation, how can I solve it? (404 Not Found
    nginx/1.18.0)

  • @stefanlaterra5797
    @stefanlaterra5797 2 ปีที่แล้ว

    Anyone else experiencing issues on version 36. Upon Installation I don't have the same menu items to add my hostname, adjust network settings.

  • @malvincarroll4171
    @malvincarroll4171 2 ปีที่แล้ว

    I have gone through this video several times now and continuous get stuck on updating the hosts file with nano. I get an error each time that says nano is not installed. Any suggestions?

    • @texanallday
      @texanallday 2 ปีที่แล้ว

      "dnf up" then "dnf install nano"

  • @MyKhile
    @MyKhile 3 ปีที่แล้ว +4

    Just a note to anyone trying this Fedora 34 is not compatible with IPA in this guide and will fail use 33

    • @EderMorales18
      @EderMorales18 3 ปีที่แล้ว

      I can't seem to be able to find fedora 33, do you have a link?

    • @ironwoodoverland
      @ironwoodoverland 3 ปีที่แล้ว

      Yeah I tried to install this multiple times using 34 and then found this comment, pretty frustrating. About to give it a go now with 33.

    • @dylansteil7325
      @dylansteil7325 3 ปีที่แล้ว

      @@ironwoodoverland Been going on 2 days.... I finally found this comment. Here we go.

    • @ironwoodoverland
      @ironwoodoverland 3 ปีที่แล้ว

      @@dylansteil7325 Did you ever get this to work? I downloaded 33 but got some error about metadata. The closest I've gotten is getting the same errors as the poster named AJ down below.

    • @dylansteil7325
      @dylansteil7325 3 ปีที่แล้ว

      @Ironwood Overland I have not yet. Same errors on my end with metadata. I am considering trying Active Directory instead.

  • @stayupthetree
    @stayupthetree 3 ปีที่แล้ว +1

    Overall good video, but loses its way around the Authelia integration

  • @alexalex-jy4tv
    @alexalex-jy4tv 3 ปีที่แล้ว

    Did you try to use nested group with freeipa and have authelia successfully get all groups for a given user?

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +1

      not yet! any examples?

  • @Aceriz
    @Aceriz 3 ปีที่แล้ว

    Hey wondering was setting this up. I set up the encryption in fedora as you mentioned. But note that if I were to restart the VM would need to manually punch in the password.. thoughts about this given desire to have VM autostart in array start.

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว

      Interesting point. I guess that is up to you but in my case I wouldn't want to do that.

    • @Aceriz
      @Aceriz 3 ปีที่แล้ว

      @@IBRACORP Ya I was having difficulty with this.. as it doesn't allow for a more seamless autostart of the VM and the dockers... so won't use the encryption for now

  • @propeto13
    @propeto13 3 ปีที่แล้ว

    hello, have we figured out how to disable the browser prompt?

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว +1

      Yep! I have pinned the comment for people to see now.

  • @martinlabat8163
    @martinlabat8163 3 ปีที่แล้ว

    Very nice video! Is it possible to run freeipa on a docker on unraid?

    • @IBRACORP
      @IBRACORP  3 ปีที่แล้ว

      It is but I don't recommend

  • @A1994SC
    @A1994SC 2 ปีที่แล้ว

    My plans are to use the Raspberry Pi that I run my certificate authority on. I figured that it would make sense to do that

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      Why not?!

    • @IBRACORP
      @IBRACORP  2 ปีที่แล้ว

      That's awesome thanks for sharing. Might do this myself actually