mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r12383: Fixes for Apple's AD client. Don't segfualt in the KDC, and they
require the isSynchronized flag in the rootDSE. Andrew Bartlett
This commit is contained in:
parent
d61817ebb7
commit
e48464c884
@ -335,12 +335,14 @@ krb5_error_code hdb_ldb_check_client_access(krb5_context context, hdb_entry_ex *
|
||||
talloc_free(tmp_ctx);
|
||||
return ret;
|
||||
}
|
||||
|
||||
for (i=0; i < addresses->len; i++) {
|
||||
if (addresses->val->addr_type == KRB5_ADDRESS_NETBIOS) {
|
||||
workstation = talloc_strndup(tmp_ctx, addresses->val->address.data, MIN(addresses->val->address.length, 15));
|
||||
if (workstation) {
|
||||
break;
|
||||
|
||||
if (addresses) {
|
||||
for (i=0; i < addresses->len; i++) {
|
||||
if (addresses->val->addr_type == KRB5_ADDRESS_NETBIOS) {
|
||||
workstation = talloc_strndup(tmp_ctx, addresses->val->address.data, MIN(addresses->val->address.length, 15));
|
||||
if (workstation) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,6 +64,7 @@ serverName: CN=${NETBIOSNAME},CN=Servers,CN=Default-First-Site,CN=Sites,CN=Confi
|
||||
domainFunctionality: 0
|
||||
forestFunctionality: 0
|
||||
domainControllerFunctionality: 2
|
||||
isSyncronized: TRUE
|
||||
|
||||
#Add modules to the list to activate them by default
|
||||
#beware often order is important
|
||||
|
Loading…
Reference in New Issue
Block a user