Matt Kraai
d8071e7ed7
Change uint_t to unsigned int in source4
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Andrew Tridgell
090fbdce7d
s4: ran minimal_includes.pl on source4/client
2009-10-20 16:04:59 +11:00
Karolin Seeger
fa08d0b44b
Fix typo.
...
privilage -> privilege
Karolin
2009-10-19 09:47:33 +02:00
Matthias Dieter Wallnöfer
44df2488e3
s4: fix various warnings (not "const" related ones)
2009-10-02 15:33:48 +02:00
Sam Liddicott
9d824dc115
s4:client
...
Put was assuming that the remote name was always absolute, and not relative to
the current remote directory.
Signed-off-by: Sam Liddicott <sam@liddicott.com>
2009-08-21 16:54:49 +02:00
Andrew Bartlett
8f110d3051
Use smbclient binary for the test file in smbclient test
...
In the vein hope that a larger file might show problems better than a
small file.
Andrew Bartlett
2009-08-04 11:40:31 +10:00
Slava Semushin
ef45b31886
source4/client/client.c: Possible memory leaks
...
Patch for bug #6446
cppcheck found 2 possible memory leaks:
[./source4/client/client.c:3305]: (error) Memory leak: base_directory
[./source4/client/client.c:3305]: (error) Memory leak: desthost
Patch in attach.
2009-06-18 13:49:26 +10:00
Jeremy Allison
b11bf8b7cf
Fix S3 "make install". Don't build cifs.upcall.c in S4 as there are no
...
checks to see if the required include file is available.
Jeremy.
2009-06-03 11:28:52 -07:00
Jelmer Vernooij
8d033ec0d1
Move mount.cifs/umount.cifs to the top level and remove the outdated copy
...
in Samba 4.
2009-06-02 23:24:33 +02:00
Andrew Bartlett
e8ea854f02
s4:client Match Samba3 and remove smbmount from the distribution
2009-05-29 11:56:25 +10:00
Jeremy Allison
3a88316e23
Fix the build. Looks like no one ever compiled this on a system
...
with a libintl.h before.
Jeremy.
2009-02-24 12:19:06 -08:00
Volker Lendecke
c6f82b5259
Remove the s4 version of smbspool.c
2009-02-13 12:15:04 +01:00
Volker Lendecke
0844cca1d5
Replace get_myname() with the talloc version from v3-3-test
2009-02-13 12:15:03 +01:00
Stefan Metzmacher
8b408f7819
s4:selftest: avoid hardcoded pathes in blackbox tests
...
metze
2009-02-03 16:31:04 +01:00
Stefan Metzmacher
07e01f8405
s4:smbclient: correct initialize smbclient_context
...
Found by valgrind.
metze
2009-01-07 06:36:23 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
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
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
57a60f0920
Move lp_*() calls a bit higher up the calls tack.
2008-11-01 22:13:47 +01:00
Jelmer Vernooij
af2940459d
Fix prototype for attrib_string().
2008-11-01 16:00:41 +01:00
Günther Deschner
7204deac82
s4-srvsvc: merge srvsvc_NetShareEnumAll from s3 idl.
...
Guenther
2008-10-31 02:44:34 +01:00
Jelmer Vernooij
0218669d62
Remove include/local.h and move defines to more appropriate places.
2008-10-24 17:53:38 +02:00
Jelmer Vernooij
8b06312f7e
Eliminate another instance of global_loadparm.
2008-10-24 13:13:27 +02:00
Jelmer Vernooij
215b84903e
Merge branch 'master' of git://git.samba.org/samba
2008-10-23 20:50:59 +02:00
Jelmer Vernooij
fe36fe8c3e
Use common net utility code (address and sockaddr manipulation).
2008-10-23 20:41:15 +02:00
Jelmer Vernooij
09065795d6
Remove unused constants from local.h.
2008-10-23 18:13:25 +02:00
Jelmer Vernooij
6d9b24de78
Remove pstring usages.
2008-10-22 04:25:00 +02:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
235b729309
Cope with API changes.
2008-09-30 03:07:08 +02:00
Jelmer Vernooij
83183bf381
Explicitly pass on session options to session setup function.
2008-09-30 01:38:51 +02:00
Andrew Bartlett
171986aea2
Move blackbox.smbclient to test against the member server.
...
The DC is now using smb signing, so testing for the old SMB versions
won't work.
Add a new test script to check 'net join' independent of
blackbox.smbclient.
Andrew Bartlett
(This used to be commit 44ff392ffe
)
2008-09-08 14:18:04 +10:00
Jelmer Vernooij
26e9194e3a
Move blackbox tests closer to what they're testing.
...
(This used to be commit c9b2e2aa86
)
2008-06-26 10:56:59 +02:00
Simo Sorce
2daf2897d5
Use a custom init function for samba4 that sets a samba4
...
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308
)
2008-06-14 13:00:53 -04:00
Andrew Tridgell
03eb236f20
Merge commit 'origin/v4-0-test' into vfs_smb2
...
(This used to be commit 733937e87a
)
2008-05-19 11:40:25 +10:00
Jelmer Vernooij
4f0db42958
Use variables for source directory in a couple more places.
...
(This used to be commit 56bb2907c6
)
2008-05-18 19:41:33 +02:00
Andrew Tridgell
0abc2e2020
use a newer fsinfo level in smbclient, to support larger disks
...
(This used to be commit 1acc8077fb
)
2008-05-15 20:45:30 +10:00
Andrew Bartlett
9b65a7c38f
Remove unused KANJI and terminal code options.
...
Someone can re-add this with tests and an actual implementation.
Andrew Bartlett
(This used to be commit 62136febe7
)
2008-04-24 11:49:41 +01:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down the code.
...
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162
)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
1efbd5fbf6
Remove event context tracking from the credentials struct.
...
(This used to be commit 4d7fc946b2
)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
ffc5cbfe80
Move object files lists to makefile rather than smb_build.
...
(This used to be commit 5628d58990
)
2008-04-14 16:53:00 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf674
)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
f41b9a9dde
Rename libsamba-config to libsamba-hostconfig.
...
(This used to be commit c46b7e90e3
)
2008-04-01 15:08:30 +02:00
Jelmer Vernooij
dcc282590b
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
...
(This used to be commit 8a97886e24
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
425732f688
r26651: libsmb: Allow specifying signing policy from higher up.
...
The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
(This used to be commit 9f64213463
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
771b347f9b
r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
...
(This used to be commit 385ffe4f4c
)
2008-01-02 12:48:03 -06:00
Jelmer Vernooij
0500b87092
r26540: Revert my previous commit after concerns raised by Andrew.
...
(This used to be commit 6ac86f8be7
)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc
r26539: Remove unnecessary statics.
...
(This used to be commit e53e79eebe
)
2007-12-21 05:52:05 +01:00