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

10860 Commits

Author SHA1 Message Date
Brad Henry
059d52167c r19280: Missed renaming a remove_qfileinfo_test() function call. 2007-10-10 14:21:02 -05:00
Brad Henry
eb16d5324d 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.
2007-10-10 14:21:01 -05:00
Brad Henry
a41eefaaa7 r19278: Change the delete_directory() expect function so that rmdir will
automatically remove any subdirs and files of the directory to be deleted.
2007-10-10 14:21:01 -05:00
Brad Henry
542bddacc8 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.
2007-10-10 14:21:01 -05:00
Stefan Metzmacher
bd4cd24a9d r19276: remove unused file
metze
2007-10-10 14:21:01 -05:00
Andrew Tridgell
330a722f13 r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
fails
2007-10-10 14:21:00 -05:00
Andrew Tridgell
dd82c474a1 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
2007-10-10 14:21:00 -05:00
Andrew Bartlett
0546f487f4 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
2007-10-10 14:21:00 -05:00
Andrew Bartlett
c9c2e90e2e r19265: It is not an error to set the target hostname to NULL.
Andrew Bartlett
2007-10-10 14:21:00 -05:00
Andrew Bartlett
512ef62f4a r19264: Clarify behaviour in ldb_search_callback() and provide more
information when modules fail to load.

Andrew Bartlett
2007-10-10 14:20:59 -05:00
Andrew Bartlett
548c682fe5 r19262: Don't DEBUG() an unitialised variable 2007-10-10 14:20:59 -05:00
Andrew Bartlett
9cef40779a 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
2007-10-10 14:20:59 -05:00
Derrell Lipman
0780cbcdcc 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
2007-10-10 14:20:59 -05:00
Andrew Bartlett
962219df7d 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
2007-10-10 14:20:58 -05:00
Rafal Szczesniak
60ade8ddbd 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
2007-10-10 14:20:58 -05:00
Andrew Tridgell
3d3144cc06 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
2007-10-10 14:20:58 -05:00
Andrew Tridgell
b62437214c 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.
2007-10-10 14:20:58 -05:00
Rafal Szczesniak
dba5e642a0 r19251: fix silly typos causing the test to fail at account_name
and acct_expiry fields.

rafal
2007-10-10 14:20:57 -05:00
Volker Lendecke
b7e54501f7 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
2007-10-10 14:20:57 -05:00
Stefan Metzmacher
dc65a66252 r19245: mrege from samba3:
add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros

metze
2007-10-10 14:20:57 -05:00
Stefan Metzmacher
909d736a4b r19242: merge from samba3:
handle NO_CONFIG_H in libreplace

metze
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
cd03738e7c 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
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
12c8067337 r19229: let mkversion.sh handle bzr trees
metze
2007-10-10 14:20:55 -05:00
Stefan Metzmacher
7e399e607c 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
2007-10-10 14:20:55 -05:00
Andrew Bartlett
cc03ffd0e9 r19225: 30 seconds is too short for a Samba4 provision to finish. Make the
timeout longer.

Andrew Bartlett
2007-10-10 14:20:55 -05:00
Volker Lendecke
0c0a861c8b 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
2007-10-10 14:20:55 -05:00
Andrew Bartlett
d20ab6a5ed 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
2007-10-10 14:20:54 -05:00
Andrew Bartlett
a4aafe307d 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
2007-10-10 14:20:54 -05:00
Jeremy Allison
4b878578c2 r19208: Fix Samba3 pidl generation to remove memory leaks.
Jermey.
2007-10-10 14:20:54 -05:00
Volker Lendecke
6991864a03 r19205: Some consolidation 2007-10-10 14:20:54 -05:00
Volker Lendecke
603ecde9bc r19204: Samba3 does level6 now 2007-10-10 14:20:53 -05:00
Volker Lendecke
f67a0159d1 r19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again 2007-10-10 14:20:53 -05:00
Volker Lendecke
15c3b5d26e r19201: rap_cli_do_call only needs smbcli_tree, not smbcli_state 2007-10-10 14:20:53 -05:00
Volker Lendecke
03eaf0edf9 r19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
others that might need the server name.

Volker
2007-10-10 14:20:52 -05:00
Andrew Tridgell
90f044e63b 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
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
70bab6edfc r19198: fix typo...
metze
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
67a6a41ba3 r19196: merge from samba3:
pass always a mem_ctx to functions and a ldb_context where needed

metze
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
88adbd7443 r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
dc139d8715 r19188: merge from samba3:
fix compiler warnings

metze
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
f8afdac471 r19187: this function should be static...
(this also fix compiler warnings)

metze
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
59c6d51ab3 r19186: that doesn't help...
metze
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
e89ae157e8 r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
82abc39b55 r19178: fix the standalone build of socket_wrapper by not using
samba's DLIST_ macros

metze
2007-10-10 14:20:50 -05:00
Love Hörnquist Åstrand
fe621c1ab2 r19176: Also require <fcntl.h> and <sys/ioctl.h> for non samba builds. 2007-10-10 14:20:50 -05:00
Love Hörnquist Åstrand
8c2585f0cf r19175: If not in _SAMBA_BUILD_, define _PUBLIC_ to nothing. 2007-10-10 14:20:49 -05:00
Rafal Szczesniak
795a37e170 r19174: fix the test to pass against win2k3 server (username length
limit had been hit here, I guess).

rafal
2007-10-10 14:20:49 -05:00
Stefan Metzmacher
896326d508 r19173: see if HPUX 11.23 needs the same workaround as 11.11
metze
2007-10-10 14:20:49 -05:00
Stefan Metzmacher
9f8809a16e r19171: change the socket wrapper license to
what heimdal uses...

metze
2007-10-10 14:20:48 -05:00
Derrell Lipman
38d64118d1 r19167: - Various JSON-RPC facilities will desire to keep resources open in a
session.  Provide a common method of doing this, which allows limiting,
  somewhat (at least on a per-session basis) the possibility of DOS attacks.

- Add bindings for LDB functions, so they can be called via JSON-RPC
2007-10-10 14:20:48 -05:00
Derrell Lipman
9eba44bf16 r19166: better bug and reporting and proper authentication tracking 2007-10-10 14:20:47 -05:00