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
Kai Blin
59b7d8dd2a
r26458: Janitorial: also free() var on continue.
...
Spotted by metze.
(This used to be commit adbf61dca5
)
2007-12-21 05:50:26 +01:00
Kai Blin
43ac3d9b44
r26453: Janitorial: Don't use a static char[] in smb_readline_replacement.
...
Fix up callers to free the memory returned, as that is needed if we use the
original readline function as well.
(This used to be commit c81ead1c38
)
2007-12-21 05:50:18 +01:00
Jelmer Vernooij
4b0199a549
r26409: Pass smb ports along.
...
(This used to be commit 2833f320de
)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
5f4842cf65
r26376: Add context for libcli_resolve.
...
(This used to be commit 459e1466a4
)
2007-12-21 05:49:12 +01:00
Jelmer Vernooij
2e1f142ab0
r26360: Add some const.
...
(This used to be commit 3616ced29e
)
2007-12-21 05:49:03 +01:00
Jelmer Vernooij
b65dba2245
r26355: Eliminate global_loadparm in more places.
...
(This used to be commit 5d589a0d94
)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
dd7e5ed88c
r26352: Don't make lp_load create a new context.
...
(This used to be commit d0d5c1a823
)
2007-12-21 05:48:56 +01:00
Jelmer Vernooij
a48fdda5fe
r26339: Make loadparm talloc-allocated.
...
(This used to be commit 1e02cd8db1
)
2007-12-21 05:48:49 +01:00
Jelmer Vernooij
4c4323009f
r26327: Explicit loadparm_context for RPC client functions.
...
(This used to be commit eeb2251d22
)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
9ebcd7a0df
r26277: Move loadparm context higher up the stack.
...
(This used to be commit 38fa08310c
)
2007-12-21 05:48:03 +01:00
Jelmer Vernooij
b038240ac7
r26275: return loadparm context in lp_load.
...
(This used to be commit d01f0f4c20
)
2007-12-21 05:48:01 +01:00
Jelmer Vernooij
509e82e402
r26272: Remove global_loadparm in some more places.
...
(This used to be commit 1ab76ecc53
)
2007-12-21 05:47:55 +01:00
Jelmer Vernooij
da0f222f43
r26271: Remove some more uses of global_loadparm.
...
(This used to be commit e9875fcd56
)
2007-12-21 05:47:53 +01:00
Jelmer Vernooij
0184e5ef2d
r26269: Fix a couple more references to global_loadparm.
...
(This used to be commit 1cb849dfba
)
2007-12-21 05:47:49 +01:00
Jelmer Vernooij
2f8dc4f48f
r26266: Remove more global_loadparm uses.
...
(This used to be commit 99113075c4
)
2007-12-21 05:47:42 +01:00
Jelmer Vernooij
1fbdd6ef1d
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
...
(This used to be commit c7eae1c784
)
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
6c999cd123
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
...
(This used to be commit 5b29ef7c03
)
2007-12-21 05:47:15 +01:00
Jelmer Vernooij
7e298580e0
r26234: More global_loadparm fixes.
...
(This used to be commit 84892d030d
)
2007-12-21 05:47:12 +01:00
Jelmer Vernooij
2fa338cdc9
r26226: Avoid more uses of global_loadparm.
...
(This used to be commit 6cbce47a3e
)
2007-12-21 05:47:02 +01:00
Jelmer Vernooij
8d8ad81437
r26224: Remove another use of global_loadparm.
...
(This used to be commit bd12560432
)
2007-12-21 05:47:00 +01:00
Jelmer Vernooij
b09047b78e
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
...
(This used to be commit 262c1c23a6
)
2007-12-21 05:43:00 +01:00
Stefan Metzmacher
863a1dd155
r25577: BOOL -> bool
...
metze
(This used to be commit 6f665a1278
)
2007-10-10 15:07:58 -05:00
Jelmer Vernooij
734aaefd34
r25550: Convert to standard bool type.
...
(This used to be commit 3ed7aba8e2
)
2007-10-10 15:07:53 -05:00
Jelmer Vernooij
a97e319924
r25530: Fix missing dependency
...
(This used to be commit d1837608f0
)
2007-10-10 15:07:48 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839
)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
3048e9ad65
r25392: Add loadparm context as argument in a couple more places.
...
(This used to be commit c62f51cc28
)
2007-10-10 15:07:24 -05:00
Stefan Metzmacher
425cb6733c
r25217: #define TALLOC_DEPRECATED 1 to get talloc_append_string() macro
...
I'm not updating any code here, as in a few places the
existing code seems totaly broken to me...
metze
(This used to be commit 97e535338b
)
2007-10-10 15:06:56 -05:00
Jeremy Allison
9a012df08e
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
(This used to be commit 0844dbf597
)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97
)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
7a287e0704
r25028: Fix more warnings.
...
(This used to be commit 3aa7ee4a0d
)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
dccf3f99e4
r25027: Fix more warnings.
...
(This used to be commit 5085c53fcf
)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
ffeee68e4b
r25026: Move param/param.h out of includes.h
...
(This used to be commit abe8349f9b
)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
959915a8cb
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
...
(This used to be commit 0bcb21ed74
)
2007-10-10 15:05:28 -05:00
Jelmer Vernooij
61ffa08f4c
r24712: No longer expose the 'BOOL' data type in any interfaces.
...
(This used to be commit 1ce32673d9
)
2007-10-10 15:02:54 -05:00
Andrew Bartlett
e98b3c1e97
r24698: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> to fix Bug
...
#4521 : smbclient crashes during tab completion when tab hit twice.
The readline magic is beyond me, but this seems to do the trick.
Andrew Bartlett
(This used to be commit e05f3450ec
)
2007-10-10 15:02:49 -05:00
Stefan Metzmacher
f14bd1a90a
r24557: rename 'dcerpc_table_' -> 'ndr_table_'
...
metze
(This used to be commit 84651aee81
)
2007-10-10 15:02:15 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac
)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
f9a3774254
r23521: NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either
...
(This used to be commit fb20d0cbe0
)
2007-10-10 14:53:24 -05:00
Andrew Tridgell
b2668fe8e1
r23520: display shadow copy information in 'allinfo'
...
(This used to be commit 6855dba72e
)
2007-10-10 14:53:23 -05:00
Andrew Tridgell
c42219d735
r22969: fix some more places where we could end up with more than one event
...
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb656
)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
1c211a2e43
r20650: revert a bunch of code I didn't mean to commit yet
...
(This used to be commit b3e2d49087
)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
f6274959ba
r20647: add cluster code
...
(This used to be commit 5870830b99
)
2007-10-10 14:37:24 -05:00
Andrew Bartlett
13dbee3ffe
r19598: Ahead of a merge to current lorikeet-heimdal:
...
Break up auth/auth.h not to include the world.
Add credentials_krb5.h with the kerberos dependent prototypes.
Andrew Bartlett
(This used to be commit 2b569c42e0
)
2007-10-10 14:25:00 -05:00
Andrew Tridgell
8c73377855
r18824: fixed a bug in cifsdd when the file is exactly a multiple of the block
...
size (cifsdd incorrectly reported an error and exited)
(This used to be commit 897b1ae3bf
)
2007-10-10 14:19:14 -05:00
Andrew Tridgell
df35c7612f
r18209: fix the ifdef for HAVE_HISTORY_LIST
...
(This used to be commit bda5c3c0e3
)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
b04fac4ed3
r18208: Mac OS X also doesn't have history_list()
...
must be a pretty old readline lib!
(This used to be commit ba901e6820
)
2007-10-10 14:17:49 -05:00
Jelmer Vernooij
873749f218
r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
...
(This used to be commit 8b622c5ded
)
2007-10-10 14:17:45 -05:00
Jelmer Vernooij
a59706f721
r18121: Simplify m4 code, hopefully fix Samba4 build problems.
...
(This used to be commit 1adf65b4d7
)
2007-10-10 14:17:35 -05:00
Andrew Tridgell
b7477fb388
r18117: first steps in making samba4 use libreplace
...
(This used to be commit c079cedb08
)
2007-10-10 14:17:34 -05:00
Jelmer Vernooij
0329d755a7
r17930: Merge noinclude branch:
...
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
(This used to be commit f7afa1cb77
)
2007-10-10 14:16:54 -05:00
Jelmer Vernooij
ae67b20623
r15875: Fix bug in smbclients 'put' command tridge found a while ago. Add tests
...
for 'put' and 'get' commands so we don't break them again.
Fixes #3742
(This used to be commit 141600a624
)
2007-10-10 14:08:35 -05:00
Jelmer Vernooij
23776d243d
r15811: Fix mget command without arguments. Caught by the IBM Checker.
...
(This used to be commit c77fd9f515
)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
a26f1f12b3
r15809: Fix typo in array offsets. Caught by the IBM checker.
...
(This used to be commit fa23b09567
)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
3bd0802272
r15808: Fix two uninitialized variables, caught by the IBM Checker.
...
(This used to be commit 673e101b07
)
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
72a5cbadc1
r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
...
not available on some platforms but is a Samba-specific library.
(This used to be commit e9d3660fa6
)
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
e595ede02f
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
...
(This used to be commit ccc3d8a954
)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
f7c86b912d
r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
...
(This used to be commit 4ec89bce87
)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
e002300f23
r15328: Move some functions around, remove dependencies.
...
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3
)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
710ea94988
r15297: Move create_security_token() to samdb as it requires SAMDB (and the rest of LIBSECURITY doesn't)
...
Make the ldb password_hash module only depend on some keys manipulation code, not full heimdal
Some other dependency fixes
(This used to be commit 5b3ab728ed
)
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
69b51f702a
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6
)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
0eddf14b30
r15191: Avoid uint_t as it's not standard.
...
(This used to be commit 7af59357b9
)
2007-10-10 14:04:15 -05:00
James Peach
6ab33938d5
r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
...
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
(This used to be commit 7e4ad7e8e5
)
2007-10-10 14:04:14 -05:00
Andrew Tridgell
a7ddbbb3f8
r14979: avoid a null ptr deref
...
(This used to be commit b197bee4f6
)
2007-10-10 14:00:50 -05:00
Stefan Metzmacher
1af925f394
r14860: create libcli/security/security.h
...
metze
(This used to be commit 9ec706238c
)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
c50125f6ef
r14844: Support a stdbool.h replacement in lib/replace/
...
(This used to be commit bccfddcafa
)
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
e70eae2b4c
r14721: Fix a couple of warnings.
...
(This used to be commit 426ac78108
)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
184955ffd7
r14572: Give libraries saner names, remove some .pc files, make some things
...
subsystems in case a library doesn't make sense.
(This used to be commit ed382873fd
)
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
4f1c8daa36
r14470: Remove some unnecessary headers.
...
(This used to be commit f7312dab3b
)
2007-10-10 13:57:29 -05:00
Jelmer Vernooij
8528016978
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51
)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
1060f6b3f6
r14402: Generate seperate headers for RPC client functions.
...
(This used to be commit 7054ebf024
)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
7a121583b4
r14349: Kill proto.h!
...
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909
)
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
a1b295ed48
r14256: - rename smb_file -> smb_handle
...
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
(This used to be commit be6d5298a2
)
2007-10-10 13:57:06 -05:00
Stefan Metzmacher
307e43bb56
r14173: change smb interface structures to always use
...
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2
the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2
metze
(This used to be commit 2ef3f59709
)
2007-10-10 13:56:57 -05:00
Jelmer Vernooij
306b12ad49
r14094: Use saner module directory names, fix loading of server service modules.
...
(This used to be commit b6ffad3860
)
2007-10-10 13:56:49 -05:00
Jelmer Vernooij
f8fdbc967c
r13944: Yet another round of splitups.
...
(This used to be commit f87debeb12
)
2007-10-10 13:52:31 -05:00
Jelmer Vernooij
4ac2be9958
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
(This used to be commit 1228358767
)
2007-10-10 13:52:24 -05:00
James Peach
56e097e994
r13388: Report a more helpful error with malformed file options of
...
the form //server/share (ie. remote path missing).
(This used to be commit 443677f58d
)
2007-10-10 13:51:52 -05:00
James Peach
52f01e2081
r13362: Rename variables for better consistency.
...
(This used to be commit dc20bb0ddc
)
2007-10-10 13:51:50 -05:00
James Peach
b94280cd75
r13280: Tidy up formatting.
...
(This used to be commit 531995000d
)
2007-10-10 13:51:42 -05:00
James Peach
ad01edb37b
r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix the
...
build on NetBSD.
(This used to be commit 7354de62a7
)
2007-10-10 13:51:39 -05:00
James Peach
60f8666ae8
r13255: New CIFS dd client for use in performance testing. The guts of this is
...
in client/cifsdd*, which implements a minimal implementation of dd. The
IO path is careful to always perform IO at the requested block size.
There is a very basic test suite in script/tests/test_cifsdd.sh which
covers local and remote IO at a variety of block sizes.
Added to lib/util_str.c is a small set of conv_str_*() functions to
convert strings to the corresponding type.
smbcli_parse_unc is modified to insert NULL terminators after its
hostname and sharename parameters. This allows it to correctly parse a
path of the form //foo/share/path/file.
(This used to be commit cd2f94a658
)
2007-10-10 13:51:39 -05:00