In order to join a file server to the Active Directory domain intra.example.com, the following smb.conf has been created:



[global]
    workgroup = intra.example.com
    netbios name = Fileserver
    server role = member server
    idmap config * : backend = tdb
    idmap config * : range = 10000-199999
    winbind enum users = yes
    winbind enum group = yes

The command net ads join raises an error and the server is not joined to the domain. What should be done to successfully join the domain?

A. Change server role to ad member server to join an Active Directory domain instead of an NT4 domain.
B. Add realm = intra.example.com to the smb.conf and change workgroup to the domain's netbios workgroup name.
C. Manually create a machine account in the Active Directory domain and specify the machine account's name with –U when starting net ads join.
D. Remove the winbind enum users and winbind enum groups since winbind is incompatible with Active Directory domains.
E. Remove all idmap configuration stanzas since the id mapping is defined globally in an Active Directory domain and cannot be changed on a member server.

題解

選項A,錯誤。

選項B,正確。

選項C,錯誤,

選項D,錯誤,

選項E,錯誤,