How to Join a Linux Machine to Active Directory (Ubuntu 20.04)

Поделиться
HTML-код
  • Опубликовано: 23 окт 2024

Комментарии • 99

  • @MezzoEnzis
    @MezzoEnzis 27 дней назад +1

    OMG instructions online that actually works! Thank you so much for this! My team is using AWS with AWS managed AD, along with workspaces and EC2 servers. The few commands here did the trick

  • @rouvenlorenz5701
    @rouvenlorenz5701 2 года назад +6

    THANKS! You are the ONLY tutorial I found in like 2 hours or so, that actually worked

  • @InfiniteLogins
    @InfiniteLogins 3 года назад +6

    Cool stuff - I've never joined a Linux box to AD before, so this is helpful.

    • @c0nd4
      @c0nd4  3 года назад +1

      Awesome! It's a great addition to any home lab 😉

  • @KenPryor
    @KenPryor 2 года назад

    Thank You Thank You Thank You!!! This was the only tutorial I could find that actually worked!!! I've been trying for two days to authenticate domain users on the Ubuntu server and you are the only one who taught me correctly how to do it. Subscribed!

  • @shayarand
    @shayarand 3 года назад +11

    I think it would be helpful you included all the commands you ran in the description to the video! Great Content Conda!

    • @c0nd4
      @c0nd4  3 года назад +1

      Thanks for the feedback! I will keep this in mind for future videos.

    • @donaldwilliams6821
      @donaldwilliams6821 2 года назад

      @@c0nd4 yes please. You go through them so fast I need to stop do them so I can keep up. Also please increase the size of the fonts.

  • @brucemvanhorn2
    @brucemvanhorn2 Год назад +1

    I recently switched my dev laptop from Windows 11 to pop_os 22 but had trouble getting it joined to AD. I ran the usual realmd install but whenever I tried to sign into the OS from the GUI, I got a grey screen. When I tried it from a console I got a message stating it couldn't figure out what my home folder was, so it defaulted to /. Not good. After a day of fiddling with kererbros defaults, I found this video and it fixed the problem immediately! Thank you!

  • @DanielNjora
    @DanielNjora 2 года назад +3

    Thanks so much for this super guide! It worked perfectly! I look forward to more such stuff. Good job and keep it up.

    • @DanielNjora
      @DanielNjora 2 года назад

      After replicating your "admin" for root access, I am getting error that the user is not authorised to do sudo su and yet the user in in that admin group in domain controller. Not sure when I need fix. Otherwise thanks.

  • @uuuuuhhlettuce3909
    @uuuuuhhlettuce3909 3 года назад +2

    The quality of your videos is great! Thank you for doing this!

    • @c0nd4
      @c0nd4  3 года назад +1

      No problem! Thank you for the support

  • @jegant8216
    @jegant8216 20 дней назад

    It worked like a charm! Thank you!

  • @hmiguelangel
    @hmiguelangel Месяц назад +1

    Thanks a lot! Really helpful

  • @realjoecast
    @realjoecast Год назад

    pretty easy tutorial, helped me find the step i forgot

  • @zackarysilva1618
    @zackarysilva1618 2 года назад +1

    Awesome video, thank you so much! Thought this would have taken much longer!

  • @bmjman6141
    @bmjman6141 3 года назад +6

    permission denied when trying to login.

  • @KL-og8gg
    @KL-og8gg 2 года назад

    next time I will search RUclips first before Google...Good job brother...

  • @sachintribhuvan7283
    @sachintribhuvan7283 3 года назад +1

    Worked perfectly. Thanks Conda..

  • @alexandragroza2611
    @alexandragroza2611 2 года назад +1

    I'm stuck at realm discover. It says there is no such realm. My DNS server sits inside a home server, so the gateway and the DNS server are not the same...maybe that's why, i just don't know how to do it in my case

  • @MoonGlow22
    @MoonGlow22 3 месяца назад +1

    I used realm discover but it couldnt found my domain, I used machine IP for DNS setting and probably thats where my mistake is.
    How can I learn my domains DNS thing?

    • @MoonGlow22
      @MoonGlow22 3 месяца назад

      I wrote "DNS setting > IPv4 DNS server" but it still cant find my domain

    • @MoonGlow22
      @MoonGlow22 3 месяца назад

      Checked it from server manager and its same IP with internet settings thing

  • @bjre.wa.8681
    @bjre.wa.8681 Год назад

    in your terminal screen enlarge the font so a person can actually read whats going on.

  • @pbx1299
    @pbx1299 3 года назад +3

    Hi , can you please tell me how to perform the sudo vim/etc/resolv.conf i am unable to resolve the host and getting temporary failure in name resolution and sudo:vim: command cannot found

    • @kaunon
      @kaunon 6 месяцев назад

      Vim is a texteditor. You can use also sudo nano.

  • @xenom5659
    @xenom5659 2 года назад +1

    How are you able to edit the nameserver address? When I try to change it, none of my changes register, it's like the page cannot be edited.

  • @Jennielync
    @Jennielync 3 года назад +4

    this is really great, but can you please make the font bigger

    • @c0nd4
      @c0nd4  3 года назад

      Definitely will do in the future. Thanks for the feedback!

  • @juanrebella2589
    @juanrebella2589 8 месяцев назад

    Thanks, man!! appreciate you help!

  • @Dennis-Earl-Smiley
    @Dennis-Earl-Smiley 2 года назад +1

    This is the one that worked for me!

  • @sasmitaranisashu
    @sasmitaranisashu 3 года назад +1

    I followed the same step but there is some thing not right with this config as I see its allowing every login even you enter a wrong password. I am looking to see how to fix it.

  • @chandanagrawal7889
    @chandanagrawal7889 3 месяца назад

    If I run id for any of the AD server user, it does not shows the correct uid/gid of user and group it is part of, do you know how to fix that?

  • @krillonusa
    @krillonusa 3 года назад +3

    2:24 Im having an issue with Resolv.config - the whole file is empty and I do not what was shown in the vid. Any ideas why?

    • @dada0900
      @dada0900 2 года назад

      me too. i hope we find someone who can help us.

    • @rosenbergkk
      @rosenbergkk 2 года назад +1

      @@dada0900 If It's empty just type nameserver then go to the next line and type search

  • @richacevedo660
    @richacevedo660 2 года назад

    thank you for the video i have to move our ubuntu desktops from 1 active directory domain to another do you any helpful tips?

  • @sud0b01
    @sud0b01 Год назад

    After finishing everything really worked and I can access with the users. But access to web pages and the internet is not enabled, what could it be?

  • @ITCLOUD13
    @ITCLOUD13 3 года назад +1

    you are the best... very very clear and TOP .. Thanks a lot.. MERCI

    • @c0nd4
      @c0nd4  3 года назад

      Thank you for the support 😁

  • @gonzaloetse29
    @gonzaloetse29 2 года назад

    Which one is the windows set up video? It's not linked as said on the video.

  • @chukwudumebiosemeke2992
    @chukwudumebiosemeke2992 2 года назад

    This was really helpful and precise. Thanks!

  • @IssamAdvans
    @IssamAdvans 3 месяца назад

    Hello, can I specify only certain users to access SSH?

  • @jayc3715
    @jayc3715 4 месяца назад

    I must be missing something, this works until I reboot, then the resolv.conf gets truncated and breaks DNS. Only way I've been able to fix is to enable/start systemd-resolved.service, edit the resolv.conf again, then stop/disable. Which will work until I reboot again.

  • @minhphamhoang2894
    @minhphamhoang2894 2 года назад

    The sudo systemctl set-hostname should be as $ sudo systemctl set-hostname conda.local not ubu-1.conda.local. This helps to alleviate confusion

  • @marcosgonzalezflex
    @marcosgonzalezflex 3 года назад +1

    Hello, I need help, installed ubunto 20.04, but add domian, i have this See: journalctl REALMD_OPERATION=r16127.10824
    realm: Couldn't join realm: Failed to join the domain

    • @c0nd4
      @c0nd4  3 года назад

      Hey, did you make sure to install all of the packages shown in the beginning of the video? Missing packages can cause that error to occur.

  • @hashimalmoosawi4976
    @hashimalmoosawi4976 3 года назад

    Can an Active directory be used along with other Linux servers? If yes, how? If no, Why?

  • @kaunon
    @kaunon 6 месяцев назад

    If ubuntu linux client finds windows server and dns, but domain not found. What could be the reason? You can try telnet connet to 53 port and it works. I try to understand more.

    • @kaunon
      @kaunon 6 месяцев назад

      Maybe it is that you have to edit resolv.conf? It won't work with out it?

  • @LuvxJacqu4li8e
    @LuvxJacqu4li8e 2 года назад

    What good is it to join a Linux computer to a Windows server domain controller

  • @dasgoll
    @dasgoll 3 года назад +1

    Are you running ESXi on a physical server or on a vm??

    • @c0nd4
      @c0nd4  3 года назад

      I run it on a physical server

  • @infraestructuratecnologica3564
    @infraestructuratecnologica3564 2 года назад

    Did you know why i cann't change the password in first login or after for a user?

  • @4ag2
    @4ag2 3 года назад +1

    Interesting! thanks bud ;)

    • @c0nd4
      @c0nd4  3 года назад

      No problem man! Thanks for watching!

  • @tt2009ish
    @tt2009ish 2 года назад +1

    The problem started at 4:14
    * Using GSS-SPNEGO for SASL bind
    ! Couldn't authenticate to active directory: SASL(-4): no mechanism available: No worthy mechs found
    adcli: couldn't connect to Homelab.local domain: Couldn't authenticate to active directory: SASL(-4): no mechanism available: No worthy mechs found
    ! Insufficient permissions to join the domain
    realm: Couldn't join realm: Insufficient permissions to join the domain

  • @neurologicalstyle1763
    @neurologicalstyle1763 3 года назад

    Hi, does the IP of your linux VM matter? What about the network adapters? Thanks :)

  • @Thirumalesh100
    @Thirumalesh100 3 года назад

    Can we add windows machine to linux domain server? if yes , any reference on how to do that

  • @SantoshKumar-rq2pi
    @SantoshKumar-rq2pi 3 года назад

    Please help me on How to apply windows server group policy to Linux client

  • @anuragsom09
    @anuragsom09 Год назад

    very helpful

  • @abineshgopal1906
    @abineshgopal1906 3 года назад

    Hi , I have this kind of issue can you help me. what is issue here ?? realm: Cannot join this realm

  • @imppaco
    @imppaco 3 года назад +2

    You want a challenge? Try to do the same, and implement Smart Card authentication...

    • @RaymondDale
      @RaymondDale 2 месяца назад

      Or fingerprint authentication from such as the Lenovo X230. Now that's fun.

  • @someshwarrao2177
    @someshwarrao2177 2 года назад

    I think the screen resolution could be set properly. It looks so small :-(

  • @yosefm170
    @yosefm170 3 года назад

    can someone explain why I get realm: command not found. I installed the realm package by sudo apt-get install sssd realmd -y

  • @vellakamm4870
    @vellakamm4870 Год назад

    Hi
    Can we try this configuration on cent OS?

  • @maxkeduniya
    @maxkeduniya 3 года назад +1

    i have a question bro !
    i preparing for my oscp right now.
    can i get a job after oscp. plz answer
    thankyou

    • @c0nd4
      @c0nd4  3 года назад +1

      I would say you should have no problem getting an entry level position after you get your OSCP.
      Good luck!

  • @SanjayYadav-pl3kd
    @SanjayYadav-pl3kd 7 месяцев назад

    You have nowhere mentioned about starting sssd service. When you start sssd.service then it will check for /etc/krb5.keytab which is not automatically created. So I am sorry to say that the information provided in this video is not satisfactory.

  • @drucikpk
    @drucikpk 3 года назад

    Will this ubuntu machine appear in computers OU in Active Directory? If not, is it posible to do so?

  • @TheAlirezak
    @TheAlirezak 8 месяцев назад

    at the end a have the message / PERMISSION DENIED 5PUBLICKEY?PASSWORD° how can i fix that ? thanks

  • @GTECHGorakh
    @GTECHGorakh 2 года назад

    How to add ubuntu client to ubuntu server domain

  • @zach446
    @zach446 2 года назад +1

    can confirm pam is kinda painful to fix

  • @XxTWMLxX
    @XxTWMLxX 3 года назад

    0:50 error "E: unable to locate package realm" fully up to date 20.04 ubuntru apt-get update and apt-get upgrade have been run.

    • @c0nd4
      @c0nd4  3 года назад

      Hey, I believe the package name is "realmd" and the command is "realm". Hope that helps. Good luck!

  • @GTECHGorakh
    @GTECHGorakh 2 года назад

    How to join ubuntu server to ubuntu desktop

  • @adilmahomedsalim6609
    @adilmahomedsalim6609 Год назад

    No homo but can i give you a kiss dawg? This is so good. Its amazing. Im setting up a lab and this is just so cool

  • @AJ-xm7vg
    @AJ-xm7vg 3 года назад

    Gui not able to login

  • @Debunked421
    @Debunked421 3 года назад

    I'm getting old bro make your text bigger, not cool with squinting for 12:35 :)

  • @Custom-wf1tz
    @Custom-wf1tz 11 месяцев назад

    alert(1)

  • @Stephen-wh7vl
    @Stephen-wh7vl 2 года назад +2

    lets go Brandon? thx u

  • @volks8426
    @volks8426 3 года назад +1

    First

    • @c0nd4
      @c0nd4  3 года назад +2

      Congratulations! You'll go down in this video's history 🤣

  • @theoallemand6214
    @theoallemand6214 2 года назад

    i love you

  • @stejothepisto
    @stejothepisto 2 года назад

    test

  • @0unhny535
    @0unhny535 3 года назад

    0:33 haarsträubend