iT邦幫忙

0

關於centos samba加入AD失敗時跳出的訊息

先介紹環境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.

請問一下是何解?.........

ayu iT邦好手 2 級 ‧ 2014-08-06 03:49:29 檢舉
就我的認知,
server string 指的是這部samba server的註解, 隨便寫無妨
netbios name 才是這部samba server在netbios上的主機名稱, 不宜有空白字元免徒生困擾.
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

4
James
iT邦大師 6 級 ‧ 2014-08-06 08:52:21
最佳解答

loke0204提到:
netbios name = linux samba host name

這裡要改

我要發表回答

立即登入回答