The final version of NethServer 7 was release on 02-07-2017 and this is my post for the final NethServer about installing Samba Active Directory and File Sharing.

Installing Samba Active Directory is easy to install NethServer 7 RC1.  To download NethServer 7 RC1, click here.

NethServer 7 RC2 has been released and the instructions for install Samba Active Directory is here .

** Once you install Samba Active Directory, there is a way to delete it but it’s convoluted.  Click here **

To install Samba Active Directory you have to install it on a IP, but not the same IP of the NethServer and not being used, and the NethServer builds a virtual OS in itself for Samba.   I think that should be clearer on the documentation.  Now  I understand why they discuss installing on a virtual machine in the user manual.

The disaster recovery is not working and it’s a bug I reported to NethServer on 9-14-2016.  After doing a restore-configure NethSever seems to be in order, but before and after restore-data none of the users is able to access netlogon, sysvol, and the share I added with File Server even though the computer was allowed to join the domain.

I used VMPlayer on LinuxMint and installed NethServer using root and not my own account.  I installed it with an IP of 192.168.2.100.   Go to the Software Center and here are my steps:

Selecting Samba Active Directory:

Selecting Samba Active Directory
Selecting Samba Active Directory

 

Click Add and Confirm system changes:

Confirm system changes
Confirm system changes

 

After clicking Applying Changes, it installs it and then after several seconds, it says Operation Complete Successful and below that “Configure Samba Active Directory”.

Operation completely successfully
Operation completely successfully

 

After clicking on Configure the next page is asking for an IP and to check “Create a bridge interface for the green network”. Again it’s creating a virtual OS using the IP within NethServer.

Domain controller configuration
Domain controller configuration

 

I used an IP of 192.168.2.101 and click on Start DC.  First process is installing a Root task and it take several minutes to complete.

Root task
Root task

 

The last step is nethserver-dc-join.

nethserver-dc-join
nethserver-dc-join

 

When it’s done it takes a couple of seconds to change showing the first and only user Administrator and the Edit to the right, where you can change the password and I did.

Completed!
Completed!

Note:  I put a new feature to allow the users to show their default groups, i.e. Administrator is Domain Admins and the other users are Domain Groups.  For now there are blank, even though they are their right groups.

 

 

Advertisements

2 thoughts on “NethServer 7 RC1 – Installing Samba Active Directory

  1. Hi Jeff,

    Thank you for your post about Nethserver and Samba.
    I have also spent several days while trying to configure this but unsuccessfull.
    Can you help me?

    I have install 2 Nethservers under VmWare.
    First one have two network interfaces – one ‘red’ for internet and one ‘green’ for LAN (10.101.0.1).
    This is my ‘router’.
    Next I have installed second Nethserver for DC + DNS + DHCP. Second server have only one ‘green’ interface – 10.101.0.2 / 255.255.255.0.

    Then I have installed Samba DC package and configure it:

    Bridge interface address – 10.101.0.3
    DHCP – active, DNS provided by DHCP – 10.101.0.2, default gateway – 10.101.0.1.
    Restarting….

    first look at ifconfig:

    * br0 – 10.101.0.2
    * ens160 (real interface) – have no ipv4 address
    * vb-nsdc – no ipv4 (but i’m expecting for 10.101.0.3)

    ok, try to ping 10.101.0.3 – responding…
    may be ok…..

    Now installing virtual PC with Win7 (for domain member in the future)
    It takes IP via DHCP,
    Internet works fine….

    Trying to join to domain – fail. Error message like this: The discovered DC have address 10.101.0.3 but not responding……

    Hm……
    now ping 10.101.0.3 from Win-PC – no responce…..

    ok….. may be default gateway must point to DC? changing it but no luck.

    now look into /var/log/messages and trigger nethserver-dc-save

    ………
    DC join attempt 3 of 3 failed ……..

    ===================================================
    The server can not start DC….

    Where I can look to throuble shoot this? I have broke my brain……

    Sorry if it is poorly written and difficult to understand

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s