mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s4:auth Remove event context from anonymous_session()
This should always return a simple structure with no need to consult a DB, so remove the event context, and simplfy to call helper functions that don't look at privilages. Andrew Bartlett
This commit is contained in:
@ -442,7 +442,7 @@ static void ldapsrv_accept_nonpriv(struct stream_connection *c)
|
||||
NTSTATUS status;
|
||||
|
||||
status = auth_anonymous_session_info(
|
||||
c, c->event.ctx, ldapsrv_service->task->lp_ctx, &session_info);
|
||||
c, ldapsrv_service->task->lp_ctx, &session_info);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
stream_terminate_connection(c, "failed to setup anonymous "
|
||||
"session info");
|
||||
|
Reference in New Issue
Block a user