1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

10610 Commits

Author SHA1 Message Date
Andrew Tridgell
0824b3b8c1 r19324: fixed a leak on deleting records when no index is in place 2007-10-10 14:21:09 -05:00
Andrew Tridgell
06387e1cf2 r19323: fixed a leak in the ldif parse code 2007-10-10 14:21:08 -05:00
Andrew Tridgell
e03ed5822a r19322: fix a minor memory leak in the ltdb cache code 2007-10-10 14:21:08 -05:00
Andrew Bartlett
1d4d2271c9 r19321: Merge from release branch:
Always set the krb5key from the ntPwdHash, even if we don't have the
cleartext password in sambaPassword.  This fixes kerberos after a
vampire.

Andrew Bartlett
2007-10-10 14:21:08 -05:00
Andrew Bartlett
9b77d285d8 r19318: Because we don't test the vampire code in SWAT very regularly, it bit-rotted.
Fix up interfaces and interaction between the two..

Andrew Bartlett
2007-10-10 14:21:08 -05:00
Andrew Bartlett
0ceffb52eb r19315: Record some OID allocations.
Andrew Bartlett
2007-10-10 14:21:07 -05:00
Simo Sorce
49fc640b5c 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.
2007-10-10 14:21:07 -05:00
Simo Sorce
e3b7e91299 r19313: Don't mess with hierarchies!!
There is a reason why we use them :-)
2007-10-10 14:21:07 -05:00
Simo Sorce
bfeaa08fde 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
2007-10-10 14:21:07 -05:00
Andrew Bartlett
a1f14d10fd r19311: Try to keep the schema map files fairly similar (hope for less weird bugs).
Andrew Bartlett
2007-10-10 14:21:06 -05:00
Andrew Bartlett
942d7ad0c3 r19310: Add another conflicting oid
Cope with there being no attributes to skip in the ad2oLscheam tool

Andrew Bartlett
2007-10-10 14:21:06 -05:00
Andrew Bartlett
84efd9ecd9 r19309: Split out checks for LDB_SUCCESS from checks for the expected number
of returned entries.

Andrew Bartlett
2007-10-10 14:21:06 -05:00
Andrew Bartlett
3310032399 r19308: Merge samsync fixes from SAMBA_4_0_RELEASE
Andrew Bartlett
2007-10-10 14:21:06 -05:00
Simo Sorce
c989dfbe18 r19305: Potential memleak on the ldb_context if we don't use a temp mem context 2007-10-10 14:21:05 -05:00
Simo Sorce
fe20ac404d r19304: If you really want to look at the contents undef this one 2007-10-10 14:21:05 -05:00
Simo Sorce
5861ff69cc r19303: It seem ok to have around this amount of blocks hanging out of an ldb context for sam.ldb 2007-10-10 14:21:05 -05:00
Simo Sorce
6fad80bb09 r19299: Fix possible memleaks 2007-10-10 14:21:04 -05:00
Andrew Tridgell
67e2cf9217 r19298: make sure torture_fail() gives a useful message
Jelmer, is there a better approach for this?
2007-10-10 14:21:04 -05:00
Andrew Tridgell
6978225ffc r19297: fixed a leak in the ejs ldb interface 2007-10-10 14:21:04 -05:00
Andrew Tridgell
d791fd7b7b 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 :)
2007-10-10 14:21:03 -05:00
Andrew Tridgell
10f8260455 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.
2007-10-10 14:21:03 -05:00
Volker Lendecke
f381232c3a r19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to perform
right now.

Volker
2007-10-10 14:21:03 -05:00
Andrew Tridgell
669aa1424c r19289: fixed a memory leak in ldb_dn_string_compose() 2007-10-10 14:21:02 -05:00
Brad Henry
3d0cadb303 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.
2007-10-10 14:21:02 -05:00
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
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