When Samba is installed on Mandriva Enterprise Server 5, it is possible to login on workstations by authenticating on domain using LDAP, either on Windows® or Linux.
For this, it is required that:
![]() |
Warning |
|---|---|
For Windows® 7 (Seven) workstations, it is necessary to perform prior actions. Some Windows® registry settings must indeed be changed - cf. http://wiki.samba.org/index.php/Windows7: |
HKLM\System\CCS\Services\LanmanWorkstation\Parameters DWORD DomainCompatibilityMode = 1 DWORD DNSNameResolutionRequired = 0
To join a Windows® workstation to a Samba domain, you have to access Systems Properties. For example, right-click on Computer then Properties.
Go to the Computeur Name tab and click on the button.
Fill the domain name and confirm by clicking on the button.
An authentication window appears. Fill then the administrator account that is allowed to join the Samba domain and press the button.
![]() |
Note |
|---|---|
This account correspond to a domain Administrator account created in the Mandriva Management Console. |
This operation may take some time. A new window should appear telling you that you have joined the domain (Mandriva in this example).
You must now reboot the workstation. The Windows® authentication page should offer the domain choice (Mandriva in this example). Log in with a domain User account (user1 in this example).
The authentication method used on GNU/Linux will directly be LDAP.
![]() |
Warning |
|---|---|
For this authentication method, it is necessary to open 389 TCP port in the Mandriva Directory Server server. |
To configure the Mandriva Linux workstation, use the tool Configure your Computer from the menu. Once in the tool, go to the System tab, then click on Authentication as shown in the screenshot below.
Chose the authentication method, ie LDAP.
In the next window, fill the LDAP server in the right field, ie FQDN name (in preference) or the Mandriva Directory Server IP address.
Click then on , the Root DN field should automatically fill with the suffix of your LDAP directory. Finally, click on button.