Choose style:

Author Topic: Joining P9 to Active Directory domain <SOLVED>  (Read 535 times)

0 Members and 1 Guest are viewing this topic.

Offline MNFrozenfish

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 16
  • Smile! - It makes people wonder what you're up to.
    • View Profile
  • Peppermint version(s): Peppermint 9 Respin-64 bit / P10
Joining P9 to Active Directory domain <SOLVED>
« on: January 04, 2019, 10:29:00 pm »
I apologize in advance as I'm sure this has been answered before, but I am unable to find a solution in searching the forum.
My question is, how do I join a Peppermint 9 box to a Windows AD domain and configure an auto login with an AD account on that box?
Thanks in advance
« Last Edit: January 07, 2019, 03:39:49 pm by MNFrozenfish »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24806
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Joining P9 to Active Directory domain
« Reply #1 on: January 05, 2019, 09:18:09 am »
Peppermint 9 is built upon Ubuntu 18.04, so see if this helps
https://bitsofwater.com/2018/05/08/join-ubuntu-18-04-to-active-directory/
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline MNFrozenfish

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 16
  • Smile! - It makes people wonder what you're up to.
    • View Profile
  • Peppermint version(s): Peppermint 9 Respin-64 bit / P10
Re: Joining P9 to Active Directory domain
« Reply #2 on: January 05, 2019, 08:18:38 pm »
Thanks for the information. Looks like it will work, I will mark as Solved when I have had a chance to test. I've been away since P5, so I'm a bit rusty.  ;)

Offline perknh

  • Trusted User
  • Hero
  • *****
  • Posts: 3779
  • Karma: 294
  • Soy un huevo que adora Peppermint.
    • View Profile
  • Peppermint version(s): P10 & P9 Respin w/4.18 kernel
Re: Joining P9 to Active Directory domain
« Reply #3 on: January 05, 2019, 10:18:10 pm »
Thanks for the information. Looks like it will work, I will mark as Solved when I have had a chance to test. I've been away since P5, so I'm a bit rusty.  ;)

Wow!  Welcome back, MNFrozenfish!!

I'm happy to see you, and that unforgettable name of yours, back in the forum!  You were one of the first guys from Peppermint's old forum who helped me get started with Linux when I began playing with Peppermint 3 back then on a flash drive.  And as you can see, Linux Peppermint OS has matured a lot since the Peppermint 3, 4, and 5 days, even though Peppermint's community and forum has remained as supportive and fun as as ever.

Glad to see you again, MNFrozenfish!! :)





We're all Peppermint users and that's what matters  ;).  -- AndyInMokum

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24806
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Joining P9 to Active Directory domain
« Reply #4 on: January 06, 2019, 01:12:30 pm »
Yeah please let us know how you get on, it'll be useful information for others with the same network setup.

You might also need SMBv1 .. here's a good place to start for that:
https://forum.peppermintos.com/index.php/topic,7507.msg76938.html#msg76938
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline MNFrozenfish

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 16
  • Smile! - It makes people wonder what you're up to.
    • View Profile
  • Peppermint version(s): Peppermint 9 Respin-64 bit / P10
Re: Joining P9 to Active Directory domain
« Reply #5 on: January 06, 2019, 05:33:26 pm »
Yeah please let us know how you get on, it'll be useful information for others with the same network setup.

You might also need SMBv1 .. here's a good place to start for that:
https://forum.peppermintos.com/index.php/topic,7507.msg76938.html#msg76938

Returns - The topic or board you are looking for appears to be either missing or off limits to you.

Looks like I need to be more active on the forum.  :D ;D ::) :-\

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 3984
  • Karma: 856
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: Joining P9 to Active Directory domain
« Reply #6 on: January 07, 2019, 07:43:46 am »
That's because he linked to a thread in a part of the forum that's restricted to Trusted Users and higher.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24806
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Joining P9 to Active Directory domain
« Reply #7 on: January 07, 2019, 02:12:53 pm »
My apologies .. here's what the linked post said...



I had to set up some mapped network drives on a bunch of Windows 10 workstations yesterday .. to automount some shares from some older NAS's.

Well I spent half a day trying to figure out why one single Windows 10 machine flatly refused to allow me to browse the network. It turns out that

a) The NAS's were using SMB v1

b) If you install Windows 10 >= 1709 SMB v1 isn't installed

c) If you Installed an earlier version of Win10 where SMB v1 was installed, then applied the "Fall Creators" update .. the update would uninstall SMB v1 after 15 days if it didn't detect it had been used in that time.

https://support.microsoft.com/en-gb/help/4034314/smbv1-is-not-installed-by-default-in-windows

Now IIRC we've had some questions previously on the forum from people saying stuff like "PM9 screwed up my network shares, they worked in PM8" or "PM9 can't see my Win10 PC", etc.

So if this comes up again, probably the easiest solution would be to make sure SMB v1 is installed/enabled in both Windows 10 .. AND .. Peppermint 9

Instructions for enabling SMB v1 in Peppermint 9 can be found here:
https://forum.peppermintos.com/index.php/topic,7086.msg72516.html#msg72516

Instructions for making sure SMB v1 is installed in Windows 10:-
  • Search in the start menu for ‘Turn Windows features on or off’ and start it.
  • In the resulting dialog window search for ‘SMB1.0/CIFS File Sharing Support’ in the list of options offered, and tick the box next to it.
  • Click OK and Windows will download/install it .. You should then be prompted to reboot the PC, but if not reboot anyway.
(it's important that you REBOOT Windows because it does that very 'Windowy' thing where it's installed as part of the shutdown and bootup process)



As additional info, it turns out there was a firmware update available for the NAS's in question that enabled a later version of SMB (3 I think) .. but even after updating the firmware and enabling the later SMB .. then rebooting EVERYTHING .. Windows STILL couldn't see the NAS's.

So it looks like SMB >= v2 is a bit hit and miss in both Windows and Linux at the moment .. hence this post.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline MNFrozenfish

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 16
  • Smile! - It makes people wonder what you're up to.
    • View Profile
  • Peppermint version(s): Peppermint 9 Respin-64 bit / P10
Re: Joining P9 to Active Directory domain
« Reply #8 on: January 07, 2019, 03:24:01 pm »
I was able to join the domain following:
Peppermint 9 is built upon Ubuntu 18.04, so see if this helps
https://bitsofwater.com/2018/05/08/join-ubuntu-18-04-to-active-directory/
It took a bit of tweaking to the paths and scripts, but for the most part just followed the post.
I didn't need any of the "Might need" links to get it connected.
Thanks again.

Footnote: The purpose of the box in question was to run a house built Unity application that Windoze updates breaks regularly. After talking to my fellow techs we have determined that a P9 box with Comodo AV will serve the purpose without adding it to the domain. The curious part of me still had to test and now I know.  :)
Now to set up an autologin account that auto starts the app...

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24806
  • Karma: 2733
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Joining P9 to Active Directory domain <SOLVED>
« Reply #9 on: January 07, 2019, 05:49:20 pm »
Nice .. glad it works, thanks for letting us know :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec