summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2010-03-30If the timeout has been set to zero, don't register an end time.Jeremy Allison1-3/+5
The caller doesn't want a timeout. Jeremy.
2010-03-29s3:libsmb: add cli_state_is_connected() functionStefan Metzmacher1-0/+18
metze
2010-03-29s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_stateStefan Metzmacher1-0/+3
metze
2010-03-24s3:ntlmssp: use c99 typesStefan Metzmacher1-22/+22
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: use client.netbios_name instead of workstationStefan Metzmacher1-4/+6
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: remove unused ntlmssp_set_workstation()Stefan Metzmacher1-13/+0
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state unionStefan Metzmacher1-37/+60
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()Stefan Metzmacher1-1/+1
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()Stefan Metzmacher1-2/+2
Only data needs to be non-const. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: use a 'bool ok' variable to make the code more readableStefan Metzmacher1-2/+14
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: fix some formatingStefan Metzmacher1-58/+89
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: inline ntlmssp_weaken_keys()Stefan Metzmacher2-71/+37
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: make send_seal_key and recv_seal_key local variablesStefan Metzmacher1-14/+12
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: remove unused get_global_myname() and get_domain() from ↵Stefan Metzmacher1-8/+0
ntlmssp_state Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store themStefan Metzmacher3-18/+51
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* ↵Stefan Metzmacher2-2/+11
fields also for the client Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_stateStefan Metzmacher1-36/+65
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_stateStefan Metzmacher1-2/+2
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: make use of C99 types in ntlmssp_sign.cStefan Metzmacher1-18/+17
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: use uint8_t in calc_ntlmv2_key()Stefan Metzmacher1-4/+4
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-22s3:libsmb: add a smb_signing_init_ex() functionStefan Metzmacher1-8/+51
Make it possible to overload memory handling functions. metze
2010-03-19error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.Günther Deschner1-1/+1
Metze, please check. Guenther
2010-03-18s3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codesStefan Metzmacher1-4/+9
metze
2010-03-13s3: Convert unexpected.tdb to use tdb_wrap_openVolker Lendecke1-10/+12
2010-03-09s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)Volker Lendecke1-1/+1
2010-03-06s3: Add i18n/l10n strings in pam_winbind.c coming from winbindd.Bo Yang1-91/+95
Signed-off-by: Bo Yang <boyang@samba.org>
2010-03-03Fix typo in comments.Karolin Seeger1-2/+2
2010-02-28s3: Fix the CHAIN1 torture testVolker Lendecke1-1/+9
I've tried to solve this just within cli_smb_recv(), but I could not find a way to sanely determine when we are receiving the last entry in the chain just from looking at the blob. This solves it in an a bit more brutal way...
2010-02-23s3 move the sitename cache in its own fileSimo Sorce3-0/+3
2010-02-23s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke1-1/+1
2010-02-22s3: Explicitly handle inbuf in cli_trans_doneVolker Lendecke1-2/+9
2010-02-22s3: Explicitly handle inbuf in cli_write_andx_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_read_andx_doneVolker Lendecke1-2/+2
2010-02-22s3: Explicitly handle inbuf in cli_message_start_doneVolker Lendecke2-6/+7
2010-02-22s3: Explicitly handle inbuf in cli_dskattr_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_getatr_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_getattrE_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_open_doneVolker Lendecke1-2/+4
2010-02-22s3: Explicitly handle inbuf in cli_ntcreate_doneVolker Lendecke1-2/+3
2010-02-22s3: Explicitly handle inbuf in cli_echo_doneVolker Lendecke1-1/+2
2010-02-22s3: Explicitly handle inbuf in cli_negprot_doneVolker Lendecke1-2/+3
2010-02-22s3: Explicitly handle inbuf in cli_tcon_andx_doneVolker Lendecke1-3/+6
2010-02-22s3: Explicitly handle inbuf in cli_sesssetup_blob_doneVolker Lendecke1-5/+4
2010-02-22s3: Explicitly handle inbuf in cli_session_setup_guest_doneVolker Lendecke1-5/+4
2010-02-22s3: Explicitly handle inbuf in cli_smb_oplock_break_waiter_doneVolker Lendecke1-2/+3
2010-02-22s3: Add a talloc_move for the inbuf to cli_smb_recvVolker Lendecke8-36/+50
2010-02-21s3: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_sendVolker Lendecke1-1/+2
I hate macros....
2010-02-20s3: Convert cli_qpathinfo_basic to use cli_trans()Volker Lendecke2-40/+29
2010-02-20s3: Convert cli_raw_ioctl to use cli_smb()Volker Lendecke1-18/+10
2010-02-20s3: Add cli_smb()Volker Lendecke1-0/+36
This is a sync wrapper around cli_smb_send/cli_smb_recv. This is a hack to speed up converting libsmb/ away from cli_send_smb/cli_receive_smb. Some routines in libsmb/ are only called in one place in smbtorture for example, where making it async right now is not worth it. With cli_smb_send/cli_smb_recv in place, pushing the asynchronosity out one level is "just" boilerplate code that is easy to do should it become necessary.