先介紹環境AD網域為ad.xxxxxxx.com.tw
這是我smb.conf設定
workgroup = XXXXXXX
server string = Samba Server Version %v
realm = XXXXXXX.COM.TW
server string = DB02
netbios name = linux samba host name
security = ads
password server = AD.XXXXXXX.COM.TW
encrypt passwords = yes
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = +
winbind use default domain = yes
template homedir = /home/winnt/%D/%U
template shell = /bin/bash
我用kinit user@XXXXXXX.COM.TW 測試連線是OK的
但是當我要把host加入網域的時候卻跳出
Our netbios name can be at most 15 chars long, "LINUX SAMBA HOST NAME" is 21 chars long
Invalid configuration. Exiting....
Failed to join domain: The format of the specified computer name is invalid.
請問一下是何解?.........