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

847 Commits

Author SHA1 Message Date
Andrew Tridgell
30a5e1c1dc r7011: when using macros, the parameters should be specified unless its a
varargs function you are replacing. Otherwise if you have any
structure element called "socket" and you have a macro for "socket"
then the code will fail.
(This used to be commit 9b33d0ca58)
2007-10-10 13:17:06 -05:00
Derrell Lipman
a81630c0c4 r6984: added tree representation documentation and utility code, to be used for subclasses of object classes
(This used to be commit 7aca32dca6)
2007-10-10 13:17:02 -05:00
Andrew Tridgell
e5613a3ce9 r6980: added data_blob_append(), which I use in the web server
(This used to be commit 822e2e5abe)
2007-10-10 13:17:01 -05:00
Andrew Tridgell
e7b3f91678 r6968: fixed a typo in the event macros. I'm surprised this one didn't show up earlier!
(This used to be commit 5170288707)
2007-10-10 13:17:01 -05:00
Andrew Tridgell
942eb58e61 r6967: fixed the new multi-value dn=@ATTRIBUTES so it actually works :-)
this demonstrates that we need a improved test suite as well
(This used to be commit 959c73e93f)
2007-10-10 13:17:01 -05:00
Derrell Lipman
26eff174ee r6956: added start of ldb_sqlite3 work
(This used to be commit ac396a4a53)
2007-10-10 13:17:00 -05:00
Tim Potter
079b96349b r6952: Remove unneeded include of popt_common.h
(This used to be commit 67d7bf8775)
2007-10-10 13:17:00 -05:00
Tim Potter
4867378592 r6951: Fix all calls to setup_logging() that use 'True' as a second argument.
In Samba4 this is now an enum.  Possibly by accident, True just happens
to map to the right value in this case.  (-:
(This used to be commit affacc5398)
2007-10-10 13:17:00 -05:00
Stefan Metzmacher
4f4b92a690 r6937: some minor fixes and updates
metze
(This used to be commit 03b1ff48f9)
2007-10-10 13:16:59 -05:00
Simo Sorce
e4553307c1 r6935: don't do three things at a time :-)
(This used to be commit a97eb63c11)
2007-10-10 13:16:59 -05:00
Simo Sorce
3d97821243 r6934: thanks to HotaruT for pointing out skel.c was not in line with the rest of the code
(This used to be commit 9f0963c97f)
2007-10-10 13:16:58 -05:00
Simo Sorce
fc21940da5 r6931: declare this to avoid warnings until we have loadable modules
(This used to be commit 73258909db)
2007-10-10 13:16:58 -05:00
Simo Sorce
ca4e0c8539 r6867: this code will change the way the @ATTRIBUTES object is handled
this object properties are now used as multivalue attributes
now all values inserted are checked against a "valid values table"

eg:

this form is now accepted:

dn: @ATTRIBUTES
uid: CASE_INSENSITIVE
uid: WILDCARD

this form is now rejected:

dn: @ATTRIBUTES
uid: CASE_INSENSITIVE WILDCARD

please update your .ldb files if you make use of @ATTRIBUTES
(sam.ldb heavily uses it)

the code passes all make test tests for both tdb and ldap, it also
passes the new test to check for wrong @ATTRIBUTES attribute values

Simo.
(This used to be commit 1295b891a2)
2007-10-10 13:16:52 -05:00
Jelmer Vernooij
f9ad3029ae r6863: lib-friendlier names + fix some dependencies
(This used to be commit cab81a51bf)
2007-10-10 13:16:52 -05:00
Andrew Tridgell
57bbd16b41 r6845: make the talloc header align to 40 bytes, which costs us an extra 4
bytes per allocation, but makes it much more portable
(This used to be commit 257027a571)
2007-10-10 13:16:50 -05:00
Andrew Tridgell
9a9cf9e075 r6833: split out the routine that calculates the diff between two ldb messages from ldbedit,
so other progs can use it.
(This used to be commit fa4f33558a)
2007-10-10 13:16:49 -05:00
Andrew Tridgell
2cb07b0f1b r6831: talloc now requires config.h (this fixes ldb build)
(This used to be commit aac86583a9)
2007-10-10 13:16:49 -05:00
Andrew Tridgell
eaa11475cd r6830: put header checks in config.m4 so when it is included by other projects the right
configure checks are done
(This used to be commit 57c8db4f9a)
2007-10-10 13:16:48 -05:00
Andrew Tridgell
8557a22f81 r6829: include the talloc autoconf tests when building ldb standalone
(This used to be commit 3339a88617)
2007-10-10 13:16:48 -05:00
Jelmer Vernooij
a0e786c446 r6828: More portability fixes
(This used to be commit f46c532883)
2007-10-10 13:16:48 -05:00
Jelmer Vernooij
d29f44c594 r6825: Fall back to chsize if ftruncate is not available
patch from Steven Edwards
(This used to be commit 82be497811)
2007-10-10 13:16:47 -05:00
Andrew Tridgell
9469051d5b r6817: - fixed empty ldap search elements in filters
- added support for guids in cldap netlogon searches.

the cldap server now passes the LDAP-CLDAP torture test
(This used to be commit eb7979d9de)
2007-10-10 13:16:47 -05:00
Andrew Tridgell
3fd2a38e62 r6812: more talloc portability tweaks
(This used to be commit 450ac2e4de)
2007-10-10 13:16:46 -05:00
Andrew Tridgell
9e044848e3 r6808: - test for gcov not needed
- samba malloc wrapper avoidance not needed now we don't use includes.h

- make testsuite work when BOOL, True, False already defined
(This used to be commit c8a274c873)
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
5251703764 r6807: Fix in-tree build of talloc testsuite
(This used to be commit 3541ebe31b)
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
1f474c2692 r6804: Add config.h for talloc (and use it)
(This used to be commit c2ce09d380)
2007-10-10 13:16:45 -05:00
Andrew Tridgell
03435f5de1 r6802: - fixed CFLAGS
- don't fail if we don't have xsltproc
(This used to be commit 235f5c510b)
2007-10-10 13:16:45 -05:00
Andrew Bartlett
ffb8ba8cd3 r6798: Valgrind pain is not something I look forward to - if we ever fall
back to the 'not /dev/urandom' method of random number generation, I
don't want to be chasing down 'use of uninitialised value' though all
the crypto code.

Andrew Bartlett
(This used to be commit 31ff2cd8e1)
2007-10-10 13:16:44 -05:00
Jelmer Vernooij
5b18cf2268 r6795: Make some functions static and remove some unused ones.
(This used to be commit 46509eb899)
2007-10-10 13:16:44 -05:00
Jelmer Vernooij
e5a3ec0e5b r6790: Use config.h file for ldb and add test for stdint.h
(This used to be commit c1f1b5a945)
2007-10-10 13:16:43 -05:00
Simo Sorce
62ccaf2d86 r6759: let us have a wildcard attribute so that we can set a default for all attributes
example:

*: CASE_INSENSITIVE

by placing it in the @ATTRIBUTES object you make all the matching be case insensitive
to make an excepion to the general rule now you just need to create an entry like:

name: CASE_SENSITIVE

the key CASE_SENSITIVE currently does not exist but has the effect of making the code
ignore the wildcard default flag and being ldb case sensitive by default it let the
"name" attribute be case sensitive again

Tridge, can you look at this commit?
Should we introduce a CASE_SENSITVE/BINARY flag and handle it in the code ?

Simo.
(This used to be commit 5f10707e8a)
2007-10-10 13:16:41 -05:00
Andrew Tridgell
9add53863f r6741: prevent talloc_strndup() from reading one byte past the end of a buffer,
giving valgrind errors
(This used to be commit 7af0c547e0)
2007-10-10 13:16:40 -05:00
Andrew Bartlett
69f3a934d7 r6700: Upper case realms in kerberos-specific parts of the code, as this is
no longer done globally.

This keeps MIT client libraries happy, because otherwise the windows
KDC will return a different case to what was requested.

Andrew Bartlett
(This used to be commit 9098b9321f)
2007-10-10 13:16:35 -05:00
Andrew Tridgell
e1369f8720 r6688: removed unused binary_string() function
(This used to be commit 0b48c69e0b)
2007-10-10 13:16:34 -05:00
Andrew Tridgell
61d95606d0 r6687: added a idr helper function for creating random IDs
(This used to be commit ef573df2a0)
2007-10-10 13:16:34 -05:00
Jelmer Vernooij
8797d0e29b r6664: Obey overrided CC in the Makefile
(should fix build on several buildfarm hosts)
(This used to be commit cbd7af4fcf)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
238f36b899 r6663: only use -Wall for gcc
(This used to be commit b7fbe2173d)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
3059fb2bc7 r6662: add an installcheck target for talloc
(This used to be commit 2f78428cfd)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
30f817a202 r6661: fix up talloc autoconf to have a chance of working on the build farm
(This used to be commit 9318744fd4)
2007-10-10 13:16:32 -05:00
Volker Lendecke
c1d31ac8fc r6660: Sorry for the spam... I think now I've got a version that should compile on
trunk, 3_0 and 4_0.

Volker
(This used to be commit 777c489cad)
2007-10-10 13:16:32 -05:00
Simo Sorce
13bb5c3486 r6650: keep style consistent
(This used to be commit 34671674ee)
2007-10-10 13:16:32 -05:00
Simo Sorce
157a32956a r6645: Add talloc_get_size() function.
Sometimes it is usefull to know this data.

Simo.
(This used to be commit df40184782)
2007-10-10 13:16:32 -05:00
Jelmer Vernooij
88f0a6e5e2 r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry Williams
(This used to be commit 62550eac1e)
2007-10-10 13:16:32 -05:00
Jelmer Vernooij
6b68d5eb7b r6621: Warn when the user is trying to use socket wrapper
while it is not compiled in.
(This used to be commit d63086918b)
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
aed008c989 r6617: Let --enable-developer imply --enable-socket-wrapper
Add socket-wrapper-enabled test target and use that by
default when the socket wrapper was included
(This used to be commit d3b0ad8b4b)
2007-10-10 13:16:31 -05:00
Andrew Tridgell
fc5c075cff r6578: brown paper bag time with the new messaging code ....
(This used to be commit d465ff67bd)
2007-10-10 13:16:27 -05:00
Andrew Bartlett
8bf57cf8f5 r6573: Start on my project to implement an NT4 compatible BDC in Samba4.
This brings in a compatability layer for Samba3 in Samba4 - where we
will start to define file formats and similar details.

The 'net samdump' command uses 'password server = ' for now, and
performs a similar task to Samba3's 'net rpc samsync'.

Andrew Bartlett
(This used to be commit 550f17f992)
2007-10-10 13:16:27 -05:00
Andrew Bartlett
85e9412c47 r6565: Cludge, cludge, cludge...
We need to pass the 'secure channel type' to the NETLOGON layer, which
must match the account type.

(Yes, jelmer objects to this inclusion of the kitchen sink ;-)

Andrew Bartlett
(This used to be commit 8ee208a926)
2007-10-10 13:16:26 -05:00
Jelmer Vernooij
7fca1d46ce r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
(This used to be commit 7d2d4a57e0)
2007-10-10 13:16:26 -05:00
Andrew Tridgell
b2584a403c r6562: added support for datagram unix domain sockets in the socket library
(This used to be commit 23b2046dcb)
2007-10-10 13:16:25 -05:00