Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Stefan Metzmacher
dea7c4f999
s4:client: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:50 +01:00
Jeff Layton
f4cb528ac5
samba: remove cifs-utils tools from build systems
...
Now that cifs-utils are their own project, we need to go ahead and pull
them out of the samba tree. This patch represents the first step toward
that end.
Remove the cifs-utilities from the source3 and source4 builds. Please
pay particular attention to the source4 piece. I'm not at all familiar
with the build system there, and would appreciate someone sanity
checking my changes.
It also adds a small README.cifs-utils file in the topdir. This is
optional, but I think it's a good idea to carry this for a release or
two.
Once this patch looks ok, I'll plan to do another patch to actually
remove the client dir and the relevant docs-xml files from the tree
altogether.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2010-03-08 09:06:40 -05:00
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