[Samba] Samba on Debian 8; NT4 domain, win10

Rowland Penny rpenny at samba.org
Thu Dec 1 14:54:33 UTC 2016

On Thu, 1 Dec 2016 15:38:16 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:

> I want too much it seems.
> NT4-domain was "OFFICE", and I ran classicupgrade with
> "--realm=my.tld" as I wanted to rename the domain to the company's
> name (TLD) during the conversion.
> I assume that is too much at once?

No, NT4-domain and realm are different and I don't think you can
actually set the realm that way.

NT4-domain has a few names, 'workgroup' or 'netbiosname' being the two
main ones. 
realm is always the domain name in uppercase.

You should either have seen this:

No realm specified in smb.conf file and being a DC. That upgrade path
doesn't work! Please add a 'realm' directive to your old smb.conf to
let us know which one you want to use (it is the DNS name of the AD
domain you wish to create.

Or this:

No realm specified in smb.conf file, assuming '%s' (with '%s' being
replaced with the dns domain name)

If you are unsure just which REALM name you are using, it will be shown
in the krb5.conf file the upgrade created, or you could run:

ldbedit -e nano -H /usr/local/samba/private/sam.ldb

This will display the entire AD database and your realm will be the
last part of any 'dn' and will be something like:



More information about the samba mailing list