Код: Выделить всё
[global]
workgroup = MYDOMAIN
security = ads
password server = ad.mydomain
realm = mydomain
netbios name = proxy
server string = Proxy server of mydomain
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
Код: Выделить всё
libdefaults]
default_realm = MYDOMAIN
[realms]
MYDOMAIN = {
kdc = AD.MYDOMAIN
admin_server = AD.MYDOMAIN
}
[domain_realm]
.mydomain = MYDOMAIN
[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log
Код: Выделить всё
winbind_enable="YES"
Код: Выделить всё
kinit administartor
Код: Выделить всё
kinit: krb5_init_context failed: 22
Код: Выделить всё
net ads join -U administrator%password
Код: Выделить всё
[2009/05/27 10:53:54, 0] libads/sasl.c:ads_sasl_spnego_bind(330)
kinit succeeded but ads_sasl_spnego_krb5_bind failed: Invalid credentials
Failed to join domain: Invalid credentials