summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb: add EXTENDED_SIGNATURE support in cli_tcon_andx*()Stefan Metzmacher2012-08-041-0/+5
| | | | metze
* s3:libsmb: add a optional_support helper variableStefan Metzmacher2012-08-011-1/+6
| | | | metze
* s3:libsmb: add a tcon_flags helper variableStefan Metzmacher2012-08-011-1/+4
| | | | metze
* s3:libsmb: remove unused cli_state->user_session_keyStefan Metzmacher2012-08-012-21/+0
| | | | metze
* s3:libsmb: make use of smb1cli_session_set_session_key()Stefan Metzmacher2012-08-011-0/+24
| | | | metze
* s3: Fix Coverity ID 710791 Resource leakVolker Lendecke2012-07-311-0/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 31 13:34:53 CEST 2012 on sn-devel-104
* s3-libsmbclient: Add missing talloc_stackframe() callsAndrew Bartlett2012-07-291-0/+16
| | | | | | | | | | These caused a panic with the new assertion on the talloc stackframe being in place. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Jul 29 05:21:24 CEST 2012 on sn-devel-104
* lib/param: Rename "socket address" to "nbt client socket address" to clarify ↵Andrew Bartlett2012-07-271-2/+2
| | | | | | | | | | | | | role This parameter is only used in our NBT client code and in nmbd as a fallback when we fail to select a better interface from "interfaces" to use directly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104
* libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2012-07-251-0/+1
| | | | metze
* libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher2012-07-251-2/+0
| | | | | | It's a reserved field... metze
* libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher2012-07-251-7/+2
| | | | metze
* s3:libsmb: remove unused tcon specific elements from cli_state->smb2Stefan Metzmacher2012-07-251-11/+13
| | | | metze
* s3:libsmb: remove cli_state->smb2.tidStefan Metzmacher2012-07-251-4/+9
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()Stefan Metzmacher2012-07-241-1/+1
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_write*()Stefan Metzmacher2012-07-241-1/+1
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_read*()Stefan Metzmacher2012-07-241-1/+1
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_close*()Stefan Metzmacher2012-07-241-4/+5
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_create*()Stefan Metzmacher2012-07-241-1/+1
| | | | metze
* s3:libsmb: setup a smbXcli_tcon for SMB2Stefan Metzmacher2012-07-241-0/+14
| | | | metze
* libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-242-12/+6
| | | | | | | | | smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 21:22:44 CEST 2012 on sn-devel-104
* s3:libsmb: use a smbXcli_tcon instead of uint16_t cli_state->smb1.tidStefan Metzmacher2012-07-241-4/+8
| | | | metze
* s3:libsmb: make use of cli_state_[g|s]et_tid()Stefan Metzmacher2012-07-244-8/+19
| | | | metze
* lib/param: Move all enum declarations to lib/paramAndrew Bartlett2012-07-241-0/+1
| | | | | | | | This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* param: Make the 'unicode' parameter commonAndrew Bartlett2012-07-241-0/+3
| | | | | | This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
* libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher2012-07-242-12/+6
| | | | | | | | | smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 00:08:58 CEST 2012 on sn-devel-104
* s3:libsmb: use cli_state_{g,s}et_uid instead of smb1.uid directlyLuk Claes2012-07-233-8/+19
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Move everything to use the common pidfile functions.Jeremy Allison2012-07-191-1/+2
| | | | The extra code in source3/lib/pidfile.c is no longer needed.
* Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison2012-07-191-1/+1
|
* s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2012-07-192-22/+25
| | | | | | | | | This allows this parameter, one of the few with differing declarations between the loadparm systems, to be brought into common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett2012-06-271-1/+1
| | | | | | | | | | | | | | | | | This helps clarify the role of this structure and wrapper function. The purpose here is to provide helper functions to the lib/param loadparm_context that point back at the s3 lp_ functions. This allows a struct loadparm_context to be passed to any point in the code, and always refer to the correct loadparm system. If this has not been set, the variables loaded in the lib/param code will be returned. As requested by Michael Adam. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
* s3: Make --pw-nt-hash useable in smbclientVolker Lendecke2012-06-121-0/+3
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jun 12 12:41:10 CEST 2012 on sn-devel-104
* s3: Add cli_state->pw_nt_hashVolker Lendecke2012-06-122-1/+9
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmbclient: change vnum to 0.2.0Stefan Metzmacher2012-06-122-1/+173
| | | | metze
* s3-libsmbclient: Add OptionUseNTHashVolker Lendecke2012-06-122-0/+22
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* S3: Add ntlmssp_set_password_hashVolker Lendecke2012-06-121-0/+22
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmbclient: Make SMBC_call_auth_fn staticVolker Lendecke2012-06-121-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libsmbclient: fix use of a non-existent word (existant)Michael Adam2012-06-121-1/+1
|
* s3-libsmb: Fix error messages to correctly mention PLAINTEXT not LMAndrew Bartlett2012-06-061-6/+6
| | | | | | | | | Also make all the message say the same thing. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 6 10:17:55 CEST 2012 on sn-devel-104
* s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done()Stefan Metzmacher2012-06-051-1/+1
| | | | metze
* s3:libsmb: change cli_sesssetup_blob_* to use uint8_t instead of char for inbufStefan Metzmacher2012-06-051-8/+8
| | | | metze
* s3:libsmb: use inhdr instead of inbuf in tree connect related functionsStefan Metzmacher2012-06-051-5/+5
| | | | metze
* s3:libsmb: use inhdr instead of inbuf in session setup related functionsStefan Metzmacher2012-06-051-34/+36
| | | | metze
* s3:libsmb: remove unused 'inbuf' variableStefan Metzmacher2012-06-055-20/+10
| | | | metze
* s3:libsmb: don't require a pinbuf in cli_smb_recv() to keep the memoryStefan Metzmacher2012-06-051-0/+5
| | | | metze
* s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes2012-06-035-47/+8
| | | | | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104
* Fix bad bugfix for bug #8910 - resolve_ads() code can return zero addresses ↵Ira Cooper2012-05-301-1/+1
| | | | | | | | | | and miss valid DC IP addresses Original code incorrectly used a while() instead of a for() loop. We need to iterate over the entire array here. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 30 23:29:03 CEST 2012 on sn-devel-104
* Fix metze's complaint about the bugfix for bug #8953 - winbind can hang as ↵Jeremy Allison2012-05-301-7/+0
| | | | | | | nbt_getdc() has no timeout. This code explicitly isn't needed as the tevent code will take care of this.
* s3:libsmb: use nb_connect_send() directly instead of doing a 0 timer for ↵Stefan Metzmacher2012-05-301-4/+9
| | | | | | | | | port 139 metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 30 20:51:51 CEST 2012 on sn-devel-104
* s3:libsmb: use cli_tree_connect() instead of cli_tcon_andx()Stefan Metzmacher2012-05-301-2/+2
| | | | | | cli_tree_connect() is more generic and uses what the server supports metze
* s3:libsmb: fallback to SMBtcon for old serversStefan Metzmacher2012-05-301-1/+15
| | | | metze