[Samba] Problem with AD DC
Ronald Vyhmeister
ronald.vyhmeister at meu.edu.lb
Sun Oct 15 11:11:52 UTC 2017
Thank you for your reply. This was not a random link I followed. I have
reviewed the Samba documentation at
https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller,
and all the testing that is listed there results in correct and expected
answers... I had already noted the /etc/hosts situation, which interestingly
does not change the answers I get in testing (I've tried it both ways, just
in case).
The network manager is not running. The server is running Ubuntu 16.04 LTS
without a GUI.
As I noted I can also connect to the server with the \\servername and
entering "administrator" as the username and then the password. No errors
there.
What I'm trying now to do is to join a Windows 10 box to the AD domain
served by SAMBA, and when I do that is when I get the error that the
username or password is incorrect.
Are there any restrictions on password contents? I am using a generated
password that contains plenty of special characters. I am not aware of any
(and would hope they don't exist).
Thanks again for your feedback. I hope we can find the solution!
Ron
-----------------------------------------------------------------------------------------
Ronald Vyhmeister, PhD
Academic Dean
Middle East University
Beirut, Lebanon
ronald.vyhmeister at meu.edu.lb
Mobile:+961-81767015
Technology is dominated by two kinds of people:
Those who manage what they do not understand
and those who understand that which they do not manage.
-----Original Message-----
From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland
Penny via samba
Sent: Sunday, October 15, 2017 1:49 PM
To: samba at lists.samba.org
Subject: Re: [Samba] Problem with AD DC
On Sun, 15 Oct 2017 12:00:07 +0300
Ronald Vyhmeister via samba <samba at lists.samba.org> wrote:
> I’ve just set up an AD DC on Ubuntu 16.04, using the instructions
> found at
> https://jimshaver.net/2016/05/30/setting-up-an-active-directory-domain-controller-using-samba-4-on-ubuntu-16-04/.
> All the tests work fine. I’m able to connect from my Windows 10 box
> when I connect to \\servername <file://servername> (and authenticate
> as administrator).
>
That howto is fine as far as it goes, but it is littered with errors, for
instance:
sudo apt-get install attr build-essential libacl1-dev libattr1-dev \
libblkid-dev libgnutls-dev libreadline-dev python-dev libpam0g-dev \
python-dnspython gdb pkg-config libpopt-dev libldap2-dev \
dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl ntp
ntpdate winbind
You only need most of the above if you are going to compile Samba yourself.
You also do not need to alter /etc/fstab if you are using ext4.
>
> However, when I try to join the machine to the domain, I get this
> error: “The username or password is incorrect.”
What do you mean 'join the machine to the domain', you have a DC, it will
have been self-joined during the provision ?
>
>
>
> Obviously the username (administrator) and the password are valid, as
> I can browse the server… Any ideas?
>
Yes, ignore random howto's found on the internet, read the Samba wiki:
https://wiki.samba.org/index.php/Main_Page
I will give you hint, this is so wrong:
/etc/hosts
127.0.1.1 dc1.shaver.net dc1
it should be, based on the info in the howto:
192.168.0.200 dc1.shaver.net dc1
Also, you should comment out the line 'dns-dnsmasq' in '/etc/NetworkManager/
NetworkManager.cof'
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
-----------------------------------------------------------------------------------------
Ronald Vyhmeister, PhD
Academic Dean
Middle East University
Beirut, Lebanon
ronald.vyhmeister at meu.edu.lb
Mobile:+961-81767015
Technology is dominated by two kinds of people:
Those who manage what they do not understand
and those who understand that which they do not manage.
-----Original Message-----
From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland
Penny via samba
Sent: Sunday, October 15, 2017 1:49 PM
To: samba at lists.samba.org
Subject: Re: [Samba] Problem with AD DC
On Sun, 15 Oct 2017 12:00:07 +0300
Ronald Vyhmeister via samba <samba at lists.samba.org> wrote:
> I’ve just set up an AD DC on Ubuntu 16.04, using the instructions
> found at
> https://jimshaver.net/2016/05/30/setting-up-an-active-directory-domain-controller-using-samba-4-on-ubuntu-16-04/.
> All the tests work fine. I’m able to connect from my Windows 10 box
> when I connect to \\servername <file://servername> (and authenticate
> as administrator).
>
That howto is fine as far as it goes, but it is littered with errors, for
instance:
sudo apt-get install attr build-essential libacl1-dev libattr1-dev \
libblkid-dev libgnutls-dev libreadline-dev python-dev libpam0g-dev \
python-dnspython gdb pkg-config libpopt-dev libldap2-dev \
dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl ntp
ntpdate winbind
You only need most of the above if you are going to compile Samba yourself.
You also do not need to alter /etc/fstab if you are using ext4.
>
> However, when I try to join the machine to the domain, I get this
> error: “The username or password is incorrect.”
What do you mean 'join the machine to the domain', you have a DC, it will
have been self-joined during the provision ?
>
>
>
> Obviously the username (administrator) and the password are valid, as
> I can browse the server… Any ideas?
>
Yes, ignore random howto's found on the internet, read the Samba wiki:
https://wiki.samba.org/index.php/Main_Page
I will give you hint, this is so wrong:
/etc/hosts
127.0.1.1 dc1.shaver.net dc1
it should be, based on the info in the howto:
192.168.0.200 dc1.shaver.net dc1
Also, you should comment out the line 'dns-dnsmasq' in '/etc/NetworkManager/
NetworkManager.cof'
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list