struct server_id server_id,
DATA_BLOB *data)
{
- struct smbd_server_connection *sconn;
const char *sharename = (const char *)data->data;
+ struct smbd_server_connection *sconn =
+ talloc_get_type(private_data,
+ struct smbd_server_connection);
- sconn = msg_ctx_to_sconn(msg);
if (sconn == NULL) {
- DEBUG(1, ("could not find sconn\n"));
return;
}