Andrew Bartlett
210d3c1dc7
r13205: Add another useful comment.
...
Andrew Bartlett
(This used to be commit 78d634047f41466e4bf169e727f730d776949b33)
2007-10-10 13:51:33 -05:00
Jelmer Vernooij
7cc28a1c8b
r13186: Remove assumption that callers that specify -1 actually mean sizeof(pstring)
...
(This used to be commit da72f47226f9c514deb75bc6e69548c240822eb5)
2007-10-10 13:51:32 -05:00
Jelmer Vernooij
ffa41a1264
r13181: Fix standalone ldb build
...
(This used to be commit e9059ea0c56c1fd9886eb038df5455efe11962f8)
2007-10-10 13:51:32 -05:00
Simo Sorce
cd7553959e
r13167: handle cotrols' reply even in error
...
(This used to be commit b9d1d02f381cf81883c9f22a1702319f5fce6eb8)
2007-10-10 13:51:31 -05:00
Simo Sorce
d346794a8d
r13166: Patches form Brad Hards
...
(This used to be commit 335050b30d832f529fb8fdd4f96e4bb3de93f38c)
2007-10-10 13:51:31 -05:00
Stefan Metzmacher
0e7fed29ec
r13114: remove 'const' and make clear what the parameters are for
...
metze
(This used to be commit 317a3eefeef6b9da565a215ba152d829059c6f14)
2007-10-10 13:51:27 -05:00
Stefan Metzmacher
ca649f797c
r13112: merge over some stuff from samba3
...
metze
(This used to be commit 7cb4e1bd0471f0c03fde25f6171565d74ab0549f)
2007-10-10 13:51:26 -05:00
Stefan Metzmacher
36b1a0f82d
r13079: add SAMBA_VERSION_RELEASE_NICKNAME
...
if it's set in source/VERSION
smbd --version will print
4.0.0tp1 (Nickname)
metze
(This used to be commit 780870293b8109250b16101649f110ba22c1932b)
2007-10-10 13:51:23 -05:00
Andrew Tridgell
9c9b42a549
r13078: fixed the ldb comparison function for objectSids
...
(This used to be commit 3f0600e223c079f82190f7e2a709447d679163e9)
2007-10-10 13:51:23 -05:00
Jelmer Vernooij
83e420f93a
r13074: Add oLschema2ldif manpage
...
(This used to be commit 3e3a0c96cdb631798cf2192d0b441d29b33428c0)
2007-10-10 13:51:22 -05:00
Jelmer Vernooij
d8d745a09e
r13067: Don't install ldbtest
...
(This used to be commit cc35a4bc0e6d44735fc3efabb1901161e2c6d36c)
2007-10-10 13:51:21 -05:00
Jelmer Vernooij
4abecc0219
r13064: Add 'tags' target to LDB's makefile
...
(This used to be commit 8195e4f8566ecc71c801aec6638869c494e6bbb4)
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
b5c818a583
r13000: fix compiler warnings
...
metze
(This used to be commit 880dd3538ef54af100a715acb72cc16b9947b617)
2007-10-10 13:51:16 -05:00
Andrew Bartlett
2a187c94f0
r12995: Don't allow overrides on "name" from above, as it can't be correct.
...
Andrew Bartlett
(This used to be commit 4a50bf95b93310f640a4ba28990f054e85215551)
2007-10-10 13:51:15 -05:00
Simo Sorce
f81d80a4af
r12989: move the control parsing and handleng functions to cmdline.c
...
so that they can be used by the other ldb tools as well
(This used to be commit c12b3c5cb46d428f815c623efacff8edebb6f6e3)
2007-10-10 13:51:14 -05:00
Stefan Metzmacher
828ee2bc6f
r12984: add parse code and ldbsearch cmdline code for
...
NOTIFICATION LDAP Controls
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp
this doesn't work yet, but it shows that we need to extend ldb to correctly
handle async requests...
metze
(This used to be commit 1fe67189490c9faf499b68a28071a6294a53db0e)
2007-10-10 13:51:14 -05:00
Stefan Metzmacher
8139c1e6f2
r12983: - fix using a DIRSYNC cookie from the command line
...
- also w2k doesn't work correct with max_attrs = 0, so we should use
a high number, with this I'm getting the same results from w2k and w2k3
metze
(This used to be commit ce9f086c3c1a65bf1b4c843ec44e8817d9361182)
2007-10-10 13:51:14 -05:00
Simo Sorce
3b447ab4a1
r12977: Some code to implement the client side of the Dirsync control
...
Still investigating how it works.
Simo.
(This used to be commit bebd403523e581606505e05e7cb621efbc22fa36)
2007-10-10 13:51:13 -05:00
Stefan Metzmacher
b156fb83db
r12959: hopefully fix bug #3365 this time
...
metze
(This used to be commit 8fc2b68aa8d1a6bb3a828b3a1ab5f2a4f354f6f7)
2007-10-10 13:51:12 -05:00
Stefan Metzmacher
a45b4b7b99
r12948: fix compiler warning
...
metze
(This used to be commit 157fd2734dfb9b3ac6f6c5ad60bbbd7a50998453)
2007-10-10 13:51:12 -05:00
Simo Sorce
491a720354
r12942: this way is better
...
(This used to be commit 982576d2489c9ac3f7d854f598a64a8c4d91a485)
2007-10-10 13:51:11 -05:00
Simo Sorce
3725b1817f
r12941: Add Attribute Scoped Search control
...
want to see what it does ?
do aq make test and try:
./bin/ldbsearch -H st/private/sam.ldb --controls=asq:1:member -s base -b 'CN=Administrators,CN=Builtin,DC=samba,DC=example,DC=com' 'objectclass=*'
have fun.
simo.
(This used to be commit 900f4fd3435aacc3351f30afb77d3488d2cb4804)
2007-10-10 13:51:11 -05:00
Simo Sorce
5db0c6b304
r12925: implement client side of ASQ control
...
(This used to be commit dd386bdc6ca6fe0b25705d5a375d29e6940b437f)
2007-10-10 13:51:07 -05:00
Stefan Metzmacher
c582cb23f7
r12911: try to fix bug #3365
...
metze
(This used to be commit e70ca698cea901a66f7201c16bb3ba1faa7e7289)
2007-10-10 13:51:02 -05:00
Stefan Metzmacher
cd9752d61f
r12909: add an ldb module for the wins.ldb,
...
it currently doesn't do much, but it's later
prevent adding corrupted records via ldbedit,
and will take care of the versionID counter
metze
(This used to be commit a6f279bc43c74cf4dc116cb6ba99f1aed13a4de9)
2007-10-10 13:51:02 -05:00
Stefan Metzmacher
4a8656fd65
r12850: - add Doxygen comments to ldb
...
- 'make doxygen' generated the api documentation under apidocs/
Many thanks to Brad Hards <bradh@frogmouth.net> for the patches!
metze
(This used to be commit e98d483174c555366e62dd27600e6b242cab7a7f)
2007-10-10 13:50:53 -05:00
Stefan Metzmacher
c07d16d201
r12849: fix typo
...
metze
(This used to be commit 552e12c05d10ddad55bfc0997303096055ddecdd)
2007-10-10 13:50:53 -05:00
Stefan Metzmacher
61768feec6
r12847: add some ldb examples from Brad Hards (bradh@frogmouth.net)
...
metze
(This used to be commit 4d32d50ccd8bd0bfb3e2d6f5aee23bce38abbc03)
2007-10-10 13:50:06 -05:00
Stefan Metzmacher
4a1e289770
r12846: some fixes
...
metze
(This used to be commit bf6065b11fd84454f8bc881ff96fb1846a59405b)
2007-10-10 13:50:05 -05:00
Stefan Metzmacher
224bcda061
r12845: fix some typos
...
metze
(This used to be commit 5d0ae1d2aef3fc7ddb4cb9269bb028beeaee6dfb)
2007-10-10 13:50:05 -05:00
Stefan Metzmacher
b3f2db5e01
r12844: don't include system headers directly
...
metze
(This used to be commit 75a98047d6829cadf4b9082bec2733055dad3465)
2007-10-10 13:50:05 -05:00
Stefan Metzmacher
2e8937c334
r12843: get special objects with ldbsearch -a too, to match ldbedit -a
...
metze
(This used to be commit bb68f2e602dbcc94c05b2dd764c163be1e5a583d)
2007-10-10 13:50:05 -05:00
Simo Sorce
5ecc64dcab
r12833: complete ldbsearch support for controls
...
now the three supported controls (paged_results,
server_sort, extended_dn) are fully functional
and the infrastructure to add more is in place.
valgrind is happy too :)
Simo.
(This used to be commit bd8e2629378700198e16287823970f52d1150a86)
2007-10-10 13:50:04 -05:00
Stefan Metzmacher
b424fdd253
r12830: this can be const
...
metze
(This used to be commit 1876e245c49d521e89674dc1662a61e8f4cdc9b5)
2007-10-10 13:50:03 -05:00
Stefan Metzmacher
4d1c5a023c
r12829: fix ldb headers, to not include '<...>' files in .c files
...
this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later.
metze
(This used to be commit 380938e97f31c7860aed1e73cc0110c6e17b472e)
2007-10-10 13:50:03 -05:00
Simo Sorce
2b7d932656
r12828: add a test to check white spaces comparison
...
(This used to be commit ad189553f420d70c4a726cf118e1273ea053f4d6)
2007-10-10 13:50:03 -05:00
Simo Sorce
428ef08930
r12827: This was a very well concealed bug.
...
Thank to Andrew Bartlet for finding out a test case that showed it up.
Simo.
(This used to be commit 72a86d74a95c2b38d25159027f612075c50a1f3c)
2007-10-10 13:50:03 -05:00
Günther Deschner
1e98ecd032
r12825: Add \n
...
Guenther
(This used to be commit 909ef011b1343a33c4da4b2230062fd0468736ce)
2007-10-10 13:50:02 -05:00
Stefan Metzmacher
073866887d
r12814: we need this here too, as we'll include replace.h for building heimdal/*
...
too, and for this we don't include includes.h
(hopefully) fix the build on AIX
metze
(This used to be commit 32f2cf433f65aaa9bcc5e33958d6f9c72c7f13d9)
2007-10-10 13:49:59 -05:00
Simo Sorce
6f18b19519
r12810: handle control options gracefully and don't segfault
...
(This used to be commit 300d48bc9daa13e1475c10eaa1ec0717c822a7f7)
2007-10-10 13:49:58 -05:00
Andrew Bartlett
f55ea8bb3d
r12804: This patch reworks the Samba4 sockets layer to use a socket_address
...
structure that is more generic than just 'IP/port'.
It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).
This passes 'make test' as well as kerberos use (not currently in the
testsuite).
The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again. It also removes nbt_peer_addr, which was being used
for a similar purpose.
It is a large change, but worthwhile I feel.
Andrew Bartlett
(This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10 13:49:57 -05:00
Jelmer Vernooij
5c8447773f
r12801: Some more include/ cleanups (remove unused macros + move files
...
to specific dirs)
(This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
8d15aee017
r12799: print out function and location too
...
metze
(This used to be commit a5ef3eef9cbedd273556068ba59c07ccb0060098)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
3c13509c06
r12798: print timestamps into the log file, this is not nice code,
...
but it works for now
metze
(This used to be commit ec7dbb5a98c112e86399ffcff14eb42c99d8e31d)
2007-10-10 13:49:56 -05:00
Stefan Metzmacher
39212a4960
r12790: fix compiler warning
...
metze
(This used to be commit c65ebc8b5574f9bd05270964dee9d4882e2d1828)
2007-10-10 13:49:55 -05:00
Andrew Tridgell
374da729dd
r12785: make the iface_*() functions return strings which do not get
...
overwritten by another call (due to the implied static in
iface_ntoa()). This should save abartlet some pain
(This used to be commit 2244f298ace9f8832695cafd17c54324c11416f1)
2007-10-10 13:49:55 -05:00
Andrew Tridgell
dc0dde70d8
r12783: add a comment about matching more than 1 handler per message (andrew
...
thought this might be a bug)
(This used to be commit e1cd3f4b89e10c9a42f5939377df0eafb8c184a4)
2007-10-10 13:49:54 -05:00
Stefan Metzmacher
7fcf10609b
r12777: use TEST_DATA_PREFIX if available
...
metze
(This used to be commit 7e702939faf70d0c02fa71b315043795bc4a1d84)
2007-10-10 13:49:53 -05:00
Stefan Metzmacher
887eae8516
r12774: - fix the build on OpenBSD
...
I'll try to remove TIME_T_MIN/TIME_T_MAX completly later,
but for now I try to build on all platfarms
metze
(This used to be commit d51244b6613dc07076da56937d09e4020c596475)
2007-10-10 13:49:53 -05:00
Simo Sorce
b589ac5d86
r12770: Remove the alloca.h header as it is not used in the code afaics
...
(This used to be commit d4454287cf14cfdf1ceeb090da40492314703fb9)
2007-10-10 13:49:52 -05:00