Hello,
The purpose of this thread is for postings about OMV configured (or hacked :o ) to be a PDC NT domain controller, so every user on my OMV box that has a windows client PC would be able to join the domain, sync passwords and profiles (just what is needed on a average office with centralized services OMV can provide)
As far as I tested I could join my OMV samba domain just adding this options and settings:
In Network, General Settings:
Hostname= quahog
Domain name= mydomain
In CIFS/SMB
Enable= True
Workgroup= quahog.mydomain
Local master browser= True
Time Server= True
Home Directories= True
Browseable= False
WINS Support= True
Extra Options:
max log size = 500
security = user
netbios name = quahog
domain logons = yes
domain master = yes
preferred master = yes
os level = 64
logon path = \\%L\profiles\%U
logon home = \\%L\%U
logon drive = H: (or whatever you like)
logon script = netlogon.bat
unix password sync = yes
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
writable = no
share modes = no
[Profiles]
path = /home/samba/profiles
browseable = no
Alles anzeigen
DNS Service Discovery= True
Local DNS / DHCP
Enable= True
Domain Name= quahog.mydomain
Use WINS entries= True
Then on static entries tabI inserted the PCs names and their IPs
(I have DHCP service configured in my router, so I didnt use OMV DHCP settings, anyway I pointed every setting WINS, DNS, NTP to my OMV server IP, and leave my router as gateway)
Then on the client windows xp PC I configured IP by DHCP... so DNS, WINS, NTP, etc would be OMV server IP. I ping to netbios names from the server and windows clients and the respond rightly as my DNS server has every entry needed.
Then from CLI as root, I ran this commands to configure machines and users for the domain:
(Creating a machines and an admin group)
groupadd -g 200 admins
groupadd -g 201 machines
(Create the directories as named in Extra Options)
mkdir -m 0775 /home/samba /home/samba/netlogon
chown root.admins /home/samba/netlogon
mkdir /home/samba/profiles
chown 1757 /home/samba/profiles
(Adding machine accounts. Each computer and user on the network needs an account)
useradd -g machines -d /dev/null -c "Windows PC1 Client" -s /bin/false winxp1$
So it belongs to machines group, no home directory, any nickname, no shell and I used "winxp1" as the NetBIOS or hostname, and $ identifies it as a trust account.
(Create authentication and password locked)
passwd -l winxp1$
(add machine to samba trust)
smbpasswd -a -m winxp1
(then I added my user, just like adding winxp1$ client before but without password locking the password)
At last, I joined my domain as its done usually, in domain name I typed quahog.mydomain, then it asks your for username and password, there I entered root and the password... and I get joined, so it seems to respond right!
(The only problem :roll: is that when I reboot my windows pc client, when the login screen appears... it lets you choose to login locally or to the quahog.mydomain, so I choose the domain... it it starts loging in BUT the windows PC client justs restarts. I tried with two PCs but happens the same, it seems there is a encryption or trust problem, so windows just restarts. I will have to test some more to get it working)
If anyone have any experience with this or just want to try... it would be great to be able to configure OMV as NT domain controller (PDC) easily! :geek: