Age | Commit message (Collapse) | Author | Files | Lines |
|
didn't handle EINTR or EAGAIN)
(This used to be commit c35a8f92c2df354e972ced9371d33657ce99988e)
|
|
The main change is to make socket_recv() take a pre-allocated buffer,
rather than allocating one itself. This allows non-blocking users of
this API to avoid a memcpy(). As a result our messaging code is now
about 10% faster, and the ncacn_ip_tcp and ncalrpc code is also
faster.
The second change was to remove the unused mem_ctx argument from
socket_send(). Having it there implied that memory could be allocated,
which meant the caller had to worry about freeing that memory (if for
example it is sending in a tight loop using the same memory
context). Removing that unused argument keeps life simpler for users.
(This used to be commit a16e4756cd68ca8aab4ffc59d4d9db0b6e44dbd1)
|
|
rather than doing everything itself. This greatly simplifies the
code, although I really don't like the socket_recv() interface (it
always allocates memory for you, which means an extra memcpy in this
code)
- fixed several bugs in the socket_ipv4.c code, in particular client
side code used a non-blocking connect but didn't handle EINPROGRESS,
so it had no chance of working. Also fixed the error codes, using
map_nt_error_from_unix()
- cleaned up and expanded map_nt_error_from_unix()
- changed interpret_addr2() to not take a mem_ctx. It makes absolutely
no sense to allocate a fixed size 4 byte structure like this. Dozens
of places in the code were also using interpret_addr2() incorrectly
(precisely because the allocation made no sense)
(This used to be commit 7f2c771b0e0e98c5c9e5cf662592d64d34ff1205)
|
|
- Make sure a epm_tower struct is completely initialized
- Some more minor fixes
(This used to be commit d560dcbdb85cb2c6915bdb9e2f82f1872b0f5a52)
|
|
metze
(This used to be commit a25d1c44198fe9dd2c0a1c3472b58000f2d95e60)
|
|
- be more verbose on the INVALID_DN errstr
metze
(This used to be commit 4b8d90866efb0ed7fcc8e44e29c3d84f7537621c)
|
|
- detect in valid DN's
- some error handling fixes
metze
(This used to be commit d92eff232864aaf1e0e3c6bb26079cd5abb29d79)
|
|
(This used to be commit f544f830630c8d0bd37a66dc06683621c4dbcdde)
|
|
metze
(This used to be commit 1a3b546fce8a625dcd05e1177fea547d5cdb81d2)
|
|
this is needed because of the global catalog
metze
(This used to be commit 071c19c25df92e87355ce6efb5eb7ce7694cf09b)
|
|
metze
(This used to be commit 82e792a0ce94f63eeb8573d340b2198660aef132)
|
|
metze
(This used to be commit f3f2d1c6765a5799c3b0a302b68d41d045e1ba22)
|
|
metze
(This used to be commit 0f5267c29cca943acf5df392ce1f5c601c4ef7f0)
|
|
(port 3268)
metze
(This used to be commit 7d17122c71e5a84c4804b5630790ba2d1dac73ee)
|
|
so that that it will be easier found by running
./script/rootdse.pl
metze
(This used to be commit 650713f7fe5cf8cf81cab034af47d533c2e84227)
|
|
(there are a lot of clean ups following later, but the LDAP-BASIC test
works :-)
metze
(This used to be commit 34fe29c04a76f2f53f27adcaf9be2dce8d177516)
|
|
metze
(This used to be commit 5c3f3b4072ed67c6b6b11af6a0f7f2869c717cdb)
|
|
- don't say that we provide the same functionality as w2k3
- netbiosname is always upper case hostname
- minor fixes rootdse.pl
metze
(This used to be commit 0b30ec593fc6a8f0c0a5b2219ca1250fdd87c1f3)
|
|
(This used to be commit d878c3c36505f548158297a3cb3b1e3b18b24c55)
|
|
implemented rootDSE on ldb with rootdse.ldif and related script to populate a basic rootDSE tree
(This used to be commit 923c936088a42adbe49303d95af08e8129a4e908)
|
|
- move Bind Unbind code to a seperate file
metze
(This used to be commit 3aa1a298970eab563ff6304210bee4696ecec105)
|
|
metze
(This used to be commit 5173c4d4fe78b2ca539e0b650745b63475d48e1d)
|
|
metze
(This used to be commit 9a7505bd74a453b10aa2d40071bb80eb656bc61f)
|
|
metze
(This used to be commit d23335bc14de7f0402e3d536006d04e813403893)
|
|
(This used to be commit 391b09dad1cb549b4ce508265a9925c405201e47)
|
|
this function names are unsed elsewhere in the code too
metze
(This used to be commit a8f2fe0ff0dc2b4219a2cc56272e1e929b9b59b8)
|
|
clean up simple_ldb functions
(This used to be commit 3af61cb6cd43c8609f06d66d2678994726805063)
|
|
metze
(This used to be commit ae4b99d15c24696e0784e406e00220d2d0c0a93f)
|
|
add a nearly complete rfc conformat dn parsing function
(This used to be commit 1bc5a94488f48ae5c8e67db169f24f5f24c4a234)
|
|
so talloc now doesn't contain any ldb specific functions.
allow NULL to be passed to a couple more talloc() functions
(This used to be commit 1246f80d806fb5f63cfbf3879de6d546384552a8)
|
|
(This used to be commit 5f9b58c785950e9871ef6411ff2ef34f988959ed)
|
|
metze
(This used to be commit 991b4777c8690337bb319c57550e918ced5d7503)
|
|
Make it handle all cases:
- remove spaces before and after ','
- remove spaces after '='
TODO: check if there are escape chars in the RFC, they are not handled here yet.
Simo.
(This used to be commit ba2970c3a44562f071309198494c4b68659b2f3f)
|
|
Simo: this commit should not conflict much with your changes:-)
metze
(This used to be commit 6825e78e01a220bc837ea51aa6afbf3f26a02c49)
|
|
metze
(This used to be commit a0e4dca3dab1da02edc09fd5f80690ec0b764c17)
|
|
partition
(this is not complete yet)
- call asn1_free() after each call
metze
(This used to be commit 0aa622bdc497e4ae1a23bd47ad9d9bf2757c8fd5)
|
|
metze
(This used to be commit 60dcba3e91cedca78d2eb7e01bc04790739a4aad)
|
|
metze
(This used to be commit e74d3895f01369606254250f77376ae6ba3682ac)
|
|
- fix some errstr settings
metze
(This used to be commit 7419c6dabbe09b4a5628fc36c7636a1763e4876f)
|
|
(This used to be commit ddd74dae8efe4e04b5a56ee9ecd9d4f87f99d104)
|
|
- add some debug messages
metze
(This used to be commit 1de1beca66da68e5af0869629d2c50016c25e776)
|
|
Add delete functionality to ldb simple lda server backend
add some const in ldap.h
(This used to be commit 5ed9a6eb184f34eb572dd81202237042518ec7cd)
|
|
- use the return code of the functions
and only call ldapsrv_terminate_connection from ldapsrv_recv() or ldapsrv_send()
- the rootdse is now a normal partition
metze
(This used to be commit af1501a28d700f90cd2243fbfdce6527a0f62961)
|
|
(thanks simo:-)
metze
(This used to be commit e62cd75d3786f3d638ac2a27d6e864c826eaa48f)
|
|
metze
(This used to be commit 740347255b8f1aafda1ebd10d63fdde1c4041af0)
|
|
which exports data from a ldb.
I commit this code, so that someone can help me to find a strange
bug
metze
(This used to be commit 67bb49172567af9d106ded55c1257b808d2a97ff)
|
|
library are closed on abnormal termination
- convert the service.h structures to the new talloc methods
(This used to be commit 2dc334a3284858eb1c7190f9687c9b6c879ecc9d)
|
|
hierarchical memory allocation
(This used to be commit 26da45a8019a2d6c9ff2ac2a6739c7d0b42b00de)
|
|
- handle the complete rootDSE search (maybe this will be also a partition module)
metze
(This used to be commit 6fc904a71cf5305d0c5c260ad1665499ea6c6f9a)
|
|
when the backend didn't implement the call
metze
(This used to be commit e2fe6858494da311ee9a3f06dd84509572318893)
|