Günther Deschner
d077ef64cd
Fix client authentication with -P switch in client tools (Bug 5435).
...
Guenther
2008-05-05 16:59:53 +02:00
Volker Lendecke
99fc3283c4
Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
2008-04-20 14:08:16 +02:00
Volker Lendecke
783afab9c8
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
2008-04-20 00:13:09 +02:00
Günther Deschner
0cf761f604
Use rpccli_srvsvc_NetShareEnumAll in smbtree.
...
Guenther
2008-03-10 05:05:37 +01:00
Jeremy Allison
52dc5eaef2
Remove the char[1024] strings from dynconfig. Replace
...
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
2007-12-10 11:30:37 -08:00
Jeremy Allison
440e9f5b51
Fix typos in auth change.
...
Jeremy.
2007-12-06 18:52:36 -08:00
Jeremy Allison
6ac5d81655
Get closer to building with smbmount. Move parameter line changes
...
into lib/util.c
Jeremy.
2007-12-06 18:49:39 -08:00
Jeremy Allison
0411635511
Getting to the home stretch for elimination of pstrings...
...
Jeremy.
2007-12-03 18:48:41 -08:00
Jeremy Allison
ba9e2be2b5
Remove the explicit TALLOC_CTX * from cli_struct.
...
Make us very explicit about how long a talloc ctx
should last.
Jeremy.
2007-11-29 13:24:54 -08:00
Jeremy Allison
f982774c8d
Fixed missing in_addr -> sockaddr_storage conversion (how did
...
I miss this...).
Jeremy.
2007-10-25 18:11:29 -07:00
Jeremy Allison
793a9d24a1
Fix the popt / bool issues. Some places we used BOOL
...
where we meant int. Fix this. Thanks to metze for
pointing this out.
Jeremy.
2007-10-19 11:38:36 -07:00
Jeremy Allison
f35a266b3c
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
5c6c8e1fe9
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
2007-10-10 15:34:30 -05:00
Gerald Carter
f387e0f256
r25402: BUG 4997 (3.2 only): Fix enumration level for smbtree
2007-10-10 12:31:02 -05:00
Volker Lendecke
cddb9f11d5
r24943: Some stackframes
2007-10-10 12:30:29 -05:00
Andrew Tridgell
b0132e94fc
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
2007-10-10 12:28:20 -05:00
Jelmer Vernooij
580f2a7197
r20832: Remove extra pointers previously added to unique [out] pointers. Instead,
...
add [ref] pointers where necessary (top-level [ref] pointers,
by spec, don't appear on the wire).
This brings us closer to the DCE/RPC standard again.
2007-10-10 12:17:11 -05:00
Volker Lendecke
bc4e0a388a
r19797: Convert the remaining pipes to the "new" unique out ptr handling
2007-10-10 12:15:56 -05:00
Volker Lendecke
d0025861c0
r19450: Fix smbtree's use of netshareenum.
...
Jelmer, how much of r18802 did you actually test??
Volker
2007-10-10 12:15:36 -05:00
Volker Lendecke
88a928a233
r18877: More WERROR/NTSTATUS bugs
2007-10-10 12:14:40 -05:00
Jelmer Vernooij
ef10672399
r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
...
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
2007-10-10 12:00:59 -05:00
Jim McDonough
ae56154fc7
r15630: adapt smbclient fix to smbtree to enable long share names
2007-10-10 11:17:03 -05:00
Derrell Lipman
f2a24de769
r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
...
lp_load() could not be called multiple times to modify parameter settings based
on reading from multiple configuration settings. Each time, it initialized all
of the settings back to their defaults before reading the specified
configuration file.
This patch adds a parameter to lp_load() specifying whether the settings should
be initialized. It does, however, still force the settings to be initialized
the first time, even if the request was to not initialize them. (Not doing so
could wreak havoc due to uninitialized values.)
2007-10-10 11:06:18 -05:00
Jeremy Allison
c970d7d0a5
r12555: Fix more load_case_table swegfaults. Arggg.
...
What I'd give for a global constructor...
Jeremy.
2007-10-10 11:05:59 -05:00
Jeremy Allison
620f2e608f
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
...
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
2007-10-10 10:53:32 -05:00
Jelmer Vernooij
d817eaf0ec
Reverse previous patch from Stefan and me after comments by Andrew Bartlett
-
Jelmer Vernooij
74d9ecfe2d
Patch from metze and me that adds dummy smb_register_*() functions so
...
that is now possible to, for example, load a module which contains
an auth method into a binary without the auth/ subsystem built in.
-
Tim Potter
98e84b3e83
Merge Jelmer's popt updates from HEAD.
-
Jeremy Allison
ec7953f201
Added new error codes. Fix up connection code to retry in the same way
...
that app-head does.
Jeremy.
-
Jelmer Vernooij
1b83b78e33
sync 3.0 branch with HEAD
-
Andrew Tridgell
03ac082dcb
updated the 3.0 branch from the head branch - ready for alpha18
-
Tim Potter
6a58c9bd06
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Andrew Tridgell
e2ba2383c9
fix a bunch of places where we can double-free a cli structure
-
Tim Potter
778f5f77a6
Got medieval on another pointless extern. Removed extern struct ipzero
...
and replaced with two functions:
void zero_ip(struct in_adder *ip);
BOOL is_zero_ip(struct in_addr ip);
-
Tim Potter
8fc772c9e5
Removed TimeInit() call from every client program (except for one place
...
in smbd/process.c where the timezone is reinitialised. Was replaced with
check for a static is_initialised boolean.
-
Jeremy Allison
54c968913d
W2K doesn't seem to respond to *#0 names in node status. Ensure name
...
lookup uses password server parameter when looking for PDCs.
Jeremy.
-
Martin Pool
79ec88f0da
Store some path names in global variables initialized to configure
...
default, rather than in preprocessor macros.
-
Simo Sorce
67db8f03c5
move to SAFE_FREE()
-
Andrew Tridgell
f41c3bb80f
declare dbf in one spot
-
Andrew Tridgell
1af8bf34f1
replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
...
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor
limit that we hit with nasty consequences on some systems
I would eventually prefer us to have a configure test to see if we need
to replace stdio, but for now this code needs to be tested widely so
I'm enabling it by default.
-
Andrew Tridgell
c04c67fec8
more warning fixes on solaris
-
Andrew Tridgell
1c2618df45
added -b option
-
Andrew Tridgell
b840d7d65e
nicer smbtree output
-
Tim Potter
6b4559506d
A program to display a tree of domains, servers and shares similar to the
...
network neighbourhood graph. Still needs a bit of work.
-