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

10882 Commits

Author SHA1 Message Date
Andrew Bartlett
064b605fab r19315: Record some OID allocations.
Andrew Bartlett
(This used to be commit 0ceffb52eb)
2007-10-10 14:21:07 -05:00
Simo Sorce
1b8e6fa6e9 r19314: Commit tridge's fixes for a big mem leak in ltdb I introduced
when the code has been changed to be async.
With the other committed fixes now this works.
(This used to be commit 49fc640b5c)
2007-10-10 14:21:07 -05:00
Simo Sorce
b0fadb51b2 r19313: Don't mess with hierarchies!!
There is a reason why we use them :-)
(This used to be commit e3b7e91299)
2007-10-10 14:21:07 -05:00
Simo Sorce
508a04fe57 r19312: This should fix a nasty bug with values and names being freed before the results where used.
Seem that el is hanging out of a request, and the target is put on the final results.

Still one to catch and fix, but this seem to cure most of them
(This used to be commit bfeaa08fde)
2007-10-10 14:21:07 -05:00
Andrew Bartlett
227831537a r19311: Try to keep the schema map files fairly similar (hope for less weird bugs).
Andrew Bartlett
(This used to be commit a1f14d10fd)
2007-10-10 14:21:06 -05:00
Andrew Bartlett
e0294c9f66 r19310: Add another conflicting oid
Cope with there being no attributes to skip in the ad2oLscheam tool

Andrew Bartlett
(This used to be commit 942d7ad0c3)
2007-10-10 14:21:06 -05:00
Andrew Bartlett
2ac52f809a r19309: Split out checks for LDB_SUCCESS from checks for the expected number
of returned entries.

Andrew Bartlett
(This used to be commit 84efd9ecd9)
2007-10-10 14:21:06 -05:00
Andrew Bartlett
379e6598e1 r19308: Merge samsync fixes from SAMBA_4_0_RELEASE
Andrew Bartlett
(This used to be commit 3310032399)
2007-10-10 14:21:06 -05:00
Derrell Lipman
9b9215d0f4 r19306: ldbbrowse: handle input of Base and Scope in search tab
(This used to be commit 6536e5a3c0)
2007-10-10 14:21:05 -05:00
Simo Sorce
3cabd0dcae r19305: Potential memleak on the ldb_context if we don't use a temp mem context
(This used to be commit c989dfbe18)
2007-10-10 14:21:05 -05:00
Simo Sorce
666a72e39a r19304: If you really want to look at the contents undef this one
(This used to be commit fe20ac404d)
2007-10-10 14:21:05 -05:00
Simo Sorce
44146fc878 r19303: It seem ok to have around this amount of blocks hanging out of an ldb context for sam.ldb
(This used to be commit 5861ff69cc)
2007-10-10 14:21:05 -05:00
Simo Sorce
59b66744f7 r19299: Fix possible memleaks
(This used to be commit 6fad80bb09)
2007-10-10 14:21:04 -05:00
Andrew Tridgell
a719444f68 r19298: make sure torture_fail() gives a useful message
Jelmer, is there a better approach for this?
(This used to be commit 67e2cf9217)
2007-10-10 14:21:04 -05:00
Andrew Tridgell
d08f8ab433 r19297: fixed a leak in the ejs ldb interface
(This used to be commit 6978225ffc)
2007-10-10 14:21:04 -05:00
Andrew Tridgell
ba68ee4cd4 r19296: added a leak detector to ldb_wrap_connect()
this makes 'make test' _very_ noisy, apologies for that, but nearly
all the noise is real memory leaks, so if you don't like it then jump
in and help fix the leaks :)
(This used to be commit d791fd7b7b)
2007-10-10 14:21:03 -05:00
Derrell Lipman
3df891a5af r19295: ldbbrowse: the search tab is now doing something vaguely reasonable.
(This used to be commit 039069b3fd)
2007-10-10 14:21:03 -05:00
Andrew Tridgell
3433468e12 r19294: a little speed tester for ldb/tdb
I wrote this to see if using a ldb for idmap store (the equivalent of
winbindd_idmap.tdb) makes sense. It's a long lived database that
administrators may wish to edit, so ldb makes sense, but at the moment
ldb is too slow. This test will help us speed it up.
(This used to be commit 10f8260455)
2007-10-10 14:21:03 -05:00
Volker Lendecke
518666fde1 r19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to perform
right now.

Volker
(This used to be commit f381232c3a)
2007-10-10 14:21:03 -05:00
Andrew Tridgell
d0ba572fab r19289: fixed a memory leak in ldb_dn_string_compose()
(This used to be commit 669aa1424c)
2007-10-10 14:21:02 -05:00
Andrew Tridgell
223701c638 r19282: make the recent qooxdoo work that Derrell has done available via the
main menu
(This used to be commit b0fee976ed)
2007-10-10 14:21:02 -05:00
Brad Henry
b39540b504 r19281: Generalize what we do for the RAW-QFILEINFO test call so that the same process
is used for other tests that operate on a share when run against windows.
(This used to be commit 3d0cadb303)
2007-10-10 14:21:02 -05:00
Brad Henry
3ff55aa73e r19280: Missed renaming a remove_qfileinfo_test() function call.
(This used to be commit 059d52167c)
2007-10-10 14:21:02 -05:00
Brad Henry
ebbdf24b03 r19279: These setup and cleanup functions are general enough for any test which needs
a share to operate on, not just the qfileinfo test, so now they are named
more appropriately.
(This used to be commit eb16d5324d)
2007-10-10 14:21:01 -05:00
Brad Henry
85ccd43f70 r19278: Change the delete_directory() expect function so that rmdir will
automatically remove any subdirs and files of the directory to be deleted.
(This used to be commit a41eefaaa7)
2007-10-10 14:21:01 -05:00
Brad Henry
2c594ee12b r19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
RPC-DSSETUP RPC-EPMAPPER RPC-INITSHUTDOWN RPC-LSA-GETUSER RPC-MULTIBIND RPC-ROT
RPC-SECRETS RPC-SRVSVC RPC-SVCCTL  RPC-WKSSVC tests against windows, either
by 'make wintest' or in the build farm.

I was surprised when RPC-EVENTLOG and RPC-LSA failed, so i'll investigate today.
(This used to be commit 542bddacc8)
2007-10-10 14:21:01 -05:00
Stefan Metzmacher
1779e80bfb r19276: remove unused file
metze
(This used to be commit bd4cd24a9d)
2007-10-10 14:21:01 -05:00
Andrew Tridgell
04140ac3c7 r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
fails
(This used to be commit 330a722f13)
2007-10-10 14:21:00 -05:00
Andrew Tridgell
2ad8e1443d r19273: - fixed error handling with the ldap backend
- propogate errors to the ldbadd command line tool

- use the rdn_name module when testing the tdb backend to allow the
  same test code to correctly test the ldap and non-ldap backends
(This used to be commit dd82c474a1)
2007-10-10 14:21:00 -05:00
Andrew Bartlett
57b8c5cd22 r19266: Add a target_hostname element to the binding struct. This allows us
to perform a lookup once, resolve the name to an IP, while still
communicating the full name to the lower layers, for kerberos etc.

This fixes 'net samdump', which was failing due to the schannel target
name being *smbserver.

Andrew Bartlett
(This used to be commit 0546f487f4)
2007-10-10 14:21:00 -05:00
Andrew Bartlett
541339fbd2 r19265: It is not an error to set the target hostname to NULL.
Andrew Bartlett
(This used to be commit c9c2e90e2e)
2007-10-10 14:21:00 -05:00
Andrew Bartlett
fa67b43ae8 r19264: Clarify behaviour in ldb_search_callback() and provide more
information when modules fail to load.

Andrew Bartlett
(This used to be commit 512ef62f4a)
2007-10-10 14:20:59 -05:00
Andrew Bartlett
f1ed6d2c9b r19262: Don't DEBUG() an unitialised variable
(This used to be commit 548c682fe5)
2007-10-10 14:20:59 -05:00
Andrew Bartlett
9ce0de670b r19261: Fix use of unitialised variables. (The binding string is used, if not
NULL).

This showed up in a manual pre-TP3 test of the 'net samdump' code, and
shows the critical need for the windows testing infrustructure on the
build farm.

Andrew Bartlett
(This used to be commit 9cef40779a)
2007-10-10 14:20:59 -05:00
Derrell Lipman
28b6ae9076 r19259: An ldb browser.
This has the layout complete so anyone interested can see what a qooxdoo
application might look like.  It doesn't yet issue any JSON-RPC calls to do
anything useful (that's next), and it still has the appearance of a qooxdoo
test rather than something unique to Samba.  I'll adjust the appearance later.

This layout is loosely (or not so loosely) based on 'gq'.  A few things in
this layout won't apply to an ldb browser, but they're there for the time
being anyway until I decide exactly what to do with them.

Derrell
(This used to be commit 0780cbcdcc)
2007-10-10 14:20:59 -05:00
Andrew Bartlett
d70fbdbefa r19258: Don't delete the contents of the partitions twice, and in particular
don't delete their contents until we have specified the new partition
locations.

However, preserve the important part of tridge's change, that is to
ensure that no database index is present when the mass delete occours.
In my testing, it is best to leave the index until the provision is
compleated.

Andrew Bartlett
(This used to be commit 962219df7d)
2007-10-10 14:20:58 -05:00
Rafal Szczesniak
6c4bc15f3b r19256: add missing infolevel and fields to SetUserInfo call
that's why ntsrv and win2k3 srv could pass the net test
and we could not...

rafal
(This used to be commit 60ade8ddbd)
2007-10-10 14:20:58 -05:00
Andrew Tridgell
557ca55ed7 r19253: its not so useful to index on objectclass. Much better to search on
objectCategory

provision now takes 2.4 secs, down from 24s on my laptop
(This used to be commit 3d3144cc06)
2007-10-10 14:20:58 -05:00
Andrew Tridgell
151e30e18a r19252: - fixed 'erase' argument to setup_ldb()
- when wiping a ldb, wipe within each naming context first. By not
  wiping the naming contexts we didn't wipe the partitions, which
  caused a massive slowdown in re-provisioning due to re-indexing of
  the schema.
(This used to be commit b62437214c)
2007-10-10 14:20:58 -05:00
Rafal Szczesniak
49eb5dc142 r19251: fix silly typos causing the test to fail at account_name
and acct_expiry fields.

rafal
(This used to be commit dba5e642a0)
2007-10-10 14:20:57 -05:00
Volker Lendecke
554972d1d2 r19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I thought I
had tested that w2k3 copies the input server name to output.

Volker
(This used to be commit b7e54501f7)
2007-10-10 14:20:57 -05:00
Stefan Metzmacher
2bdaccaa9c r19245: mrege from samba3:
add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros

metze
(This used to be commit dc65a66252)
2007-10-10 14:20:57 -05:00
Stefan Metzmacher
b6582987fe r19242: merge from samba3:
handle NO_CONFIG_H in libreplace

metze
(This used to be commit 909d736a4b)
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
5916c6c469 r19234: fix configure test for net/if.h for some platforms
AC_LANG_SOURCE() causes to have the content of confdefs.h
in front of the file that will be compiled

metze
(This used to be commit cd03738e7c)
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
66f264bd7a r19229: let mkversion.sh handle bzr trees
metze
(This used to be commit 12c8067337)
2007-10-10 14:20:55 -05:00
Stefan Metzmacher
d067ee2105 r19227: - add a AC_CACHE_CHECK() around the net/if.h test
to see (we now get some output that this test happens at all...).

- make use of AC_INCLUDES_DEFAULT

metze
(This used to be commit 7e399e607c)
2007-10-10 14:20:55 -05:00
Andrew Bartlett
46aa292ecf r19225: 30 seconds is too short for a Samba4 provision to finish. Make the
timeout longer.

Andrew Bartlett
(This used to be commit cc03ffd0e9)
2007-10-10 14:20:55 -05:00
Volker Lendecke
af5e517521 r19219: Fix a memleak in the generated srv_code.
Fix a warning.

Implement the rng_fault_state return check.

After this (and Jeremy's fix) all Samba3-developers should do a 'make idl' and
do a complete rebuild.

Volker
(This used to be commit 0c0a861c8b)
2007-10-10 14:20:55 -05:00
Andrew Bartlett
a3a7c28765 r19217: Merge from SAMBA_4_0_RELEASE:
Re-enable TLS in the default configuration.  We passed on the build
farm because we have an explicit diffie-hilliman parameters file set.

Andrew Bartlett
(This used to be commit d20ab6a5ed)
2007-10-10 14:20:54 -05:00
Andrew Bartlett
7135bb9e63 r19216: Merge from SAMBA_4_0_RELEASE:
Move default for subobj.LDAPMODULES into scripting/libjs/provision.js
so that SWAT can provision again.

Andrew Bartlett
(This used to be commit a4aafe307d)
2007-10-10 14:20:54 -05:00