summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2012-07-24s3:libsmb: make use of cli_state_[g|s]et_tid()Stefan Metzmacher4-8/+19
metze
2012-07-24lib/param: Move all enum declarations to lib/paramAndrew Bartlett1-0/+1
This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24param: Make the 'unicode' parameter commonAndrew Bartlett1-0/+3
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
2012-07-24libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher2-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
2012-07-23s3:libsmb: use cli_state_{g,s}et_uid instead of smb1.uid directlyLuk Claes3-8/+19
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-19Move everything to use the common pidfile functions.Jeremy Allison1-1/+2
The extra code in source3/lib/pidfile.c is no longer needed.
2012-07-19Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison1-1/+1
2012-07-19s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett2-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>
2012-06-27s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett1-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
2012-06-12s3: Make --pw-nt-hash useable in smbclientVolker Lendecke1-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
2012-06-12s3: Add cli_state->pw_nt_hashVolker Lendecke2-1/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3-libsmbclient: change vnum to 0.2.0Stefan Metzmacher2-1/+173
metze
2012-06-12s3-libsmbclient: Add OptionUseNTHashVolker Lendecke2-0/+22
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12S3: Add ntlmssp_set_password_hashVolker Lendecke1-0/+22
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12s3-libsmbclient: Make SMBC_call_auth_fn staticVolker Lendecke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12libsmbclient: fix use of a non-existent word (existant)Michael Adam1-1/+1
2012-06-06s3-libsmb: Fix error messages to correctly mention PLAINTEXT not LMAndrew Bartlett1-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
2012-06-05s3:libsmb: fix the talloc parent of clistr_pull_talloc() in cli_notify_done()Stefan Metzmacher1-1/+1
metze
2012-06-05s3:libsmb: change cli_sesssetup_blob_* to use uint8_t instead of char for inbufStefan Metzmacher1-8/+8
metze
2012-06-05s3:libsmb: use inhdr instead of inbuf in tree connect related functionsStefan Metzmacher1-5/+5
metze
2012-06-05s3:libsmb: use inhdr instead of inbuf in session setup related functionsStefan Metzmacher1-34/+36
metze
2012-06-05s3:libsmb: remove unused 'inbuf' variableStefan Metzmacher5-20/+10
metze
2012-06-05s3:libsmb: don't require a pinbuf in cli_smb_recv() to keep the memoryStefan Metzmacher1-0/+5
metze
2012-06-03s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_sendLuk Claes5-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
2012-05-30Fix bad bugfix for bug #8910 - resolve_ads() code can return zero addresses ↵Ira Cooper1-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
2012-05-30Fix metze's complaint about the bugfix for bug #8953 - winbind can hang as ↵Jeremy Allison1-7/+0
nbt_getdc() has no timeout. This code explicitly isn't needed as the tevent code will take care of this.
2012-05-30s3:libsmb: use nb_connect_send() directly instead of doing a 0 timer for ↵Stefan Metzmacher1-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
2012-05-30s3:libsmb: use cli_tree_connect() instead of cli_tcon_andx()Stefan Metzmacher1-2/+2
cli_tree_connect() is more generic and uses what the server supports metze
2012-05-30s3:libsmb: fallback to SMBtcon for old serversStefan Metzmacher1-1/+15
metze
2012-05-30build: Provide .pc file for libsmbsharemodesAndrew Bartlett1-0/+11
This is not the exact same file as the autoconf build, because of the differnet processing semantics. Andrew Bartlett
2012-05-28s3:cli_np_tstream: pass a leading backslash for the pipe name for SMB1Stefan Metzmacher1-1/+13
metze
2012-05-28s3:libsmb: get rid of cli_ucs2Luk Claes7-64/+54
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: Mon May 28 16:58:03 CEST 2012 on sn-devel-104
2012-05-28s3:libsmb: get rid of clisigning routinesLuk Claes4-62/+9
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_has_async_callsLuk Claes11-75/+76
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_negprotLuk Claes5-31/+9
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_disconnectLuk Claes3-11/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_time_zoneLuk Claes6-23/+18
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_security_modeLuk Claes3-9/+3
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_gss_blobLuk Claes3-7/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_challengeLuk Claes3-11/+5
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_encryption_onLuk Claes5-13/+6
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_max_requestsLuk Claes3-8/+2
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_server_session_keyLuk Claes3-10/+4
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_capabilitiesLuk Claes12-27/+21
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_protocolLuk Claes6-24/+18
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_remote_nameLuk Claes8-23/+21
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes3-13/+1
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: get rid of cli_sockoptLuk Claes2-10/+0
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28s3:libsmb: remove unused (un)set_pending functionsLuk Claes3-12/+3
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-23Move source3/libads/dns.c to lib/addnsSimo Sorce2-2/+2