1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

8495 Commits

Author SHA1 Message Date
Andrew Tridgell
6312201a43 r14903: rewrote ndr_push_string() to be much simpler, and correctly handle
UTF8 strings. This should fix the german umlaut problem reported by
michael@drueing.de
(This used to be commit 73ba1215e0c9283296c16f36c91f5a966f3cc9f4)
2007-10-10 14:00:13 -05:00
Andrew Tridgell
64485f8761 r14902: change charcnv code to fail the conversion when it hits bad
characters, rather than silently truncating the string. This makes the
code much omre conservative, making it easier to test. It might mean
users hit problems initially, but at least we'll hear about them, and
thus can fix them.
(This used to be commit bb99cbf069db5ab09ecf6c55e4c87d4c28ea8169)
2007-10-10 14:00:13 -05:00
Tim Potter
b93e9b50ab r14901: More work on ldb swig interface. Wrap some more functions.
(This used to be commit 5b722fcd4b1e194532a86bed84d11d778ae16fcc)
2007-10-10 14:00:13 -05:00
Tim Potter
6705f888d5 r14897: Do more error checking of tdb function returns and raise IOError or
KeyError exceptions as appropriate.

Add a close() function to the wrapper as we can't rely on the
Python garbage collector destroying the object and closing the tdb file
at any particular time.
(This used to be commit a40d6c792257315d1eac955718db5ec1df7e07bb)
2007-10-10 14:00:13 -05:00
Stefan Metzmacher
1ac990ddcf r14894: - add some 'const'
- remove sid_active_in_token() was the same as security_token_has_sid()
- rename some functions

metze
(This used to be commit 81390dcda50f53d61e70059fb33014de0d283dc5)
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
5559f5e3e5 r14891: fix a bug found by the ibm checker
the problem was that we shift with <<= (privilege-1)

and we called the function with privilege=0

add some checks to catch invalid privilege values
and hide the mask representation in privilege.c

metze
(This used to be commit a69f000324764bcd4cf420f2ecba1aca788258e4)
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
ed56a2c147 r14890: fix the usage of popt...
I don't know why this causes problems on my laptop today...

anyway we have done this change in smbtorture month ago...

metze
(This used to be commit ad84a69db276e3a655b2dc477214bbe0ed68411a)
2007-10-10 14:00:12 -05:00
Tim Potter
dd8b8dc98a r14881: Unpack ldb_message_element and ldb_val arrays. Python can now access
all parts of a ldb_result:

@BASEINFO has 2 elements
        elt[0]: val[0]: sequenceNumber = 2
        elt[1]: val[0]: distinguishedName = @BASEINFO
name=foo has 2 elements
        elt[0]: val[0]: foo = bar
        elt[1]: val[0]: distinguishedName = name=foo

Cleanup some swig junk that was only necessary when including config.h
and function prototypes that used the PRINTF_ATTRIBUTE() macro.

Add some more comments.
(This used to be commit 9327fd07d67da1845a60ccf2b7d1d43e9aed0d68)
2007-10-10 14:00:12 -05:00
Tim Potter
fab7e6605f r14880: Doc.
(This used to be commit 73b233ee1b7e25ec74c1764804690c6faab75fd0)
2007-10-10 14:00:12 -05:00
Tim Potter
aae53f673f r14879: Fix bug unpacking ldb_messages.
Start decoding more of ldb_message and ldb_message_result.
(This used to be commit 60f7f14baa7ff212138ac2349b94d56918566f73)
2007-10-10 14:00:11 -05:00
Tim Potter
574c9fd685 r14878: Write swig wrappers for ldb_init() and ldb_connect().
Start wrapper for ldb_search().  Currently it returns a list of swig
ldb_message objects.  More unpacking of results required.
(This used to be commit 704787978aa705edba233249e8eab236ffe303a4)
2007-10-10 14:00:11 -05:00
Andrew Tridgell
6d98076c15 r14877: added support for the kernel inotify mechanism. This passes basic
tests, but still needs some more work to ensure we correctly cope with
events that may generate both a system inotify event and a internal
notify event. The system inotify events won't handle recursion, and
don't understand things like streams.

This also adds the ntvfs/sysdep/ directory, which is meant for system
dependent code that is not tied to a particular ntvfs backend. The
inotify code is a good example of that.
(This used to be commit eadadbb44adb3c4081d6ff1d85a9b850a0227059)
2007-10-10 14:00:11 -05:00
Andrew Tridgell
69e40fa99a r14876: added ENOSYS to unix error mapping
(This used to be commit 77f32a273541afcd07f6da8a26315bf21ea05c51)
2007-10-10 14:00:11 -05:00
Jelmer Vernooij
733b5af73f r14875: Make better use of the build system
(This used to be commit 12429bb66f0f038f1a02932c012c9e9caae6d38c)
2007-10-10 14:00:11 -05:00
Jelmer Vernooij
c23ef0a872 r14874: Allow overriding LIBRARY_REALNAME
(This used to be commit 8f57c0e7bcd99556ba83497ce17b6723a637ac76)
2007-10-10 14:00:10 -05:00
Tim Potter
e9cf4f3098 r14873: Add skeleton swig ldb interface.
(This used to be commit c6c759e19f7fb9232d9c97b66d140c1bb0876dff)
2007-10-10 14:00:10 -05:00
Tim Potter
0235d37b32 r14871: We don't need to import UserDict anymore.
(This used to be commit c60a2335383eb277a82dbe073ce9b58f8abf0241)
2007-10-10 13:59:45 -05:00
Tim Potter
f586b11f73 r14870: Update to link with dynamic instead of static objects.
(This used to be commit 20d68c60b7b7dce1f4f82cb6d3af9431a0660854)
2007-10-10 13:59:45 -05:00
Jelmer Vernooij
1b22141c87 r14867: Include <stdbool.h> in external compiles
(This used to be commit 03224dab111b931effd548586e630480fa1423b1)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
8e738cc6d4 r14866: Fix CFLAGS when building compile_et. This should fix the build
on some of the buildfarm hosts. Thanks to Richard Bollinger <rabollinger@gmail.com> for helping debug this.
(This used to be commit ab0c2ede27550f400c1ffb8fc1adbeddb477468e)
2007-10-10 13:59:44 -05:00
Stefan Metzmacher
bb13111509 r14861: regenerate the proto headers when the .mk file changes
metze
(This used to be commit e167ce935a5e0c8f859dc2b1fef859418ab9edfb)
2007-10-10 13:59:44 -05:00
Stefan Metzmacher
1af925f394 r14860: create libcli/security/security.h
metze
(This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10 13:59:44 -05:00
Stefan Metzmacher
508ba6026a r14859: fix bugs noticed by the ibm code checker
metze
(This used to be commit afa8f944a7c572becd011b8c248eef13d7495ac7)
2007-10-10 13:59:43 -05:00
Stefan Metzmacher
64587cbf9e r14858: fix bugs noticed by the ibm code checker
metze
(This used to be commit 152e7e3d024cbc1ae60f8595507d39b647551a71)
2007-10-10 13:59:43 -05:00
Stefan Metzmacher
f53e12b41b r14857: fix bugs noticed by the ibm code checker
metze
(This used to be commit 07626bf3c7dc7162b852cc27e5a7c313ede3862a)
2007-10-10 13:59:43 -05:00
Stefan Metzmacher
9424766ee0 r14856: fix bugs noticed by the ibm code checker
metze
(This used to be commit f72e7d9dcd02f1f983b457163dee0a8df0186c79)
2007-10-10 13:59:43 -05:00
Tim Potter
e29489d9b6 r14854: Finish off swig wrapper and torture tests for tdb.
(This used to be commit 1c4042e23f3e99f95133313607e2c2904503cf74)
2007-10-10 13:59:43 -05:00
Jelmer Vernooij
0bc6e7a090 r14852: See if all target platforms support multiple .SUFFIXES lines.
(This used to be commit 137ed99e3527c5240533d59b6b98d1f01a849046)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
ab9fb12e0b r14851: Make BOOL, False and True simple aliases to the POSIX-defined
bool, false and true (guaranteed to be defined by lib/replace)
(This used to be commit 53fa1bdb6e0ea134c4d688e7cf3237fd25c2cc76)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
25853252e5 r14850: Don't assume that sizeof(BOOL) == sizeof(int)
(This used to be commit 1557e1ba6f3576dcd28cb7f05ba97df7b549ba52)
2007-10-10 13:59:42 -05:00
Stefan Metzmacher
7e36116fe8 r14848: use the constant instead of the interger value
metze
(This used to be commit 6386fd69303f8a2362c3b967796010ded798511e)
2007-10-10 13:59:42 -05:00
Andrew Tridgell
986aae3c5c r14845: expanded the number of info levels tested for continue in the
RAW-SEARCH test
(This used to be commit a3e7640730b756392afce4ec1b69eda0bf044e3f)
2007-10-10 13:59:42 -05:00
Jelmer Vernooij
c50125f6ef r14844: Support a stdbool.h replacement in lib/replace/
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
2007-10-10 13:59:41 -05:00
Stefan Metzmacher
0697e76440 r14843: the results of the srvsrv_* calls depends on the user,
try some tests anonymous...

metze
(This used to be commit eb63d83f007e374f77ff63b3d7b81f187260c8fa)
2007-10-10 13:59:41 -05:00
Stefan Metzmacher
29f03c418e r14842: fix parsing of NetDiskEnum replies
metze
(This used to be commit c1cc1e8dd764dfada38d4d66063e66fa6982bb0d)
2007-10-10 13:59:41 -05:00
Stefan Metzmacher
8cd973decd r14840: - rename some functions
- stack specific functions on top of generic ones

metze
(This used to be commit e391f3c98aae600c5f64d5975dd55567a09c3100)
2007-10-10 13:59:41 -05:00
Andrew Tridgell
05c53f70f0 r14838: fix the build. Looks like I still haven't quite got the hang of the
new dependency/proto system :-)
(This used to be commit 63ae3f21e3471895ba83df1c2fdc4147090f7fdb)
2007-10-10 13:59:25 -05:00
Andrew Tridgell
e7dc4c79ad r14837: fixed build error
(This used to be commit 23724bfd24b051c4096ac49c52c2cd31389340be)
2007-10-10 13:59:25 -05:00
Tim Potter
69c5cd509b r14836: Keep constants in the right order, and line things up nicely.
(This used to be commit 9c11c1ac2a9d5a6cae490fa7a2005700271d53f3)
2007-10-10 13:59:24 -05:00
Andrew Tridgell
07372df2fa r14835: split out the config rules for the ntvfs/common/ directory
(This used to be commit 33495d19cf0263f6df5ec935f51c68bde84b1d01)
2007-10-10 13:59:24 -05:00
Stefan Metzmacher
f964db91e7 r14826: initialize pid1 and pid2:-)
metze
(This used to be commit 45e28329723c15c1ba6b8420cd3689cd03613de7)
2007-10-10 13:59:24 -05:00
Stefan Metzmacher
96b5dd789b r14822: if we use the snum used by the lp_* functions instead of the wire TID,
then don't use tid as name...

metze
(This used to be commit d41d48caf209fec9f5f04d38d75277b1cfeed22f)
2007-10-10 13:59:24 -05:00
Stefan Metzmacher
90de5b96a9 r14819: list all tests smbtorture offers and explicit list tests
for skipping

metze
(This used to be commit 127fe33c460ff77c53ad53728782bdb119bcdfb4)
2007-10-10 13:59:24 -05:00
Stefan Metzmacher
01f19c0d1b r14818: give an error on an unknown test
so we catch typos in the make test scripts

metze
(This used to be commit fa73030debe1c216d86622a5380dbe2945f5d1d3)
2007-10-10 13:59:23 -05:00
Stefan Metzmacher
9845c8c475 r14817: rename some tests
tridge: is SCAN-EAMAX ok?

metze
(This used to be commit d8529ec2ee079d4ff17681a5d35d260fd3313e88)
2007-10-10 13:59:23 -05:00
Jelmer Vernooij
45e4982cca r14816: Simplify test for comparison_fn_t
(This used to be commit 594215d1176b23596549fd4e4098d42ef41f7d0d)
2007-10-10 13:59:23 -05:00
Stefan Metzmacher
99beb7b329 r14815: BASE-DIR doesn't exists...
metze
(This used to be commit 711df01cc82037b47f750572387accbf28d10bfc)
2007-10-10 13:59:23 -05:00
Stefan Metzmacher
d72f821aaa r14814: also run the BASE-DIR test with 'make test'
metze
(This used to be commit b52baadf2233335f5f92b4e08b7f1c2dfd0d764f)
2007-10-10 13:59:23 -05:00
Jelmer Vernooij
47eca29d4a r14813: Remove headers already checked for earlier or not used.
(This used to be commit bd803fc9803451e0030d292ece57a56614085688)
2007-10-10 13:59:22 -05:00
Jelmer Vernooij
399358fcb3 r14812: Fix typos
(This used to be commit 354326a718d490e49d760ae62e583612479fa706)
2007-10-10 13:59:22 -05:00