Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Dec 20 13:13:17 CET 2011 on sn-devel-104
size_t len;
if (!tldap_get_single_valueblob(msg, attribute, &val)) {
size_t len;
if (!tldap_get_single_valueblob(msg, attribute, &val)) {
}
if (!convert_string_talloc(mem_ctx, CH_UTF8, CH_UNIX,
val.data, val.length,
}
if (!convert_string_talloc(mem_ctx, CH_UTF8, CH_UNIX,
val.data, val.length,
if ( (key = des_salt_key()) == NULL ) {
DEBUG(0,("kerberos_secrets_fetch_des_salt: failed to generate key!\n"));
if ( (key = des_salt_key()) == NULL ) {
DEBUG(0,("kerberos_secrets_fetch_des_salt: failed to generate key!\n"));
}
salt = (char*)secrets_fetch( key, NULL );
}
salt = (char*)secrets_fetch( key, NULL );
if (!NT_STATUS_IS_OK(status)) {
DEBUG(99, ("No master browsers responded: %s\n",
nt_errstr(status)));
if (!NT_STATUS_IS_OK(status)) {
DEBUG(99, ("No master browsers responded: %s\n",
nt_errstr(status)));
}
for (i = 0; i < count; i++) {
}
for (i = 0; i < count; i++) {
if (!netsamlogon_cache_init()) {
DEBUG(0,("netsamlogon_cache_get: cannot open %s for write!\n",
NETSAMLOGON_TDB));
if (!netsamlogon_cache_init()) {
DEBUG(0,("netsamlogon_cache_get: cannot open %s for write!\n",
NETSAMLOGON_TDB));
}
/* Prepare key as DOMAIN-SID/USER-RID string */
}
/* Prepare key as DOMAIN-SID/USER-RID string */
/* remember that the record_size is in the 4 bytes preceeding the record itself */
if ( !prs_set_offset( &hbin->ps, file->data_offset+HBIN_HDR_SIZE-sizeof(uint32) ) )
/* remember that the record_size is in the 4 bytes preceeding the record itself */
if ( !prs_set_offset( &hbin->ps, file->data_offset+HBIN_HDR_SIZE-sizeof(uint32) ) )
record_size = 0;
header = 0;
record_size = 0;
header = 0;
}
if ( !prs_set_offset( &hbin->ps, curr_off) )
}
if ( !prs_set_offset( &hbin->ps, curr_off) )
if ( !prs_uint32( "rec_size", &hbin->ps, 0, &record_size ) )
if ( !prs_uint32( "rec_size", &hbin->ps, 0, &record_size ) )
if ( !prs_uint32( "header", &hbin->ps, 0, &header ) )
if ( !prs_uint32( "header", &hbin->ps, 0, &header ) )
SMB_ASSERT( record_size != 0 );
SMB_ASSERT( record_size != 0 );
DEBUG(10,("read_hbin_block: free space offset == 0x%x\n", hbin->free_off));
if ( !prs_set_offset( &hbin->ps, file->data_offset+HBIN_HDR_SIZE ) )
DEBUG(10,("read_hbin_block: free space offset == 0x%x\n", hbin->free_off));
if ( !prs_set_offset( &hbin->ps, file->data_offset+HBIN_HDR_SIZE ) )
for the record */
if ( !prs_uint32("allocated_size", &hbin->ps, 0, &size) )
for the record */
if ( !prs_uint32("allocated_size", &hbin->ps, 0, &size) )
update_free_space( hbin, size );
update_free_space( hbin, size );
TYPESAFE_QSORT(parent->subkeys.hashes, parent->subkey_index, hashrec_cmp);
if ( !hbin_prs_lf_records( "lf_rec", parent->subkeys.hbin, 0, parent ) )
TYPESAFE_QSORT(parent->subkeys.hashes, parent->subkey_index, hashrec_cmp);
if ( !hbin_prs_lf_records( "lf_rec", parent->subkeys.hbin, 0, parent ) )
}
/* write the security descriptor */
}
/* write the security descriptor */
prs_set_offset( &nk->hbin->ps, nk->hbin_off );
if ( !prs_nk_rec( "nk_rec", &nk->hbin->ps, 0, nk ) )
prs_set_offset( &nk->hbin->ps, nk->hbin_off );
if ( !prs_nk_rec( "nk_rec", &nk->hbin->ps, 0, nk ) )
if ( nk->num_values ) {
if ( !hbin_prs_vk_records( "vk_records", vlist_hbin, 0, nk, file ) )
if ( nk->num_values ) {
if ( !hbin_prs_vk_records( "vk_records", vlist_hbin, 0, nk, file ) )
dptr->wcard, dptr->attr))) {
DEBUG(4,("dptr_get: Failed to open %s (%s)\n",dptr->path,
strerror(errno)));
dptr->wcard, dptr->attr))) {
DEBUG(4,("dptr_get: Failed to open %s (%s)\n",dptr->path,
strerror(errno)));
}
}
DLIST_PROMOTE(sconn->searches.dirptrs,dptr);
}
}
DLIST_PROMOTE(sconn->searches.dirptrs,dptr);
SMB_NTQUOTA_HANDLE *qt_handle;
if (!mem_ctx)
SMB_NTQUOTA_HANDLE *qt_handle;
if (!mem_ctx)
qt_handle = talloc_zero(mem_ctx,SMB_NTQUOTA_HANDLE);
if (qt_handle==NULL) {
qt_handle = talloc_zero(mem_ctx,SMB_NTQUOTA_HANDLE);
if (qt_handle==NULL) {
DEBUG(10,("wcache_tdc_fetch_domain: Searching for domain %s\n", name));
if ( !init_wcache() ) {
DEBUG(10,("wcache_tdc_fetch_domain: Searching for domain %s\n", name));
if ( !init_wcache() ) {
sid_string_dbg(sid)));
if (!init_wcache()) {
sid_string_dbg(sid)));
if (!init_wcache()) {