Andrew Bartlett
43da48650a
r23035: We don't need to add this entry, and I hope to figure out how to avoid
...
adding the other two manually.
However, to do this we do need to skip the check (with -u) that
slaptest can access the db.
Andrew Bartlett
(This used to be commit ea206dce06
)
2007-10-10 14:52:43 -05:00
Andrew Bartlett
4dbbf7fed3
r23034: Thanks to metze for providing some vital clues in the 'kerberos ccache
...
on credentials don't do anything' bug.
The problem was simple, we didn't set the ccache as having been
initialised, so we always created a new one.
Andrew Bartlett
(This used to be commit ec2014f08b
)
2007-10-10 14:52:43 -05:00
Stefan Metzmacher
1b67925851
r23033: regenerate schema.ldif with minischema.js
...
metze
(This used to be commit c9e017c008
)
2007-10-10 14:52:42 -05:00
Andrew Bartlett
d21bfc05ef
r23032: Remove calls to println(), and ensure we print the ldb errstring().
...
Andrew Bartlett
(This used to be commit 5b6f704b24
)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
fcd4f22cd6
r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
...
hang forever if an ealier one caused two operations to complete at
once
this is why RAW-CONTEXT was taking 5 minutes on the build farm
(This used to be commit eeba37e25c
)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
7bb939b1cb
r23030: finally fixed up our asn1 code to use better memory allocation. This
...
should allow us to fix some long standing memory leaks.
(This used to be commit 3db49c2ec9
)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
042ddf28ec
r23029: fixed formatting
...
(This used to be commit 72ee470772
)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
e0d4923c16
r23028: I've now got a patch to Fedora DS to make it only install the very base schema.
...
I'll post that patch into lorikeet and submit upstram.
Andrew Bartlett
(This used to be commit 90f2412152
)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
e40d9cbdc8
r23027: Make sure the parent object always exists.
...
Andrew Bartlett
(This used to be commit 55c7c0906c
)
2007-10-10 14:52:41 -05:00
Andrew Tridgell
36d7186e72
r23021: test some boundary conditions for idtree, after I saw some suspicious
...
behaviour
(This used to be commit e862cf17b8
)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
d3e28ccd48
r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)
...
(This used to be commit 9a8da730a7
)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
b691b4ad3d
r23019: revert r23018 - this will require more thought.
...
(This used to be commit df60df9678
)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
a8716afce8
r23018: fixed a memory leak in our server side session setup code for failed
...
session setups
(This used to be commit a4e043e1f8
)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
e3036006fe
r23017: fixed the warning we have been getting for a long time:
...
pvfs_close: failed to delete XXX
during the BASE-DELETE test. It was a real bug, and could result in a
delete on close triggering for a handle that had never fully opened.
(This used to be commit 398c3724b4
)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
d2872b42f3
r23013: fixed a bug in the string_replace_w() test that caused OpenBSD to die
...
(This used to be commit 1fe20a4555
)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
7bdc1a8ec9
r23012: we need a POLICYGUID in provision
...
(This used to be commit b9f8650b20
)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
fdc0809b41
r23011: initialisation functions must return NTSTATUS, otherwise we get bus
...
errors on platforms like sparc. This is why sun1 died during
provision.
(This used to be commit ad6a672ec3
)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
d3f30cab1e
r22997: only if the output of which has a leading '/' the output is useful...
...
metze
(This used to be commit 34968bef6d
)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
23026646e1
r22996: merge HPUX compiler flag fixes from SAMBA_3_0
...
metze
(This used to be commit 9a9376d902
)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
ac5cd254fa
r22995: don't run LOCAL-ICONV twice...
...
metze
(This used to be commit 9aa328fbf6
)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
47e5c163d6
r22993: - make it possible to load a dsdb_schema from ldif via the ejs bindings
...
- make it possible to set ntds_objectGUID and ntds_invocationId via the ejy bindings
metze
(This used to be commit df7863ea1c
)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
d7e913d193
r22992: add a function to attach the dsdb_schema to a ldb_context
...
loaded from ldif files. The first file should contain
the info's about the 'prefixMap' attribute in the first ldif chunk.
The 2nd file should contain all attributes and classes.
metze
(This used to be commit 587f70e153
)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
d863f65d93
r22991: ignore '@foo' attributes in the repl_meta_data module
...
metze
(This used to be commit b592ac1c2c
)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
9b4a689c98
r22990: free temporary memory also on success...
...
metze
(This used to be commit 876a6ef485
)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
fe1d56dd3b
r22989: allow '@foo' attributes searchable as we allow '@foo' attributes
...
in all other places too...
metze
(This used to be commit 4e32aafb9e
)
2007-10-10 14:52:36 -05:00
Andrew Tridgell
2ad24b9ba1
r22988: fixed 2 bugs in our unsetenv() replacement code
...
1) you must not free the memory, as it is possible the memory did not
come from malloc (try it under valgrind to test)
2) the old code didn't cope with duplicate environment variables
I hope this will fix some of the build farm errors on irix, and maybe solaris
(This used to be commit ec6900171d
)
2007-10-10 14:52:36 -05:00
Andrew Bartlett
fe0b8a5df4
r22987: Clarify how the events are handled in the kerberos code, and
...
standardise with the rest of the code.
Andrew Bartlett
(This used to be commit 3aa9d70723
)
2007-10-10 14:52:36 -05:00
Ronnie Sahlberg
a777eb0cfa
r22986: error 2312 is returned when NetSessDel() fails because a matching session (username/clientname)
...
could not be found
(This used to be commit e2b46d280d
)
2007-10-10 14:52:36 -05:00
Andrew Tridgell
cd509a6237
r22985: don't do checkins late at night ....
...
thanks to Volker for spotting this!
(This used to be commit d28fc5f87f
)
2007-10-10 14:52:35 -05:00
Andrew Tridgell
4f9977aaba
r22984: not everyone uses tridgell.net (fortunately)
...
(This used to be commit f60817d797
)
2007-10-10 14:52:35 -05:00
Andrew Bartlett
df5f675d2a
r22983: This should ensure that torture_create_testuser() can be called,
...
without needing to change the user's password afterwoulds.
(Accounts were being created with 'must change at next login' set).
Andrew Bartlett
(This used to be commit 7b94f2f6db
)
2007-10-10 14:52:35 -05:00
Andrew Tridgell
c0aa1f0d9e
r22972: added the basic ldif needed to support group policies in Samba4. WinXP
...
clients do correctly see our group policies, but the gpmc admin tool
doesn't yet work to allow you to edit the policies
(This used to be commit 4c6e01a585
)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
907b98f33f
r22971: fix build on systems without epoll
...
(This used to be commit 146303d91b
)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
4c20e077a1
r22970: the events code calls close(), which needs to use socket_wrapper.h in
...
the build farm
(This used to be commit 603d8b6f17
)
2007-10-10 14:52:34 -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
ad1cde253e
r22968: andrew bartlett pointed out that the parent process could add a fd to
...
the epoll context which would then appear in the children. To fix this
we need to check for pid changes in more places. Luckily on platforms
where we have epoll(), getpid() is very very cheap.
(This used to be commit 4f84e6d569
)
2007-10-10 14:52:33 -05:00
Andrew Bartlett
b5ae9019b0
r22967: Move to the TCP packet interface for the krb5_send_to_kdc plugin.
...
This replaces a lump of hand-crafted code with the generic packet
system used in the rest of Samba4.
(I started this while chasing down the epoll bug, which turned out to
be seperate)
(This used to be commit 2a7dec4e5d
)
2007-10-10 14:52:33 -05:00
Andrew Bartlett
1a7b251319
r22966: Make sure to return LOGON_FAILURE if the user's kerberos password is
...
incorrect.
Andrew Bartlett
(This used to be commit 9dc6f36e43
)
2007-10-10 14:52:33 -05:00
Andrew Tridgell
da9b4626bc
r22965: changed RAW-LOCK-BENCH to remove the scheduling uncertainty. We should
...
always get balanced locking now
(This used to be commit 4e6df7b9b1
)
2007-10-10 14:52:33 -05:00
Andrew Tridgell
878f69468d
r22964: log an error on epoll_create failing on reopen
...
(This used to be commit a69f285998
)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
b6e64bad55
r22963: fixed the epoll/fork interaction in the epoll and aio backends
...
(This used to be commit aeca07659a
)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
e9eb862dc0
r22962: show progress separately for each client in RAW-BENCH-LOCK, this is
...
much more useful for seeing why we get unbalanced locking
(This used to be commit 1f1f57023b
)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
2741921a50
r22961: use EVENT_FD_AUTOCLOSE and SOCKET_FLAG_NOCLOSE to fix up some hairy
...
problems with order of socket closing in krb5
(This used to be commit 46a7d83c2b
)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
59d1a2b30e
r22960: added a SOCKET_FLAG_NOCLOSE to allow us to tell the socket layer that
...
we will handle the close of the socket
(This used to be commit d57aaf5ba6
)
2007-10-10 14:52:31 -05:00
Andrew Tridgell
87379e0d58
r22959: cope with a rather interesting interaction between epoll() and
...
fork(). See
http://junkcode.samba.org/ftp/unpacked/junkcode/epoll_fork.c for why
this is needed
(This used to be commit 6d06132ea9
)
2007-10-10 14:52:31 -05:00
Ronnie Sahlberg
402218516a
r22958: For SRVSVC/NetFileClose only Administrator is allowed to close open files.
...
If a normal user tries to close a file that exists, even that users own files the server
responds with this error on w2k
if the file does not exist, the server instead responds with WERR_BADFILE
(This used to be commit c17df8bed6
)
2007-10-10 14:52:31 -05:00
James Peach
66cc0b1e21
r22952: Make sure we look at extra_cflags when building custom targets.
...
(This used to be commit 2d990cd374
)
2007-10-10 14:52:31 -05:00
Stefan Metzmacher
40cd2d7780
r22944: fix bug #4618 :
...
rename private -> private_data
metze
(This used to be commit 58551f2f28
)
2007-10-10 14:52:30 -05:00
Michael Adam
3e5335063a
r22931: Fix logic in detection of the need to replace dlopen and friends.
...
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen
was found in libdl but header dlfcn.h was not appropriate.
Michael
(This used to be commit 7afa8d2a47
)
2007-10-10 14:52:30 -05:00
Andrew Bartlett
5ca5e6bdf9
r22921: This index saves another 7 seconds off a 'make quicktest', and is a common search operator.
...
Andrew Bartlett
(This used to be commit a258455e75
)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
283aeb2a37
r22913: try to work arround the unaligned memory access bug on Tru64
...
metze
(This used to be commit 3a7a30ab1c
)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
976d97f403
r22896: we pass SMB2-LOCK now
...
metze
(This used to be commit b8994c3d1c
)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
d15e4d30e6
r22894: don't send a 2nd request before the last one returned (at least with
...
STATUS_PENDING) otherwise longhorn beta3 just drops the connection
metze
(This used to be commit 503644a5e3
)
2007-10-10 14:52:29 -05:00
Andrew Tridgell
e9dcc9a3da
r22887: and servicePrincipalName ....
...
(This used to be commit 45d668d19f
)
2007-10-10 14:52:29 -05:00
Volker Lendecke
e1e759585e
r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It
...
might take a bit for events to propagate from one to another connection,
in particular with a process per connection.
(This used to be commit 0c7a518b2d
)
2007-10-10 14:52:29 -05:00
Andrew Tridgell
71cbc569cb
r22885: now we use kernberos more, we need to index on userPrincipalName
...
(This used to be commit 600d39e0ba
)
2007-10-10 14:52:29 -05:00
Andrew Bartlett
cb00a33c67
r22884: Be consistant with the case of these constants.
...
Andrew Bartlett
(This used to be commit 7b086eebd6
)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
61e5856403
r22883: Indentation.
...
(This used to be commit 7548da913d
)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
4febada51f
r22882: It seems entirly reasonable to follow metze's suggestion and check for
...
a valid file handle first.
Andrew Bartlett
(This used to be commit 3947db3dcb
)
2007-10-10 14:52:28 -05:00
Andrew Tridgell
3173a3cee6
r22881: show number of connected clients
...
(This used to be commit 42f6c5106e
)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
a4e571b589
r22877: Remove stray 'l'
...
(This used to be commit 97960421a1
)
2007-10-10 14:52:27 -05:00
Andrew Tridgell
2e11a2b601
r22876: - try to reconnect once per second, not continously
...
- patch from ronnie to fix the lock offset on reconnect
(This used to be commit 77d7ca5590
)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
bb84e0b584
r22875: We want to skip this test, it will fail unless run against IPC$ (which the pattern does not).
...
We need a way to list this against IPC$, but not have this skip entry
override it.
Andrew Bartlett
(This used to be commit 01ed78d20a
)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
3a88c56346
r22874: Expand the RPC-QFILEINFO-IPC test, and add a server implementation to match.
...
This should help with Vista joins.
Andrew Bartlett
(This used to be commit 8f85fb3786
)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
d307c116c8
r22873: Make the RAW-QFILEINFO-IPC test pass against Win2k3.
...
Next step is working on Samba4's IPC ntvfs module.
Andrew Bartlett
(This used to be commit aca0250492
)
2007-10-10 14:52:26 -05:00
Rafal Szczesniak
7731921835
r22871: restore testing against host name instead of ip address
...
rafal
(This used to be commit 5638210f2d
)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
bf62b6642c
r22866: handle incoming chained smb2 requests in our server code to let
...
the windows explorer in longhorn beta3 work.
metze
(This used to be commit 2390c9f24d
)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
37f8c04d90
r22865: handle pending locks in smb2
...
metze
(This used to be commit 8329fa6895
)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
5eb7420f11
r22864: in SMB2 mode we need to cancel an existing lock with a conflicting lock
...
if they're on the same handle and the same range
metze
(This used to be commit 36384bb4a0
)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
0543c06d25
r22863: in SMB2 mode we always need to return NT_STATUS_LOCK_NOT_GRANTED
...
metze
(This used to be commit 83a61a2892
)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
5151068d5a
r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3
...
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading
and name in SMB2-LOCK-RW-EXCLUSIV
- add SMB2-LOCK-NONE and SMB2-LOCK-SHARED
metze
(This used to be commit 258555975d
)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
bd93b41d17
r22849: map smb2 lock to the generic level
...
metze
(This used to be commit fbbb144f8e
)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
4eb1c753ab
r22843: pass smb2 lock requests to the ntvfs layer
...
metze
(This used to be commit 7fa00381ef
)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
a42f78cd50
r22842: fix directory listing of SMB2 and include directories and hidden files
...
metze
(This used to be commit e087772ec9
)
2007-10-10 14:52:24 -05:00
Andrew Bartlett
8861c4a68e
r22838: Add in an explority test for what QFSINFO operations are valid on IPC$
...
It seems most opertaions are supported, but that the values are not
consistant. I think these are very much hand-hacked stubs, which is
what they will be on Samba4 too.
I'll need to add some more 'don't fail for...' hacks before this
passes against Win2k3.
Andrew Bartlett
(This used to be commit dcb858d0c7
)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
0f6b62072e
r22837: make RAW-BENCH-LOCK reconnect asynchronously when one of its servers
...
goges away
(This used to be commit cf0cdf5171
)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
ba0424fddb
r22836: started adding auto-reconnect logic to lockbench. This needs to be
...
made async.
(This used to be commit 9e1ea3e09c
)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
7df266a4f8
r22835: it's useful to see how much time is remaining in this test (so we can
...
tell if failures are due to the cleanup code)
(This used to be commit a4ff1927d4
)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
af0ba915f5
r22834: fixed a memory leak in the torture_open_connection() code, and removed
...
the duplicate handling of the unclist. This now exposes a function
torture_get_conn_index() which can be used by tests to work out which
host to talk to using the unclist. I will be using that as part of a
set of tests for clustered Samba that need to do auto-reconnect (to
allow testing of cluster node failure)
(This used to be commit b505c176a8
)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
bb2571cb90
r22833: use EVENT_FD_AUTOCLOSE in our event test suite
...
(This used to be commit 9109d43595
)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
a2b2502585
r22832: merged the latest tdb changes from ctdb to Samba4
...
(This used to be commit a88ab4fa3a
)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
bf27e58c2f
r22831: take advantage of EVENT_FD_AUTOCLOSE in the inotify code
...
(This used to be commit 419ef7393f
)
2007-10-10 14:52:21 -05:00
Andrew Tridgell
ecc54f900f
r22830: merged the latest lib/events updates from ctdb to Samba4. This
...
includes a new EVENT_FD_AUTOCLOSE flag that prevents race conditions
where code using fd events might close a fd before releasing the
struct fd_event. That causes headaches for epoll.
(This used to be commit f1ad216de1
)
2007-10-10 14:52:21 -05:00
Andrew Tridgell
bc02bba449
r22829: system/select.h needs to bring in epoll.h for epoll usage in
...
lib/events
(This used to be commit 2c9d0b57f9
)
2007-10-10 14:52:21 -05:00
Jelmer Vernooij
c3b00b471a
r22827: Change license to LGPL (discussed with tridge).
...
(This used to be commit 1193c75962
)
2007-10-10 14:52:21 -05:00
Stefan Metzmacher
518f41fec0
r22825: let longhorn beta3 work with samba4
...
if we return a zero assoc_group_id longhorn beta3 stops
after getting the bind_ack.
metze
(This used to be commit 09aea65960
)
2007-10-10 14:52:20 -05:00
Stefan Metzmacher
4bb3160555
r22824: - add a simple test which shows how a lock rejects
...
a write on a different file handle.
SMB2-LOCK-BLOCK-WRITE
- make it possible to run each SMB2-LOCK-* test on its own
metze
(This used to be commit 9c02f690bc
)
2007-10-10 14:52:20 -05:00
Andrew Tridgell
5c0963acc3
r22813: improve error messages in RAW-NOTIFY test
...
(This used to be commit f5b2011db9
)
2007-10-10 14:52:20 -05:00
Rafal Szczesniak
7e14a25dc6
r22811: two more memory allocation checks.
...
rafal
(This used to be commit d66b13f6fa
)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
a4e4ff9273
r22810: when a test runs against domain controller use domain name
...
instead of target host name specified in binding string.
metze: this fixes the problem with passing name resolution
down the socket wrapper calls. NET tests now run against
$SERVER flawlessly.
rafal
(This used to be commit 44eacd8654
)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
945cb016a4
r22809: use buffer size specified in libnet context.
...
rafal
(This used to be commit c78dfd3567
)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
7c636fd2fe
r22808: store default buffer size for samr operations in libnet context.
...
This allows not requiring it as an argument in some function calls
and still enables specifying any size if it's necessary via libnet
context.
rafal
(This used to be commit 3e4b0c5b3b
)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
6bf83794e5
r22804: convert libnet_rpc_userinfo function to use "continue" functions
...
instead of a single handler.
rafal
(This used to be commit c27c0523ac
)
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
06dae806f9
r22793: use a state struct for r_do_release_demand to avoid a memleak on errors
...
metze
(This used to be commit a411152731
)
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
bb691629f5
r22792: only don't free on success
...
metze
(This used to be commit 2259bc2cad
)
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
4ef7bab6d0
r22791: make it possible to use smb2_create_blob_add() in the server code too
...
metze
(This used to be commit c08eeb62ca
)
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
e1635caaf3
r22790: fix initialization for chained requests
...
metze
(This used to be commit e1cc933c00
)
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
2dacfdf099
r22789: fix loading of internal samba4 modules
...
metze
(This used to be commit f6740c8b7a
)
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
7e330c7c0c
r22788: fix typo
...
metze
(This used to be commit 635a636e89
)
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
6bf99b9e85
r22774: correctly initialize the smbsrv_connection when switching to SMB2
...
metze
(This used to be commit 0fa4eb7323
)
2007-10-10 14:52:17 -05:00
Jelmer Vernooij
cf4d161f15
r22769: Fix include location.
...
(This used to be commit 74d51579af
)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
665065a1df
r22764: - replace talloc_zero with composite_create
...
- use event context provided with libnet context instead of creating
a new one
rafal
(This used to be commit ce8414b3da
)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
da7f449a07
r22763: replace talloc_zero calls with composite_create and add more
...
allocation checks.
rafal
(This used to be commit 621f3e5674
)
2007-10-10 14:52:16 -05:00
Jelmer Vernooij
cc26fe9b74
r22762: Some ldb_map changes:
...
* Change license to LGPL, so it can be used by non-Samba users of
LDB (cleared with Martin as well).
* Include ldb_map in standalone build.
* Move ldb_map to its own directory
(This used to be commit a90202abca
)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
7ef755d150
r22758: - add missing _talloc_set_name_const(ret, ret); to talloc_append_string()
...
- update manpage and add comments about _talloc_set_name_const(ret, ret);
in all places which use them
metze
(This used to be commit 5cd100de82
)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
aa4ab6d3c1
r22757: test if calling talloc_free() works on parent elements from within a destrutor
...
metze
(This used to be commit 305117fae0
)
2007-10-10 14:52:15 -05:00
Andrew Bartlett
112728c651
r22756: Make it easier to setup an LDAP replica. Provision with
...
--partitions-only (suggestions for a better name welcome) will setup
the partitions records, but no any data in those partitions. This can
then point at the already configured remote LDAP server.
Andrew Bartlett
(This used to be commit ee7b06fc83
)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
19d56c775a
r22752: bail out on talloc failure
...
metze
(This used to be commit da92bf88e5
)
2007-10-10 14:52:10 -05:00
Jelmer Vernooij
31b47acf52
r22750: dlopen() is always available now (and returns a correct error if not supported by the system), thanks to libreplace.
...
(This used to be commit 1152a4f56d
)
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
7fe9a3255a
r22749: fix memory leak of nbt_name_request structure which are used to send replies
...
and never have an async callback that could free it.
we only had the memory leak in the error path the
standard path was ok.
metze
(This used to be commit d2a2fe662d
)
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
68b531e817
r22748: fix memleaks by passing an mem_ctx to
...
irpc_servers_byname()
metze
(This used to be commit b54584dfab
)
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
56ab0cd77c
r22746: fix the build of the sqlite module
...
metze
(This used to be commit cd958034df
)
2007-10-10 14:52:08 -05:00
Stefan Metzmacher
7a919bede7
r22743: set the talloc name to the string...
...
metze
(This used to be commit d907fb26a7
)
2007-10-10 14:52:08 -05:00
Jelmer Vernooij
b157580538
r22742: Fix tests.
...
(This used to be commit 7240c2d7e3
)
2007-10-10 14:52:08 -05:00
Jelmer Vernooij
ac0e2b606f
r22741: Add MSVC-specific pragma's for Wireshark. Patch from Ronnie.
...
(This used to be commit 40d6235b24
)
2007-10-10 14:52:08 -05:00
Rafal Szczesniak
0ad4c05508
r22735: correct some comments
...
rafal
(This used to be commit 6d4268bcd3
)
2007-10-10 14:52:07 -05:00
Rafal Szczesniak
fbe82f1375
r22734: - use samr pipe if it is already opened
...
- close connection handle after domains enumeration
- collect domain names in subsequent rounds of enumeration
(if there are more than one)
rafal
(This used to be commit 5ab76ce515
)
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
84ea1aa3fc
r22723: fix compiler warnings
...
metze
(This used to be commit d8440f0579
)
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
9dba7d7613
r22722: fix dependencies
...
metze
(This used to be commit 0397eca102
)
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
c722b7ad60
r22721: use only included talloc and tdb untill jelmer
...
fixes the code to support both...
the problem is that we always add EXT::TALLOC in config.mk
before 'include lib/talloc/config.mk'
metze
(This used to be commit fa5b22e0c6
)
2007-10-10 14:52:06 -05:00
Stefan Metzmacher
aed8091df0
r22718: remove autoconf warnings, we should only include
...
.m4 files only once
metze
(This used to be commit 81f906537d
)
2007-10-10 14:52:03 -05:00
Jelmer Vernooij
ca72dbec9a
r22699: Reduce amount of magic required for popt detection.
...
(This used to be commit 05ca6ecef7
)
2007-10-10 14:52:03 -05:00
Jelmer Vernooij
b3a4fd11e9
r22698: Support using system tdb, when available.
...
(This used to be commit 4d3f02e845
)
2007-10-10 14:52:03 -05:00
Jelmer Vernooij
30baa7f39e
r22697: Support building with external talloc.
...
(This used to be commit 3a2f9e0977
)
2007-10-10 14:52:02 -05:00
Simo Sorce
31d28c5b8c
r22696: Make sure this is an ascii char
...
spotted by Volker
(This used to be commit e24812016f
)
2007-10-10 14:52:02 -05:00
Volker Lendecke
d6121458b0
r22694: It seems that AIX 5.3 with XLC has difficulties with <ctype.h>. This is
...
an attempt to work around this: Maybe it helps if we include other stuff
first.
This raises a question however: Do we want the DN handling to be locale
dependent? isalpha() can return different things depending on the
current locale.
(This used to be commit 75ba82dee0
)
2007-10-10 14:52:02 -05:00
Jelmer Vernooij
bb71fc3856
r22687: use DESTDIR.
...
(This used to be commit 0b34da929f
)
2007-10-10 14:52:02 -05:00
Jelmer Vernooij
9b03417172
r22684: Fix native Samba build.
...
(This used to be commit 582e743e68
)
2007-10-10 14:52:01 -05:00
Stefan Metzmacher
9644ced731
r22683: fix the logic for skipping the pipe_dead()
...
code on the 2nd run.
thanks volker for finding this!
metze
(This used to be commit 00ccc217da
)
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
e0e8fc3db4
r22682: Fix standalone ldb build when parent directory name != ldb.
...
(This used to be commit 532f28724d
)
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
52fb06edc2
r22681: Fix standalone ldb build when parent directory name != ldb.
...
(This used to be commit 1093875d59
)
2007-10-10 14:52:00 -05:00
Volker Lendecke
be7eb080fe
r22680: Fix a talloc ctx name
...
(This used to be commit 3c46831f66
)
2007-10-10 14:52:00 -05:00
Rafal Szczesniak
d02dc1b674
r22672: use composite_create calls instead of talloc_zero.
...
rafal
(This used to be commit 969b175c73
)
2007-10-10 14:52:00 -05:00
Andrew Tridgell
5f475b80ee
r22670: changed the RAW-NOTIFY test to support clustered testing (two nodes)
...
(This used to be commit 12ce85aea1
)
2007-10-10 14:52:00 -05:00
Stefan Metzmacher
aa95279b81
r22669: fix uninitialized element which was causing a crash with 'net password set'
...
metze
(This used to be commit 9bbe473356
)
2007-10-10 14:51:59 -05:00
Jelmer Vernooij
9fc5647043
r22668: Fix ldb build
...
(This used to be commit 331a0f608f
)
2007-10-10 14:51:59 -05:00
Stefan Metzmacher
c83c6740ab
r22667: revert revision 22640 as it breaks nested structs in idl
...
metze
(This used to be commit b5c84460fc
)
2007-10-10 14:51:59 -05:00
Jelmer Vernooij
1477b7a24f
r22665: Change version back to 0.9.
...
(This used to be commit 5037373c4c
)
2007-10-10 14:51:59 -05:00
Stefan Metzmacher
91ec102fb9
r22662: disable shared library support on Tru64
...
metze
(This used to be commit 75d5155cd3
)
2007-10-10 14:51:58 -05:00
Stefan Metzmacher
6c6c5927a1
r22661: optimize the handling of directly triggered timed events:
...
- if someone adds a timed_event with a zero timeval
we now avoid serval gettimeofday() calls and the
event handler doesn't get the current time when it's
called, instead we also pass a zero timeval
- this also makes sure multiple timed events with a zero timeval
are processed in the order there're added.
the little benchmark shows that processing 2000000 directly timed events
is now much faster, while avoiding syscalls at all!
> time ./evtest (with the old code)
real 0m6.388s
user 0m1.740s
sys 0m4.632s
> time ./evtest (with the new code)
real 0m1.498s
user 0m1.496s
sys 0m0.004s
metze@SERNOX:~/devel/samba/4.0/samba4-ci/source> cat evtest.c
#include <stdio.h>
#include <stdint.h>
#include <sys/time.h>
#include <talloc.h>
#include <events.h>
static void dummy_fde_handler(struct event_context *ev_ctx, struct fd_event *fde,
uint16_t flags, void *private_data)
{
}
static void timeout_handler(struct event_context *ev, struct timed_event *te,
struct timeval tval, void *private_data)
{
uint32_t *countp = (uint32_t *)private_data;
(*countp)++;
if (*countp > 2000000) exit(0);
event_add_timed(ev, ev, tval, timeout_handler, countp);
}
int main(void)
{
struct event_context *ev;
struct timeval tval = { 0, 0 };
uint32_t count = 0;
ev = event_context_init(NULL);
event_add_fd(ev, ev, 0, 0, dummy_fde_handler, NULL);
event_add_timed(ev, ev, tval, timeout_handler, &count);
return event_loop_wait(ev);
}
(This used to be commit 4db64b4ce2
)
2007-10-10 14:51:58 -05:00
Stefan Metzmacher
e4161f9dee
r22658: - add AC_GNU_SOURCE macro for systems which don't have it
...
(sles8)
- fix compiler warning on some systems
metze
(This used to be commit 2097ac64fc
)
2007-10-10 14:51:58 -05:00
Jelmer Vernooij
f239b809b4
r22642: Allow standalone build to work without tdb or talloc checked out, but
...
provided by the system.
(This used to be commit bdde740551
)
2007-10-10 14:51:57 -05:00
Stefan Metzmacher
0bc6c5a7b1
r22640: - generate nicer output
...
- fix compiler warning about unused ';'
metze
(This used to be commit 715060187f
)
2007-10-10 14:51:57 -05:00
Jelmer Vernooij
8f786106a5
r22637: Install tdbbackup and tdbdump again.
...
(This used to be commit 8197cb975e
)
2007-10-10 14:51:57 -05:00
Stefan Metzmacher
7983989508
r22635: make it possible to not turn off dns canonicalization of hostnames
...
with krb5:set_dns_canonicalize=yes
needed for the drsuapi replication, but we should fix this with
a kdc locator plugin ...
metze
(This used to be commit f0a12355bc
)
2007-10-10 14:51:56 -05:00
Andrew Tridgell
19a6878380
r22634: make the events system much less dependent on the samba4 build system
...
(This used to be commit b0c8c1cd21
)
2007-10-10 14:51:56 -05:00
Andrew Tridgell
20a0206a10
r22632: merged volkers select events fix
...
(This used to be commit 216aa06fe6
)
2007-10-10 14:51:56 -05:00
Stefan Metzmacher
de9768764d
r22629: if irpc gets freed within event_loop_once() we crash...
...
so deferr the freeing
metze
(This used to be commit 3a30bc0d61
)
2007-10-10 14:51:56 -05:00
Stefan Metzmacher
298f178dca
r22628: convert to new composite api
...
and free the smbcli_request explicit to fix a crash where
the request handler gets called after its private data is already
freed
metze
(This used to be commit 55306c6188
)
2007-10-10 14:51:55 -05:00
Stefan Metzmacher
e2633be313
r22627: fix crash msgs_tmp isn't always initialized
...
and we don't need an extra allocated string anyway
metze
(This used to be commit 44c27b2fe6
)
2007-10-10 14:51:55 -05:00