How connect to windows domain?

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
luca72
Level 2
Level 2
Posts: 97
Joined: Sat Apr 17, 2021 3:10 pm
Location: Milano, Italy

How connect to windows domain?

Post by luca72 »

hello everyone, sorry for the ignorance, but I have been using linux for only a month.
where are the settings to connect to a company windows domain?
what services do you need to add, which are not there by default, on a windows server, to make it talk to linux mint, and manage the user accounts?





Code: Select all

System:    Kernel: 5.8.0-50-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: HP product: HP Laptop 15-dw0xxx v: Type1ProductConfigId 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: HP model: 85F0 v: 36.41 serial: <filter> UEFI: Insyde v: F.43 date: 03/31/2021 
Battery:   ID-1: BAT1 charge: 11.9 Wh condition: 11.9/41.0 Wh (29%) volts: 12.9/11.4 
           model: Hewlett-Packard PABAS0241231 serial: <filter> status: Full 
CPU:       Topology: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP arch: Kaby Lake 
           rev: B L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31999 
           Speed: 800 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
           5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:3ea0 
           Device-2: NVIDIA GM108M [GeForce MX130] driver: nvidia v: 460.73.01 bus ID: 01:00.0 
           chip ID: 10de:174d 
           Display: x11 server: X.Org 1.20.9 driver: modesetting,nvidia 
           unloaded: fbdev,nouveau,vesa tty: N/A 
           OpenGL: renderer: GeForce MX130/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01 direct render: Yes 
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
           Sound Server: ALSA v: k5.8.0-50-generic 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus ID: 02:00.0 
           chip ID: 10ec:8168 
           IF: eno1 state: down mac: <filter> 
           Device-2: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter 
           vendor: Hewlett-Packard driver: rtl8821ce v: v5.5.2.1_35598.20191029 port: 3000 
           bus ID: 03:00.0 chip ID: 10ec:c821 
           IF: wlo1 state: up mac: <filter> 
           IF-ID-1: vboxnet0 state: down mac: <filter> 
Drives:    Local Storage: total: 476.94 GiB used: 108.95 GiB (22.8%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 SDAPNUW-512G-1006 
           size: 476.94 GiB speed: 15.8 Gb/s lanes: 2 serial: <filter> 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 
           bus ID: 00:17.0 chip ID: 8086.282a 
Partition: ID-1: / size: 169.88 GiB used: 108.88 GiB (64.1%) fs: ext4 dev: /dev/nvme0n1p5 
Sensors:   System Temperatures: cpu: 45.0 C mobo: 29.8 C gpu: nvidia temp: 42 C 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/mkusb-ppa-focal.list 
           1: deb http: //ppa.launchpad.net/mkusb/ppa/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //packages.linuxmint.com ulyssa main upstream import backport
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 251 Uptime: 23m Memory: 7.66 GiB used: 2.46 GiB (32.1%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
RowlandP
Level 4
Level 4
Posts: 223
Joined: Tue Jan 26, 2021 7:30 am

Re: How connect to windows domain?

Post by RowlandP »

It depends, do you just want authentication, or do you want authentication and be able to share files from the laptop ?
For just authentication, you can use sssd and realmd, but, if you want to share files from the laptop, you need to use Samba.

I can help with Samba, but cannot with sssd.
luca72
Level 2
Level 2
Posts: 97
Joined: Sat Apr 17, 2021 3:10 pm
Location: Milano, Italy

Re: How connect to windows domain?

Post by luca72 »

RowlandP wrote: Sat May 15, 2021 8:00 am It depends, do you just want authentication, or do you want authentication and be able to share files from the laptop ?
For just authentication, you can use sssd and realmd, but, if you want to share files from the laptop, you need to use Samba.

I can help with Samba, but cannot with sssd.
thanks, I would like to connect with the company "username and password" windows credentials, from virtualbox, I want to do the experiment of running a management program on linux, then I'll think about it, so I have to install those two apt? where are the settings to enter the domain name in linux? I've tried with other distros, and none of them connect to the domain
i don't know what it uses, samba i think for sure, but i think it's all by default, it's a pretty basic server
I think samba is running, because the copier's scan to folder functions also work on the serve folders
RowlandP
Level 4
Level 4
Posts: 223
Joined: Tue Jan 26, 2021 7:30 am

Re: How connect to windows domain?

Post by RowlandP »

If you just want authentication, then use sssd and realmd to join the domain. I cannot (and will not) help you with this, as I do not use sssd, so know nothing about it.
conceptabiznet
Level 1
Level 1
Posts: 1
Joined: Fri Nov 12, 2021 8:02 pm

Re: How connect to windows domain?

Post by conceptabiznet »

I came across Cid tool works well, I tested on fedora, Ubuntu, mint, zorin and other distributions, it's user-friendly, it gives the joining domain process like in Windows, plus you can choose the OU where to put the machine. Here is the link: https://cid-doc.github.io/
1. Naming the computer using your organisation machine naming convention, same like in Windows.
2. Configuring valid DNS Servers on your computer
sudo add-apt-repository ppa:emoraes25/cid
sudo apt update
sudo apt install cid cid-gtk
Alternately you can use my bash script from the link below:
https://github.com/nsongila/adjoinerusi ... s/main.zip
You modify and improve it if you want.
arosales047
Level 1
Level 1
Posts: 1
Joined: Wed Feb 23, 2022 6:14 pm

Re: How connect to windows domain?

Post by arosales047 »

conceptabiznet hello, i have tryed to use you script but i have a problem with one " ( " i don't have any experience with programimng languages, could you help me?
User avatar
karlchen
Level 23
Level 23
Posts: 18155
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: How connect to windows domain?

Post by karlchen »

Note, user conceptabiznet was present in this forum precisely only for 1 day, when he submitted his post. Never seen again since. Unlikely conceptabiznet will answer any questions.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 750 days now.
Lifeline
RowlandP
Level 4
Level 4
Posts: 223
Joined: Tue Jan 26, 2021 7:30 am

Re: How connect to windows domain?

Post by RowlandP »

I wouldn't run that script, all it does is to install Samba and CID, it doesn't set up the OS correctly and it certainly doesn't set up Samba.
Locked

Return to “Networking”