diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-25 09:17:40 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-25 20:55:06 +0200 |
commit | f3dce4cc9526840ec0d9b451b36e08525f06041b (patch) | |
tree | 721fb794795621d19ed105b1fb52af9626e0a152 | |
parent | 85f8c14f3084121f58f31ebd11d80bfa01c8d6ce (diff) | |
download | samba-f3dce4cc9526840ec0d9b451b36e08525f06041b.tar.gz samba-f3dce4cc9526840ec0d9b451b36e08525f06041b.tar.bz2 samba-f3dce4cc9526840ec0d9b451b36e08525f06041b.zip |
sq smbXsrv_session_global_store no connection
-rw-r--r-- | source3/smbd/smbXsrv_session.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/smbd/smbXsrv_session.c b/source3/smbd/smbXsrv_session.c index 670e47ccc2..112a739950 100644 --- a/source3/smbd/smbXsrv_session.c +++ b/source3/smbd/smbXsrv_session.c @@ -626,8 +626,7 @@ static void smbXsrv_session_global_verify_record(struct db_record *db_rec, TALLOC_FREE(frame); } -static NTSTATUS smbXsrv_session_global_store(struct smbXsrv_connection *sconn, - struct smbXsrv_session_global0 *global) +static NTSTATUS smbXsrv_session_global_store(struct smbXsrv_session_global0 *global) { struct smbXsrv_session_globalB global_blob; DATA_BLOB blob = data_blob_null; @@ -827,8 +826,7 @@ NTSTATUS smbXsrv_session_create(struct smbXsrv_connection *conn, talloc_set_destructor(session, smbXsrv_session_destructor); - status = smbXsrv_session_global_store(conn, - global); + status = smbXsrv_session_global_store(global); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("smbXsrv_session_create: " "global_id (0x%08x) store failed - %s\n", @@ -883,8 +881,7 @@ NTSTATUS smbXsrv_session_update(struct smbXsrv_session *session) return NT_STATUS_INTERNAL_DB_ERROR; } - status = smbXsrv_session_global_store(session->connection, - session->global); + status = smbXsrv_session_global_store(session->global); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("smbXsrv_session_update: " "global_id (0x%08x) store failed - %s\n", |