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

10870 Commits

Author SHA1 Message Date
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
Jeremy Allison
e461cfee2e r19208: Fix Samba3 pidl generation to remove memory leaks.
Jermey.
(This used to be commit 4b878578c2)
2007-10-10 14:20:54 -05:00
Volker Lendecke
4ead8b391d r19205: Some consolidation
(This used to be commit 6991864a03)
2007-10-10 14:20:54 -05:00
Volker Lendecke
b0d8e2d42c r19204: Samba3 does level6 now
(This used to be commit 603ecde9bc)
2007-10-10 14:20:53 -05:00
Volker Lendecke
22abc6b927 r19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again
(This used to be commit f67a0159d1)
2007-10-10 14:20:53 -05:00
Volker Lendecke
51b4a41d52 r19201: rap_cli_do_call only needs smbcli_tree, not smbcli_state
(This used to be commit 15c3b5d26e)
2007-10-10 14:20:53 -05:00
Volker Lendecke
5c46265048 r19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
others that might need the server name.

Volker
(This used to be commit 03eaf0edf9)
2007-10-10 14:20:52 -05:00
Andrew Tridgell
2338e97832 r19199: split out the xattr NTACL code into a separate part of the posix
backend, allowing other ACL backends to be added. The xattr backend is
still the default backend
(This used to be commit 90f044e63b)
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
0019163d85 r19198: fix typo...
metze
(This used to be commit 70bab6edfc)
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
bbc056e067 r19196: merge from samba3:
pass always a mem_ctx to functions and a ldb_context where needed

metze
(This used to be commit 67a6a41ba3)
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
d66e80c650 r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
(This used to be commit 88adbd7443)
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
c403dd11fb r19188: merge from samba3:
fix compiler warnings

metze
(This used to be commit dc139d8715)
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
d6e1eb9872 r19187: this function should be static...
(this also fix compiler warnings)

metze
(This used to be commit f8afdac471)
2007-10-10 14:20:51 -05:00