1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

1409 Commits

Author SHA1 Message Date
Andrew Bartlett
1a36516935 r10695: strupper() of NULL should be NULL, not panic.
Andrew Bartlett
(This used to be commit b1bcc0dc0b)
2007-10-10 13:39:20 -05:00
Volker Lendecke
4a34e81ccc r10690: Fix a bug that metze pointed out: Leaving the "rejecting" destructor around
prevents the memory from being freed.

Thanks,

Volker
(This used to be commit df8eeb01f4)
2007-10-10 13:39:19 -05:00
Volker Lendecke
faf2ad667a r10684: Add a nasty hack for the failure case of wbinfo -t. Tridge has a proper fix
for it pending.

Also fix a bug with timed events: Don't call the same event recursively in the
handler's inner semi-async event loop.

Volker
(This used to be commit e38e50127a)
2007-10-10 13:39:18 -05:00
Jelmer Vernooij
e264c8b6dd r10678: Add debug helper
Fix push for non-fixed length strings
(This used to be commit 821b0bb56f)
2007-10-10 13:39:17 -05:00
Andrew Tridgell
5ed07022b0 r10667: cope with a NULL tree for base searches in ldb_search()
(This used to be commit 26ff538578)
2007-10-10 13:39:16 -05:00
Andrew Tridgell
a788d01b87 r10666: - reverse the ildap ldb backend so tree based searches go through
directly, and expression based searches are converted to trees. This
makes for less conversions.

- allow the caller to supply a set of credentials via the ldb opaque
name 'credentials'. I will be using this in my ldb proxy module.
(This used to be commit af24f3d7fa)
2007-10-10 13:39:16 -05:00
Andrew Tridgell
b1ee0c2fa4 r10665: fixed some crash errors and an error encoding AND and OR operations in the expression parsing code
(This used to be commit 0d4a900ce5)
2007-10-10 13:39:15 -05:00
Jelmer Vernooij
ecbf28630e r10664: Include limits.h in replace.h for HOST_NAME_MAX
(This used to be commit dc3dc79674)
2007-10-10 13:39:15 -05:00
Andrew Tridgell
588abdba90 r10641: fixed the error handling on search errors in the ildap backend
(This used to be commit e80d42933f)
2007-10-10 13:39:14 -05:00
Jelmer Vernooij
9cbafc42ee r10605: Forgot one file...
(This used to be commit 441419a08f)
2007-10-10 13:39:11 -05:00
Jelmer Vernooij
5e7a0fb534 r10604: Put in the new registry "patchfile" code (similar to ldif
for LDB); not finished yet.
(This used to be commit b405b27ba4)
2007-10-10 13:39:11 -05:00
Andrew Tridgell
0e90afb4e7 r10603: neaten up the ldb module initialisation code
(This used to be commit 8e7c4c98a7)
2007-10-10 13:39:11 -05:00
Andrew Bartlett
a12a6686ba r10596: Move the credentials code into it's own subsystem, and push it under auth/
Andrew Bartlett
(This used to be commit 2e76a4b8ef)
2007-10-10 13:39:09 -05:00
Andrew Bartlett
40e214e919 r10593: Add printf attribute
Andrew Bartlett
(This used to be commit ba11061b96)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
87af8061c7 r10592: Add "adfgets()" function, which allocates and reads a line from a fd.
Also add torture tests for this function and file_{load,save}. I've hardcoded
a file name here.. should I handle that neater somehow?
(This used to be commit 8fa383f182)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
4abb479761 r10588: Remove more unused files, macros
(This used to be commit d2f80c0457)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc51)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
5a1cf98998 r10579: str_list_make() can return NULL
(This used to be commit f547ab4644)
2007-10-10 13:39:07 -05:00
Stefan Metzmacher
38e43be7b8 r10537: - we now use a much nicer way to handle talloc_free(timed_event)
the events code replaces a destructor to one that returns allways -1
  while it's calling the event handler
- we don't need the composite and winsrepl specific fixes any more
- this also fixes the problem with smbcli, dcerpc, cldap, ldap and nbt
  request timeouts

metze
(This used to be commit 495996cfc4)
2007-10-10 13:39:03 -05:00
Andrew Tridgell
82ae72a0cf r10535: fixed the pidfile code (it didn't survive the recent pstring changes)
(This used to be commit 1b9e657993)
2007-10-10 13:39:03 -05:00
Jelmer Vernooij
04b7fb64e1 r10533: Eliminate another use of next_token()
(This used to be commit cff17c6ac7)
2007-10-10 13:39:03 -05:00
Jelmer Vernooij
d345bab9c0 r10531: (hopefully) improve detection of socket-related functions in external libraries
(This used to be commit 20a1aba500)
2007-10-10 13:39:02 -05:00
Jelmer Vernooij
42b81d7c3e r10528: Add credentials.h back into includes.h as some compilers don't
seem to be able to handle incomplete enum types.
(This used to be commit 540155fad3)
2007-10-10 13:39:02 -05:00
Andrew Tridgell
675f81eed3 r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so the
type is always available, which means we need less #ifdefs
(This used to be commit d4af4b11ae)
2007-10-10 13:39:01 -05:00
Andrew Tridgell
f895df9772 r10524: SAFE_FREE() in tdb does not need the discard_const_p()
the discard_const_p() was causing problems on openbsd where intptr_t is not defined
(This used to be commit f02a92787b)
2007-10-10 13:39:01 -05:00
Andrew Tridgell
a2dffe109b r10523: fixed timegm() to not depend on get_time_zone(), so it works in lib/replace/
the old timegm() replacement was also broken (it returned the wrong value)
(This used to be commit 342489a1d4)
2007-10-10 13:39:00 -05:00
Andrew Tridgell
251aaafe3a r10522: finally got the locking working on solaris10. This adds a read lock on
the transaction lock in tdb_traverse_read(). This prevents a pattern
of locks which triggers the deadlock detection code in solaris10. I
suspect solaris10 is trying to prevent lock starvation by granting
locks in the order they were requested, which makes it much easier to
produce deadlocks.
(This used to be commit 54203aacd1)
2007-10-10 13:39:00 -05:00
Jelmer Vernooij
691aff270b r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX)
(This used to be commit 42eb14060d)
2007-10-10 13:39:00 -05:00
Jelmer Vernooij
7f7a2d133d r10517: Get rid of use of next_token() in lib/samba3/
(This used to be commit 811a6e28cc)
2007-10-10 13:38:59 -05:00
Jelmer Vernooij
01319b8462 r10516: Add seperator argument to str_list_{make,join}_shell()
(This used to be commit 0a5c9197f2)
2007-10-10 13:38:59 -05:00
Jelmer Vernooij
85abc86b21 r10514: Add str_list_make_shell() and str_list_join_shell()
(This used to be commit 8b86a5da73)
2007-10-10 13:38:59 -05:00
Jelmer Vernooij
49839f356f r10513: Reduce some use of pstring. The main reason some parts of the code still
use pstring is next_token() now.
(This used to be commit a5b88bcd42)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
f801ad3592 r10510: Decrease the amount of data included by includes.h a bit
(This used to be commit 03647e1321)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
e337caeed1 r10509: Some more sconscript fixes. Now getting to link stage for smbclient
(This used to be commit 6df956edba)
2007-10-10 13:38:58 -05:00
Tim Potter
0d46be147a r10500: More progress to getting ldb tools building. Create a list of ldb modules
to link in.  There's still a whole lot of random other junk (dcerpc, gensec,
ndr stuff, lp_foo - what a mess).
(This used to be commit b78cf1270b)
2007-10-10 13:38:57 -05:00
Andrew Tridgell
3545e513f5 r10496: - added configure test for sys/time.h
- print length of failed locks
(This used to be commit 11739ad31d)
2007-10-10 13:38:56 -05:00
Andrew Tridgell
f2e9db908a r10495: older redhat boxes need sys/time.h for select()
(This used to be commit a11762e7bc)
2007-10-10 13:38:56 -05:00
Andrew Tridgell
10de5cc72d r10494: - don't generate a tdb log message for any type of failed lock probe
- if the lock upgrade loop ever fails then log a warning
(This used to be commit 1b03c4e6c7)
2007-10-10 13:38:55 -05:00
Andrew Tridgell
66ad3ab652 r10493: we need sys/select.h to enable select() in the solaris workaround
(This used to be commit 144cc3da5e)
2007-10-10 13:38:55 -05:00
Andrew Tridgell
be27946d84 r10492: work around a bug in solaris which cases lock upgrades to fail with
EDEADLK even when progress can be made. This is not a good solution,
but I can't find anything better.
(This used to be commit 980dd17f7d)
2007-10-10 13:38:55 -05:00
Andrew Tridgell
06085e7bc0 r10490: - allow deferred irpc replies to set the status
- add an example of deferred reply for echodata in LOCAL-IRPC
(This used to be commit 858a757a6d)
2007-10-10 13:38:54 -05:00
Andrew Tridgell
87f71eb8ad r10489: added the ability for irpc server to defer replies instead of replying
immediately. They set m->defer_reply = True;
(This used to be commit 3dcd800a5d)
2007-10-10 13:38:54 -05:00
Andrew Tridgell
2fe7c3a34a r10485: run autoheader before autoconf
(This used to be commit 9456ed3db3)
2007-10-10 13:38:53 -05:00
Andrew Tridgell
ea801d6520 r10484: try to fix the pread/pwrite declaration problems
(This used to be commit 196995ea38)
2007-10-10 13:38:53 -05:00
Andrew Tridgell
6e99b959de r10483: fixed some uninitialised variables warnings
(This used to be commit 315653cf1e)
2007-10-10 13:38:53 -05:00
Volker Lendecke
cb6a4b280f r10479: Apply some const
(This used to be commit 3e10e8e661)
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
3d4ea18d4d r10478: More work on proto headers; we now generate a couple of smaller ones
that are then included by include/proto.h
(This used to be commit 703ffbaaac)
2007-10-10 13:38:52 -05:00
Simo Sorce
63b43dd12f r10477: expose transactions outside ldb and change the API once more
do not autostart transactions on ldb operations if a transaction is already in place
test transactions on winsdb

all my tests passes so far
tridge please confirm this is ok for you
(This used to be commit c2bb2a36bd)
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
70b52b02a7 r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
(This used to be commit e09ffdfb1d)
2007-10-10 13:38:51 -05:00
Andrew Tridgell
2a9b65cd17 r10475: make sure we report failures in tdbtorture (ie. get the exit status right)
(This used to be commit a795fc0aa1)
2007-10-10 13:38:51 -05:00