Hello, I have a Samba DC as below: # samba-tool domain info 192.168.56.7 Forest? ? ? ? ? ?: mydomain.z Domain? ? ? ? ? ?: mydomain.z Netbios domain? ?: MYDOMAIN DC name? ? ? ? ? : mydc.mydomain.z DC netbios name? : MYDC Server site? ? ? : Default-First-Site-Name Client site? ? ? : Default-First-Site-Name And I want to join my Linux client to my Samba DC. The content of "smb.conf" file on my Linux client is: [global] ? ?workgroup = MYDC ? ?security = ADS ? ?realm = MYDC.MYDOMAIN.Z ? ?winbind refresh tickets = Yes ? ?vfs objects = acl_xattr ? ?map acl inherit = Yes ? ?store dos attributes = Yes ? ?dedicated keytab file = /etc/krb5.keytab ? ?kerberos method = secrets and keytab ? ?winbind use default domain = yes ? ?idmap config * : backend = tdb ? ?idmap config * : range = 3000-7999 ? ?idmap config MYDC : backend = rid ? ?idmap config MYDC : range = 10000-999999 # Template settings for login shell and home directory ? ?template shell = /bin/bash ? ?template homedir = /home/%U When I tried to join my Linux client to my Samba DC, then I got below error: # net ads join -U administrator Enter administrator's password: Failed to join domain: failed to find DC for domain MYDC - The object was not found. Why? Which part of configuration is wrong? Thank you.
On 26/05/2021 08:21, Jason Long via samba wrote:> Hello, > I have a Samba DC as below: > > # samba-tool domain info 192.168.56.7 > Forest? ? ? ? ? ?: mydomain.z > Domain? ? ? ? ? ?: mydomain.z > Netbios domain? ?: MYDOMAIN > DC name? ? ? ? ? : mydc.mydomain.z > DC netbios name? : MYDC > Server site? ? ? : Default-First-Site-Name > Client site? ? ? : Default-First-Site-Name > > > And I want to join my Linux client to my Samba DC. The content of "smb.conf" file on my Linux client is: > > [global] > ? ?workgroup = MYDCThe workgroup should be 'MYDOMAIN' Rowland
Hello,
I changed "workgroup" to "MYDOMAIN" and I got below error:
# net ads join -U administrator
Enter administrator's password:
Failed to join domain: failed to find DC for domain MYDOMAIN - The object was
not found.
Then, I?changed "workgroup" to "MYDOMAIN.Z" and I got below
error:
# net ads join -U administrator
Enter administrator's password:
Failed to join domain: failed to find DC for domain MYDOMAIN.Z - {Operation
Failed} The requested operation was unsuccessful.
Why?
On Wednesday, May 26, 2021, 12:59:39 PM GMT+4:30, Rowland penny via samba
<samba at lists.samba.org> wrote:
On 26/05/2021 08:21, Jason Long via samba wrote:
> Hello,
> I have a Samba DC as below:
>
> # samba-tool domain info 192.168.56.7
> Forest? ? ? ? ? ?: mydomain.z
> Domain? ? ? ? ? ?: mydomain.z
> Netbios domain? ?: MYDOMAIN
> DC name? ? ? ? ? : mydc.mydomain.z
> DC netbios name? : MYDC
> Server site? ? ? : Default-First-Site-Name
> Client site? ? ? : Default-First-Site-Name
>
>
> And I want to join my Linux client to my Samba DC. The content of
"smb.conf" file on my Linux client is:
>
> [global]
>? ? ?workgroup = MYDC
The workgroup should be 'MYDOMAIN'
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions:? https://lists.samba.org/mailman/options/samba