по статье http://www.lissyara.su/?id=1375
/etc/krb5.conf
Код: Выделить всё
[libdefaults]
default_realm = COMPANY.BY
[realms]
SRV01.COMPANY.BY = {
kdc = SRV01.COMPANY.BY
admin_server = SRV01.COMPANY.BY
}
[domain_realm]
.fenster.by = COMPANY.BY
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
Код: Выделить всё
[global]
workgroup = COMPANY
security = ADS
password server = srv01.COMPANY.BY
realm = COMPANY.BY
netbios name = SQUID
server string = Proxy server of COMPANY
log file = /var/log/samba/%m.%U.log
max log size = 50000
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
display charset = koi8-r
unix charset = koi8-r
dos charset = 866
template homedir = /usr/home/%D/%U
template shell=/bin/csh
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
use client driver = yes
public = No
но ввести в домен не получается
Код: Выделить всё
net join -U administrator
administrator's password:
Using short domain name -- FENSTER
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Deleted account for 'SQUID' in realm 'FENSTER.BY'
Failed to join domain: Type or value exists
ADS join did not work, falling back to RPC...
Unable to find a suitable server
Unable to find a suitable server