1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

12934 Commits

Author SHA1 Message Date
Jeremy Allison
1f193bf76d r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.
Jeremy.
(This used to be commit 59ba128cb6)
2007-10-10 14:53:28 -05:00
Michael Adam
f604ee4320 r23561: Fix an output message.
(This used to be commit bf1edba3f1)
2007-10-10 14:53:28 -05:00
Andrew Bartlett
e9d19477e4 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
(This used to be commit dcff83ebe4)
2007-10-10 14:53:27 -05:00
Günther Deschner
b3f3a4b529 r23559: After running testprogs/ejs/minschema.js update schema.ldif (on abartlet's
request).

Guenther
(This used to be commit 5410b23ea6)
2007-10-10 14:53:27 -05:00
Andrew Bartlett
b0c5367f4f r23558: MMC seems to ask for this, so I think we need to include it in our schema.
Andrew Bartlett
(This used to be commit ef1899054e)
2007-10-10 14:53:27 -05:00
Andrew Bartlett
c30e91863c 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
(This used to be commit b96b7b623d)
2007-10-10 14:53:26 -05:00
Andrew Bartlett
d291b8bf93 r23551: Change data_blob_equal to data_blob_cmp, suitable for sorting with qsort().
Andrew Bartlett
(This used to be commit 96ef5259c6)
2007-10-10 14:53:26 -05:00
Jelmer Vernooij
576b1c84fb r23542: Include function documentation in prototype headers.
(This used to be commit 03eef5f337)
2007-10-10 14:53:26 -05:00
Alexander Bokovoy
9ed016b692 r23540: Continue fixing bench-readwrite. We need to initialize state->readcnt not only when file is written but at initial write as well.
(This used to be commit 0258f9d3c2)
2007-10-10 14:53:26 -05:00
Andrew Tridgell
dc4f1f6754 r23535: accept numeric ntstatus codes in nbench load files (ronnies wireshark
script generates numeric codes)
(This used to be commit 455895c4b1)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
551575012b r23534: honour the targetrate even for loadfiles with timestamps
(This used to be commit 24b6aabd11)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
2a3282f872 r23533: added --option torture:targetrate=rate to target a particular
throughput in MBytes/sec
(This used to be commit 35477e8e3d)
2007-10-10 14:53:25 -05:00
Andrew Tridgell
fdbc8e29c7 r23532: added lp_parm_double()
(This used to be commit 524ba04b1f)
2007-10-10 14:53:24 -05:00
Andrew Tridgell
428373743a r23531: added optional latency reporting in BENCH-NBENCH. To use it, you need
to have a load file that puts a timestamp in the first column. That
tells NBENCH to target the same throughput as the capture, and to
report the maximum amount of latency miss in the test

This allows you to quickly see how many clients you can run with while
still meeting a given target
(This used to be commit 7f045ca4f5)
2007-10-10 14:53:24 -05:00
Alexander Bokovoy
de4f15a3ad r23529: When using READX, fill in readx fields. Thanks to Metze for spotting it.
(This used to be commit 9bb079d70d)
2007-10-10 14:53:24 -05:00
Andrew Tridgell
f9a3774254 r23521: NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either
(This used to be commit fb20d0cbe0)
2007-10-10 14:53:24 -05:00
Andrew Tridgell
b2668fe8e1 r23520: display shadow copy information in 'allinfo'
(This used to be commit 6855dba72e)
2007-10-10 14:53:23 -05:00
Andrew Tridgell
491c63a78d r23519: added libcli code for fetching shadow copy information
(This used to be commit a9c23729f2)
2007-10-10 14:53:23 -05:00
Alexander Bokovoy
7e02cb2101 r23506: Turn back to RAW_READ_READ because buildfarm fails. Investigating.
(This used to be commit a580d19cb3)
2007-10-10 14:53:23 -05:00
Alexander Bokovoy
5b2e3e8bd8 r23505: Use RAW_READ_READX, not RAW_READ_READ in BENCH-READWRITE test (we already write with RAW_WRITE_WRITEX). Noticed by Gomati Mohanan
(This used to be commit 5530b38bbf)
2007-10-10 14:53:23 -05:00
Andrew Bartlett
d02d0301be r23503: use hdb_dbc not hdb_openp.
Andrew Bartlett
(This used to be commit 3a21304de0)
2007-10-10 14:53:22 -05:00
Stefan Metzmacher
f5c2f26e84 r23493: regenerate lex.c files with flex 2.5.33
this makes sure we include config.h as first header

hopefully fixes the build on SerNet-aix

metze
(This used to be commit 0149226ece)
2007-10-10 14:53:22 -05:00
Volker Lendecke
a7601c9829 r23492: Also activate the split out test...
(This used to be commit a3cb4bcae7)
2007-10-10 14:53:22 -05:00
Volker Lendecke
25abee0505 r23491: Split out the RENAME trans2 call into a separate test
(This used to be commit 80244f1ee6)
2007-10-10 14:53:22 -05:00
Stefan Metzmacher
dcf1b39796 r23490: try to fix the build without automatic dependencies
metze
(This used to be commit d5a1806dff)
2007-10-10 14:53:20 -05:00
Stefan Metzmacher
5f76f986ff r23488: hdb_openp has changed from void * to int...
lha: what is the reason for this? it's really bad to use
     an int for storing a pointer value...

metze
(This used to be commit 625a659856)
2007-10-10 14:53:19 -05:00
Stefan Metzmacher
e505338bf7 r23487: fix the build with automatic dependencies
metze
(This used to be commit ebf8cd09c3)
2007-10-10 14:53:19 -05:00
Kai Blin
b163ab8008 r23481: As per metze's suggestion, move the nsstest files from torture/ to nsswitch/
(This used to be commit 4e7dc9eae4)
2007-10-10 14:53:19 -05:00
Andrew Bartlett
91adebe749 r23456: Update Samba4 to current lorikeet-heimdal.
Andrew Bartlett
(This used to be commit ae0f81ab23)
2007-10-10 14:53:18 -05:00
Andrew Bartlett
f7110d928a r23455: These buffers may not be null terminated. Ensure we don't run past the
end of teh buffer printing the error strings.

Andrew Bartlett
(This used to be commit 37e7070ca9)
2007-10-10 14:53:17 -05:00
Stefan Metzmacher
ac00b6517e r23420: try to make the IBM checker happy
metze
(This used to be commit 96f1a0dfaa)
2007-10-10 14:53:17 -05:00
Stefan Metzmacher
64b985bc16 r23419: initialize variable...
metze
(This used to be commit d19293982b)
2007-10-10 14:53:17 -05:00
Stefan Metzmacher
252984426e r23418: 'S' is 0x53...
metze
(This used to be commit a7be681077)
2007-10-10 14:53:16 -05:00
Stefan Metzmacher
c0b967fe77 r23413: TP5 is releast...
metze
(This used to be commit 306cf0f38a)
2007-10-10 14:53:16 -05:00
Andrew Bartlett
d43cb597ba r23412: We don't need hdb.h here any more
(This used to be commit 1abda90f15)
2007-10-10 14:53:16 -05:00
Kai Blin
c2dc9a4d7c r23403: Make nsstest build on Samba4.
For now, only build on Linux systems. If the build farm is happy with this,
I will gradually turn on this feature for other platforms, too.
(This used to be commit c2d4cc1c61)
2007-10-10 14:53:15 -05:00
Günther Deschner
38af1b1c05 r23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.
Guenther
(This used to be commit 2fc02ab992)
2007-10-10 14:53:15 -05:00
Günther Deschner
8d9e0d5323 r23385: Adding netr_DsRGetForestTrustInformation() test to query transitive forest
trusts as well as our primary domain.

Guenther
(This used to be commit 7b19df13a4)
2007-10-10 14:53:14 -05:00
Günther Deschner
e4710c9dcf r23384: Fill in NETLOGON netr_DsRGetForestTrustInformation().
Guenther
(This used to be commit 82477b311e)
2007-10-10 14:53:14 -05:00
Günther Deschner
09a82db7ba r23383: Query transitive forest trust info in LSA torture test once we see such trusts.
Guenther
(This used to be commit eaa17d5a8f)
2007-10-10 14:53:14 -05:00
Günther Deschner
580b49471f r23382: Fill in lsa_lsaRQueryForestTrustInformation.
Guenther
(This used to be commit 54fa6d453c)
2007-10-10 14:53:13 -05:00
Günther Deschner
eb9ae52981 r23381: Merge netr_GetDcName WERROR return and WERROR_DOMAIN_CONTROLLER_NOT_FOUND from
SAMBA_3_0.

Guenther
(This used to be commit 841ad140a3)
2007-10-10 14:53:13 -05:00
Andrew Bartlett
3cc5429b46 r23373: Fix spelling...
(This used to be commit 370a586a21)
2007-10-10 14:53:13 -05:00
Jeremy Allison
d7942bd2c5 r23371: Fix the misleading comment I added - it really *should*
say "locks chain and returned record", not
"and returns record"
Jeremy.
(This used to be commit fa880e6cc1)
2007-10-10 14:53:13 -05:00
Jeremy Allison
90539985db 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.
(This used to be commit fa548ad75e)
2007-10-10 14:53:12 -05:00
Andrew Bartlett
c74ad3546c r23365: Try to make Windows Vista join again. On my new test environment, it
wants to check for an existing domain join account, and fails.  This
test shows that we need to return NT_STATUS_NONE_MAPPED when nothing
matches.  (not yet tested if this helps vista).

Andrew Bartlett
(This used to be commit 7f3671bf11)
2007-10-10 14:53:12 -05:00
Andrew Tridgell
d89e6c774b r23364: add LDB_FLG_NOMMAP flag
(This used to be commit 0c3442c68b)
2007-10-10 14:53:12 -05:00
Michael Adam
14846bf4f6 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
(This used to be commit e4955c729f)
2007-10-10 14:53:12 -05:00
Andrew Bartlett
7f2709b397 r23361: Merge from SAMBA_4_0_RELEASE:
Print the smb.conf path being created in provision.

Andrew Bartlett
(This used to be commit bb583463bf)
2007-10-10 14:53:11 -05:00
Andrew Bartlett
815cf409eb r23351: Merge from SAMBA_4_0_RELEASE:
Fix a nasty issue we had with SWAT.  We could not provision into a
different domain, as we didn't re-calcuate the DOMAINDN after the user
changed it in the form.

Andrew Bartlett
(This used to be commit 430c998dc9)
2007-10-10 14:53:11 -05:00