[Samba] Domain join not happening on Debian/Ubuntu machines
Rowland Penny
rpenny at samba.org
Thu Apr 28 14:33:05 UTC 2022
On Thu, 2022-04-28 at 15:59 +0200, L. van Belle via samba wrote:
>
>
>
>
>
>
>
>
>
>
>
>
> Hai,
>
Someone has a very borked email client (either that, or there is a sale
on for blank lines) :-D
I suggest you remove these lines from the smb.conf:
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword: * %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
unix password sync = Yes
They are only meant for a standalone server.
Change /etc/resolv.conf to this:
search ap.media.global.loc
nameserver AD_DC_IPADDRESS (repeat for all DCs in the
ap.media.global.loc dns domain)
If this Unix domain members hostname is 'ubuntu' replace '127.0.1.1
ubuntu' in /etc/hosts with:
127.0.1.1 ubuntu.ap.media.global.loc ubuntu
If it isn't 'ubuntu' then replace 'ubuntu' with the computers 'FQDN
shorthostname'
Remove the last two lines from /etc/hosts
If you are going to use multiple domains, you will need to use
'trusts'.
Rowland
More information about the samba
mailing list