1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

1002 Commits

Author SHA1 Message Date
Andrew Tridgell
973ea5feb1 r7071: allow access to the current mpr memory context from ejs calls
(This used to be commit a58531dcf30b091913563ca2b8ce5e5843896441)
2007-10-10 13:17:12 -05:00
Tim Potter
7756b990f3 r7066: Rename http_exception to ejs_exception.
(This used to be commit f2e59d3adfd7813c3c2090350f8ff2a99a5533e9)
2007-10-10 13:17:11 -05:00
Tim Potter
14ade23914 r7065: Move ejs from web_server to lib so it can be shared with smbscript.
(This used to be commit b83dc8fbfb9ffe30654bc4869398f50dd9ccccb7)
2007-10-10 13:17:11 -05:00
Simo Sorce
26ced62131 r7058: Add experimenthal pam authentication for web pages
(This used to be commit 36d905407465cb9d8950da86322531e3c3102642)
2007-10-10 13:17:10 -05:00
Andrew Tridgell
9dc94f8ab8 r7052: added a case insensitive str_list_check_ci() version of str_list_check()
(This used to be commit 5654330b6100a7291cee3631815cfb898100cf23)
2007-10-10 13:17:09 -05:00
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 9b33d0ca583b0cc1602662220cade96b70c98306)
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 7aca32dca6daac54ac77a66438bc5168d5e04227)
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 822e2e5abeba8343e9e8165c14f4371c30cc13b1)
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 517028870747338fe96fd7607ec507e5577b67a9)
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 959c73e93faa243154288c91a716e5a293d7a51c)
2007-10-10 13:17:01 -05:00
Derrell Lipman
26eff174ee r6956: added start of ldb_sqlite3 work
(This used to be commit ac396a4a53756f40ad5e1d45ca23e002f9c649e7)
2007-10-10 13:17:00 -05:00
Tim Potter
079b96349b r6952: Remove unneeded include of popt_common.h
(This used to be commit 67d7bf877576853a05a156069ea4b97a1755e897)
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 affacc539864435cbc749a4c1a6b848c61b7182b)
2007-10-10 13:17:00 -05:00
Stefan Metzmacher
4f4b92a690 r6937: some minor fixes and updates
metze
(This used to be commit 03b1ff48f97fa81c515f90a398c6f8cde579cb51)
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 a97eb63c11be6ce2bb94bca61078b303f15c9b9a)
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 9f0963c97f94687a1226d224f80b2aac1128d1a0)
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 73258909dbd4e14f3c8eb5cebe0647539d141c8d)
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 1295b891a26c2cb2c34540f90ded83390cf87da2)
2007-10-10 13:16:52 -05:00
Jelmer Vernooij
f9ad3029ae r6863: lib-friendlier names + fix some dependencies
(This used to be commit cab81a51bfd435b54e6f0d5a308aaf6828d38c00)
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 257027a571da254c16b0b456cb1cbec284d7fda0)
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 fa4f33558af3c65ff31424c01db16cb9d427503d)
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 aac86583a9bff7d882ed56633126a1d9f27eea6a)
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 57c8db4f9aecd161d61cf0011e960edc718d7cf0)
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 3339a886178eebf19ce9bbe0dcca16e9d6e3c12c)
2007-10-10 13:16:48 -05:00
Jelmer Vernooij
a0e786c446 r6828: More portability fixes
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
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 82be4978116b73cd6d964da4fad59b5c5b11217e)
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 eb7979d9def389942fa1c54693d2dfcb8828f544)
2007-10-10 13:16:47 -05:00
Andrew Tridgell
3fd2a38e62 r6812: more talloc portability tweaks
(This used to be commit 450ac2e4dea25910ee5384747bdb6ad7323e967d)
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 c8a274c8735957a8a8dd21421abd65a8a1af20f7)
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
5251703764 r6807: Fix in-tree build of talloc testsuite
(This used to be commit 3541ebe31bef8ccae7a8a1ea4f451ddfbd24460a)
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 c2ce09d38003fd43212de9cd08e4a781cc2aff88)
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 235f5c510b4b68edf2a36d049bc0ff2afb73fd72)
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 31ff2cd8e11dee36c42f82dcfd85338d3ff704d3)
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 46509eb89980bfe6dabd71264d570ea356ee5a22)
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 c1f1b5a9455c827f7baf382d919ab8a0eab49bb3)
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 5f10707e8ac36db03f3aa3e1ee1c40a9d9da2016)
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 7af0c547e0c0da3bc78a1ee6c2ab29114d8625cc)
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 9098b9321f938473c367f906cfe2f001ca1d8e6a)
2007-10-10 13:16:35 -05:00
Andrew Tridgell
e1369f8720 r6688: removed unused binary_string() function
(This used to be commit 0b48c69e0b94571173a12714b22d3d5e2af17bcf)
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 ef573df2a012e9a192487f207502ef1027c66d4b)
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 cbd7af4fcf72fd21b2a8ea2ee8f9f61f90f36f03)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
238f36b899 r6663: only use -Wall for gcc
(This used to be commit b7fbe2173d45456c77fad9673073173704a1b266)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
3059fb2bc7 r6662: add an installcheck target for talloc
(This used to be commit 2f78428cfd823b499c60ac3cc02650183b760ef0)
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 9318744fd496a829a57fc8e0f21d4b26b1eb74c7)
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 777c489cad610fef140ec80d5644111b04a314c1)
2007-10-10 13:16:32 -05:00
Simo Sorce
13bb5c3486 r6650: keep style consistent
(This used to be commit 34671674ee326ea835408f8c1fdb105ea50ccc55)
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 df401847827ef660d8b9d55af9b27bb85bad6b5f)
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 62550eac1e56e95c8080a0519579fd97ee5d465a)
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 d63086918ba79307089b3992dc7ed8fc8c6d18a8)
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 d3b0ad8b4b6f8ee80a9c77e1102960d51ced5a5f)
2007-10-10 13:16:31 -05:00