search for: talloc_get_type_abort

Displaying 7 results from an estimated 7 matches for "talloc_get_type_abort".

Did you mean: _talloc_get_type_abort
2018 Nov 07
2
Avoiding constant HDD access
On Thu, Nov 08, 2018 at 06:12:40AM +1300, Andrew Bartlett wrote: > On Wed, 2018-11-07 at 15:19 +0300, Albert Berger via samba wrote: > >  > > I tried in sequence to start Samba in following conditions: > > > > 1. With all clients disconnected from Samba server; > > 2. As above + all shares disabled; > > 3. As above + minimal smb.conf > > 4. With
2018 Nov 07
0
Avoiding constant HDD access
...he explanation? SMBD_HOUSEKEEPING_INTERVAL is 60 seconds, and run on a tevent timer event, and it implements: * * Do the recurring log file and smb.conf reload checks. */ static bool housekeeping_fn(const struct timeval *now, void *private_data) { struct smbd_server_connection *sconn = talloc_get_type_abort( private_data, struct smbd_server_connection); DEBUG(5, ("housekeeping\n")); change_to_root_user(); /* update printer queue caches if necessary */ update_monitored_printq_cache(sconn->msg_ctx); /* check if we need to reload se...
2018 Nov 08
3
Avoiding constant HDD access
...s 60 seconds, and run on a tevent > timer event, and it implements: > > * > * Do the recurring log file and smb.conf reload checks. > */ > > static bool housekeeping_fn(const struct timeval *now, void > *private_data) { > struct smbd_server_connection *sconn = talloc_get_type_abort( > private_data, struct smbd_server_connection); > > DEBUG(5, ("housekeeping\n")); > > change_to_root_user(); > > /* update printer queue caches if necessary */ > update_monitored_printq_cache(sconn->msg_ctx); &...
2017 Jan 12
2
Problems with bind9_dlz when rndc is reloaded
...n-2017 12:12:03.317 12-Jan-2017 11:34:35.317 general: zone_settimer: managed-keys-zone : enter 12-Jan-2017 11:34:35.317 general: automatic empty zone: 10.IN-ADDR.ARPA This is the destroy function used by bind9_dlz: _PUBLIC_ void dlz_destroy(void *dbdata) { struct dlz_bind9_data *state = talloc_get_type_abort(dbdata, struct dlz_bind9_data); state->log(ISC_LOG_INFO, "samba_dlz: shutting down"); dlz_bind9_state_ref_count--; if (dlz_bind9_state_ref_count == 0) { talloc_unlink(state, state->samdb); talloc_free(state); d...
2017 Jan 12
0
Problems with bind9_dlz when rndc is reloaded
...4:35.317 general: zone_settimer: managed-keys-zone : enter > 12-Jan-2017 11:34:35.317 general: automatic empty zone: 10.IN-ADDR.ARPA > > This is the destroy function used by bind9_dlz: > > > _PUBLIC_ void dlz_destroy(void *dbdata) > { > struct dlz_bind9_data *state = talloc_get_type_abort(dbdata, > struct dlz_bind9_data); > state->log(ISC_LOG_INFO, "samba_dlz: shutting down"); > > dlz_bind9_state_ref_count--; > if (dlz_bind9_state_ref_count == 0) { > talloc_unlink(state, state->samdb); > tal...
2017 Jan 27
2
Problems with bind9_dlz when rndc is reloaded
...managed-keys-zone : enter >> 12-Jan-2017 11:34:35.317 general: automatic empty zone: 10.IN-ADDR.ARPA >> >> This is the destroy function used by bind9_dlz: >> >> >> _PUBLIC_ void dlz_destroy(void *dbdata) >> { >> struct dlz_bind9_data *state = talloc_get_type_abort(dbdata, >> struct dlz_bind9_data); >> state->log(ISC_LOG_INFO, "samba_dlz: shutting down"); >> >> dlz_bind9_state_ref_count--; >> if (dlz_bind9_state_ref_count == 0) { >> talloc_unlink(state, state->samd...
2017 Jan 12
2
Problems with bind9_dlz when rndc is reloaded
Mathias, Thanks for your reply. Please, try to start your bind with some debug level and run commando "rndc reload" and see the end of the log. I saw samba source code and found the destroy dns function in dlz_bind9.c and called by turture blz_bind9.c. When dlz_bind9.c is shutting down, I get this error when I try to update dns. update failed: NOTAUTH Failed nsupdate: 2