Jelmer Vernooij
29a20af75f
Remove use of global_loadparm for SMB2 client connections.
2008-11-02 16:20:00 +01:00
Jelmer Vernooij
ff36c52d8c
Remove another use of global_loadparm.
...
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
Volker Lendecke
f120038a1f
Fix bug 5860: safe_strcpy gives a nasty error message for overlong strings
...
Thanks to Robert Dahlem <Robert.Dahlem@gmx.net> for reporting this!
2008-11-02 10:41:09 +01:00
Volker Lendecke
c6973e69b7
Remove an unused variable
2008-11-02 09:40:30 +01:00
Volker Lendecke
e48364af2f
Rename "inbuf" to "base_ptr" in srvstr_get_path_*
2008-11-02 09:22:40 +01:00
Volker Lendecke
af7cf4f992
Remove some direct inbuf references by adding smbreq_bufrem
2008-11-02 09:22:40 +01:00
Volker Lendecke
a31fab8156
Simplify params of srvstr_pull_buf_talloc()
...
Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc()
to srvstr_pull_req()
2008-11-02 09:22:40 +01:00
Volker Lendecke
2bd5ac86ff
Add srvstr_get_path_req[_wcard]
2008-11-02 09:22:40 +01:00
Jelmer Vernooij
7a0e5de08d
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-11-02 05:50:08 +01:00
Jelmer Vernooij
c537f7a914
Fix the build.
2008-11-02 05:49:36 +01:00
Jelmer Vernooij
29177203e5
Rename class to "cls" since the first is a keyword name in C++. Thanks,
...
Brad.
2008-11-02 04:50:32 +01:00
Jelmer Vernooij
1492513f77
Fix build for make everything.
2008-11-02 02:50:22 +01:00
Jelmer Vernooij
3ebc574be4
Fix the build.
2008-11-02 02:30:21 +01:00
Jelmer Vernooij
b034c519f5
Add gensec_settings structure. This wraps loadparm_context for now, but
...
should in the future only contain some settings required for gensec.
2008-11-02 02:05:48 +01:00
Jelmer Vernooij
9265cb02d0
Use a separate global for nonblocking socket testing rather than global_loadparm.
2008-11-02 01:15:42 +01:00
Jelmer Vernooij
a76adc5397
Remove two debug parameters, not used anywhere.
...
Andrew, I was pretty sure these could be removed but if not, please let
me know.
2008-11-02 01:03:46 +01:00
Jelmer Vernooij
7a6190e9a7
Remove another use of global_loadparm.
2008-11-02 01:03:26 +01:00
Jelmer Vernooij
cb7d085ec3
Use global iconv convenience rather than global loadparm.
2008-11-02 00:35:04 +01:00
Jelmer Vernooij
dccf1b2c9f
Remove another use of global_loadparm.
2008-11-02 00:26:04 +01:00
Jelmer Vernooij
d9cbf2b0d9
Remove another use of global_loadparm.
2008-11-01 23:26:36 +01:00
Volker Lendecke
334d590b5e
The non-talloc versions of srvstr_pull are not longer needed
2008-11-01 23:26:21 +01:00
Volker Lendecke
fa47f03356
Kill some fstrings
2008-11-01 23:21:54 +01:00
Jelmer Vernooij
7942333712
Remove another use of global_loadparm.
2008-11-01 23:09:18 +01:00
Jelmer Vernooij
9293c59e25
Move calls to lp_* higher up in the call stack.
2008-11-01 22:42:09 +01:00
Jelmer Vernooij
57a60f0920
Move lp_*() calls a bit higher up the calls tack.
2008-11-01 22:13:47 +01:00
Jelmer Vernooij
3a6b88f9f9
Remove unused argument iconv_convenience.
2008-11-01 20:58:41 +01:00
Jelmer Vernooij
fa7bb8ac53
Remove convert_string_talloc_descriptor, add iconv_talloc().
2008-11-01 20:56:27 +01:00
Jelmer Vernooij
4b74b22c4d
Remove IS_DOT and IS_DOTDOT macros, already provided by libreplace or
...
the system.
2008-11-01 20:46:04 +01:00
Jelmer Vernooij
e5081d6dad
Move ABS() to libutil.
2008-11-01 20:44:12 +01:00
Volker Lendecke
7bdb571ec4
Remove a bunch of direct inbuf references by adding "buf" to smb_request
2008-11-01 19:41:08 +01:00
Volker Lendecke
ac97d7d4b0
In reply_copy, don't write to inbuf when splitting directory and mask
2008-11-01 19:41:07 +01:00
Volker Lendecke
cc546c0191
In reply_search(), don't write to inbuf when splitting directory and mask
2008-11-01 19:41:07 +01:00
Volker Lendecke
ab0561f3c3
Apply some const to get_lock_*()
2008-11-01 19:41:07 +01:00
Volker Lendecke
63da08d00f
Apply some const to np_write()
2008-11-01 19:41:07 +01:00
Volker Lendecke
7f9d6f80ef
Add a "buflen" struct member to smb_request
...
This removes some explicit inbuf references and also removes a pointless check
in reply_echo. The buflen can never be more than 64k, this is just a 16 bit
value.
2008-11-01 19:41:07 +01:00
Volker Lendecke
8637716b4b
Make use of smb_bufrem()
2008-11-01 19:41:07 +01:00
Volker Lendecke
7a0ed93169
Remove unused extern declaration
2008-11-01 19:41:07 +01:00
Jelmer Vernooij
4d3eb32a1a
ntlm_check.c: Sync some changes from Samba 4.
2008-11-01 18:50:06 +01:00
Jelmer Vernooij
434ca5fc33
Use standardized types in ntlm_check.c.
2008-11-01 17:59:25 +01:00
Jelmer Vernooij
8c4e2eb49d
Remove use of lp_*() from ntlm_check.c.
2008-11-01 17:55:57 +01:00
Jelmer Vernooij
7ec720af71
Use shared doserr.c.
2008-11-01 17:28:16 +01:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Jelmer Vernooij
edb7ac69cf
Fix header installation.
2008-11-01 16:22:35 +01:00
Jelmer Vernooij
2d42c4cade
Fix proto header.
2008-11-01 16:11:26 +01:00
Jelmer Vernooij
af2940459d
Fix prototype for attrib_string().
2008-11-01 16:00:41 +01:00
Jelmer Vernooij
d3df4061d9
Use struct for server versions.
2008-11-01 15:50:52 +01:00
Jelmer Vernooij
1b05be1039
ALlow util/debug.h to be included more than once.
2008-11-01 15:21:31 +01:00
Jelmer Vernooij
d880faae92
Fix includes in installed version of talloc_stack.h.
2008-11-01 15:13:00 +01:00
Jelmer Vernooij
cf721521b6
Remove need to define _SAMBA_BUILD_ == 4 when using installed headers.
2008-11-01 15:10:56 +01:00
Jelmer Vernooij
75819db083
Rename param_opt.flags to priority.
2008-11-01 15:09:26 +01:00