1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00
Commit Graph

3201 Commits

Author SHA1 Message Date
Michael Adam
1685057927 r23853: Fix a very misleading error message in tdbbackup.
Michael
2007-10-10 15:01:04 -05:00
Andrew Bartlett
9a38ddc86f r23809: Don't give users the fantasy that we can control choice of GENSEC
security mechanisms at the moment.  I'll put this back when I
implement the functionality.

Andrew Bartlett
2007-10-10 14:59:21 -05:00
Andrew Tridgell
1b105097e3 r23807: added hex_encode_talloc() 2007-10-10 14:59:20 -05:00
Andrew Tridgell
c0111223e2 r23802: fixed URL in XML 2007-10-10 14:59:19 -05:00
Andrew Tridgell
5c9b19271e r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 14:59:18 -05:00
Andrew Tridgell
01e3fe7533 r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
2007-10-10 14:59:17 -05:00
Andrew Tridgell
db92b76a00 r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 14:59:16 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
9f77c40a8e r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file 2007-10-10 14:59:15 -05:00
Andrew Tridgell
76c6bfdeb5 r23796: main COPYING file for samba4, plus some formatting varients 2007-10-10 14:59:14 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Andrew Tridgell
9d37f1ec07 r23794: convert more code from LGPLv2+ to LGPLv3+ 2007-10-10 14:59:13 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Bartlett
3f3da9c471 r23762: Fix DN renames over LDAP, and instrument the partition module. Add a
test to prove the behaviour of LDAP renames etc.

Fix LDB to return correct error code when failing to rename one DN
onto another.

Andrew Bartlett
2007-10-10 14:59:11 -05:00
Tim Potter
0141db0fc4 r23753: Fix bitrot afflicting the ldb Python swig bindings. 2007-10-10 14:59:10 -05:00
Andrew Bartlett
10277f2724 r23737: Validate that we object to duplicate values in an add or replace.
We can't ever allow duplicates, even if the client sends them

Andrew Bartlett
2007-10-10 14:59:09 -05:00
Andrew Bartlett
3111bbdf64 r23703: Start to get Samba4 to again work with LDAP backends, after I turned
on metze's schema work.

Andrew Bartlett
2007-10-10 14:59:06 -05:00
Andrew Tridgell
4e31eda055 r23701: when we create a new socket with socket_accept(), clear any flags that
were set in the old one. Otherwise SOCKET_FLAG_NOCLOSE causes a major
fd leak
2007-10-10 14:59:05 -05:00
Jeremy Allison
59ba128cb6 r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.
Jeremy.
2007-10-10 14:53:28 -05:00
Andrew Bartlett
dcff83ebe4 r23560: - Activate metze's schema modules (from metze's schema-loading-13 patch).
- samba3sam.js: rework the samba3sam test to not use objectCategory,
  as it's has special rules (dnsName a simple match)
- ldap.js: Test the ordering of the objectClass attributes for the baseDN
- schema_init.c: Load the mayContain and mustContain (and system...) attributes when
  reading the schema from ldb
- To make the schema load not suck in terms of performance, write the
  schema into a static global variable
- ldif_handlers.c: Match objectCategory for equality and canonicolisation
  based on the loaded schema, not simple tring manipuation
- ldb_msg.c: don't duplicate attributes when adding attributes to a list
- kludge_acl.c: return allowedAttributesEffective based on schema results
  and privilages

Andrew Bartlett
2007-10-10 14:53:27 -05:00
Andrew Bartlett
b96b7b623d r23557: Ensure that we don't reorder the objectClass list, if we don't have
any subclasses loaded yet, or none are applicable.

This fixes MMC so that it at least displays the Samba domain as a
domain, but there is still work to be done.

Andrew Bartlett
2007-10-10 14:53:26 -05:00
Andrew Bartlett
96ef5259c6 r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
Andrew Bartlett
2007-10-10 14:53:26 -05:00
Jelmer Vernooij
03eef5f337 r23542: Include function documentation in prototype headers. 2007-10-10 14:53:26 -05:00
Stefan Metzmacher
96f1a0dfaa r23420: try to make the IBM checker happy
metze
2007-10-10 14:53:17 -05:00
Jeremy Allison
fa880e6cc1 r23371: Fix the misleading comment I added - it really *should*
say "locks chain and returned record", not
"and returns record"
Jeremy.
2007-10-10 14:53:13 -05:00
Jeremy Allison
fa548ad75e r23370: Traverse in tdb wasn't consistently using the
travlocks.lock_rw for lock read/write types, it
was sometimes using it (tdb_next_lock) and
sometimes explicitly using F_WRLCK instead.
Change this to consistently use travlocks.lock_rw
only.
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
Jeremy.
2007-10-10 14:53:12 -05:00
Andrew Tridgell
0c3442c68b r23364: add LDB_FLG_NOMMAP flag 2007-10-10 14:53:12 -05:00
Michael Adam
e4955c729f r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.
This fixes the build on a SuSE 6.1. :-)
I guess this had been merely forgotten.

But beware: The implementations of rep_pread and rep_pwrite are
not thread safe.

Michael
2007-10-10 14:53:12 -05:00
Stefan Metzmacher
df6e3bec36 r23339: merge from SAMBA_3_0:
fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticed
it via a SIGBUS...

I missed to remove the samba3 specifc code path to tdb_open_ex()
when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex()
dropped the compiler warning :-(

metze
2007-10-10 14:53:11 -05:00
Stefan Metzmacher
06caaf0d8d r23306: pass down LDFLAGS to the link command in the libreplace standalone build
metze
2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d890a2dabf r23303: so HP-UX 11.11 also likes the 11.00 workarround for broken
pread/pwrite when using large file support.

metze
2007-10-10 14:53:10 -05:00
Andrew Tridgell
76b981fcef r23301: merged from ctdb 2007-10-10 14:53:10 -05:00
Stefan Metzmacher
d89088128a r23296: HP-UX 11.11 also gets sizeof(uint64_t) == 4
so try the same fix as for 11.00

metze
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
04f19c054e r23294: try to fix the build
metze
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
bb2da636be r23293: the fix for HP-UX 11.11 doesn't work on HP-UX 11.00
we end up with sozeof(uint64_t) == 4 :-(

the _APP32_64BIT_OFF_T section in <sys/unistd.h> missed
to redirect pread, pwrite to pread64, pwrite64 in HP-UX 11.00
so try it manually as a workarround

metze
2007-10-10 14:53:09 -05:00
Jelmer Vernooij
44248f662f r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_. 2007-10-10 14:53:08 -05:00
Stefan Metzmacher
6dff6c93fc r23266: HP-UX 11.23 doesn't like this, but HP-UX 11.00 and 11.11 need it
metze
2007-10-10 14:53:08 -05:00
Stefan Metzmacher
71eac88f7e r23265: HP-UX 11.00 also needs this, try to see if 11.23 is also happy
with it...

metze
2007-10-10 14:53:07 -05:00
Andrew Tridgell
9dbb2633d7 r23238: merged transaction lock changes from ctdb
this ensures that having the global lock also implies the transaction
lock
2007-10-10 14:53:06 -05:00
Andrew Tridgell
361c5995bc r23237: update lib/replace from ctdb 2007-10-10 14:53:05 -05:00
Stefan Metzmacher
0c7e3ed962 r23208: on some HP-UX boxes dlfcn.h is available and use unsigned int flags
for dlopen but no library contains the function...

metze
2007-10-10 14:53:03 -05:00
Stefan Metzmacher
0e88e2e461 r23188: revert 23123 and 23118.
as a long term solution this was the correct approach,
but it's a bit more complex and we need to provide the
whole socket api and libnsl.so checking in libreplace...

as a short term solution to fix the build on host 'hape'
we'll use the same trick as with inet_aton.c from
heimdal's lib/roken/

metze
2007-10-10 14:53:02 -05:00
Andrew Bartlett
01d54d13dc r23177: Add in a new provision-backend script. This helps set up the OpenLDAP or Fedora DS backend.
This required a new mkdir() call in ejs.

We can now provision just the schema for ad2oLschema to operate on
(with provision_schema(), without performing the whole provision, just
to wipe it again (adjustments to 'make test' to come soon).

Andrew Bartlett
2007-10-10 14:53:00 -05:00
Jelmer Vernooij
222acbe33b r23175: Handle PKG_CONFIG_PATH not set yet - fixes warning in selftest.pl 2007-10-10 14:52:59 -05:00
Jelmer Vernooij
db065db67a r23158: Set version to 1.0.1. 2007-10-10 14:52:58 -05:00
Jelmer Vernooij
cb92da2679 r23157: Add news file for talloc. 2007-10-10 14:52:58 -05:00
Andrew Tridgell
80002cd12a r23153: a first cut at a fix for the dgram flood problem that volker
found. Not sure this is the best solution, but it should work.
2007-10-10 14:52:58 -05:00
Michael Adam
54193c4638 r23123: Fix two utterly simply typos that broke the whole build farm...
Michael
2007-10-10 14:52:51 -05:00
Michael Adam
9781b13fd3 r23118: Make inet_pton and inet_ntop available through lib/replace.
The code for inet_pton.c and inet_ntop.c is taken from
the rsync code.

I will put this into 3_0 and 3_0_26 too, but let's sort
the readahead issue in lib/replace of 3_0 first...

Michael
2007-10-10 14:52:51 -05:00
Michael Adam
943acd688d r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
Fixing build of ldb for instance on some systems without dlfcn.h.
2007-10-10 14:52:49 -05:00