jra/samba/.git
16 years agor19334: Commit commented provisioning code to activate the schema
Simo Sorce [Mon, 16 Oct 2006 12:05:44 +0000 (12:05 +0000)]
r19334: Commit commented provisioning code to activate the schema
(This used to be commit 57ee79c15579d1bbe7c0d3202b84a06b75320e40)

16 years agor19333: commit module changes I made some time ago before I loose them
Simo Sorce [Mon, 16 Oct 2006 12:05:06 +0000 (12:05 +0000)]
r19333: commit module changes I made some time ago before I loose them
(This used to be commit 524ec78086597e0507cb6ce307155ef1b6a47836)

16 years agor19332: ldb_parse_tree leaks
Simo Sorce [Mon, 16 Oct 2006 12:03:55 +0000 (12:03 +0000)]
r19332: ldb_parse_tree leaks
(This used to be commit 3e0e2787c1da1c3831e21b163e1370001d725a3d)

16 years agor19331: Respect the mem hierarchy
Simo Sorce [Mon, 16 Oct 2006 11:58:19 +0000 (11:58 +0000)]
r19331: Respect the mem hierarchy
(This used to be commit de45756ea6ee0893247ba74738d25b3699f42ffa)

16 years agor19330: Fix memleaks
Simo Sorce [Mon, 16 Oct 2006 11:57:44 +0000 (11:57 +0000)]
r19330: Fix memleaks
(This used to be commit f163f422e3f201d8b0e22538949eccf0f7e62143)

16 years agor19329: fixed a leak in the password hash module
Andrew Tridgell [Mon, 16 Oct 2006 11:23:40 +0000 (11:23 +0000)]
r19329: fixed a leak in the password hash module
(This used to be commit 3f48bcb0585684686ba7601eb7614589a1bc2f5d)

16 years agor19328: another leak plugged ....
Andrew Tridgell [Mon, 16 Oct 2006 11:12:13 +0000 (11:12 +0000)]
r19328: another leak plugged ....
(This used to be commit f57535b9c2214e58c71084fcb9d74848e7d26b89)

16 years agor19327: fixed a leak in ldif_canonicalise_objectCategory()
Andrew Tridgell [Mon, 16 Oct 2006 11:03:48 +0000 (11:03 +0000)]
r19327: fixed a leak in ldif_canonicalise_objectCategory()
(This used to be commit 5cc92d915b7442d2eebc4b66ab89bbd15b96a493)

16 years agor19326: don't leak a ndr_push structure on ndr_push_struct_blob()
Andrew Tridgell [Mon, 16 Oct 2006 11:03:12 +0000 (11:03 +0000)]
r19326: don't leak a ndr_push structure on ndr_push_struct_blob()
(This used to be commit 9817cc235c5fd787855c60fa58f68b14f78cdb94)

16 years agor19325: leak fix from lha
Andrew Tridgell [Mon, 16 Oct 2006 10:51:23 +0000 (10:51 +0000)]
r19325: leak fix from lha
(This used to be commit 248f3265e6339f279691be5d17ca4ce733c6590d)

16 years agor19324: fixed a leak on deleting records when no index is in place
Andrew Tridgell [Mon, 16 Oct 2006 10:12:43 +0000 (10:12 +0000)]
r19324: fixed a leak on deleting records when no index is in place
(This used to be commit 0824b3b8c1003064b0f2c5a3f084f3e711155e8c)

16 years agor19323: fixed a leak in the ldif parse code
Andrew Tridgell [Mon, 16 Oct 2006 09:28:39 +0000 (09:28 +0000)]
r19323: fixed a leak in the ldif parse code
(This used to be commit 06387e1cf2d12a74e15a6cdf19e83a28c75cb5fd)

16 years agor19322: fix a minor memory leak in the ltdb cache code
Andrew Tridgell [Mon, 16 Oct 2006 09:08:43 +0000 (09:08 +0000)]
r19322: fix a minor memory leak in the ltdb cache code
(This used to be commit e03ed5822a690e2d151107f2edb9b4f1d3a1e1b9)

16 years agor19321: Merge from release branch:
Andrew Bartlett [Mon, 16 Oct 2006 07:32:22 +0000 (07:32 +0000)]
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
(This used to be commit 1d4d2271c9b944db3a9a2eba971aec5bcd9cf100)

16 years agor19318: Because we don't test the vampire code in SWAT very regularly, it bit-rotted.
Andrew Bartlett [Mon, 16 Oct 2006 03:53:12 +0000 (03:53 +0000)]
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
(This used to be commit 9b77d285d8cd8999547c0d17e97681d236acbdb0)

16 years agor19315: Record some OID allocations.
Andrew Bartlett [Mon, 16 Oct 2006 03:19:11 +0000 (03:19 +0000)]
r19315: Record some OID allocations.

Andrew Bartlett
(This used to be commit 0ceffb52eb218cd2beff0054679a07f137f0f23a)

16 years agor19314: Commit tridge's fixes for a big mem leak in ltdb I introduced
Simo Sorce [Mon, 16 Oct 2006 03:15:41 +0000 (03:15 +0000)]
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 49fc640b5c0398516ac3a9e3f7c55205cd60b1de)

16 years agor19313: Don't mess with hierarchies!!
Simo Sorce [Mon, 16 Oct 2006 03:12:48 +0000 (03:12 +0000)]
r19313: Don't mess with hierarchies!!
There is a reason why we use them :-)
(This used to be commit e3b7e91299559ddc7f300be53785d313a4aa90fc)

16 years agor19312: This should fix a nasty bug with values and names being freed before the...
Simo Sorce [Mon, 16 Oct 2006 02:45:18 +0000 (02:45 +0000)]
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 bfeaa08fde805439dbda974be6fcb692957b00f1)

16 years agor19311: Try to keep the schema map files fairly similar (hope for less weird bugs).
Andrew Bartlett [Mon, 16 Oct 2006 01:38:00 +0000 (01:38 +0000)]
r19311: Try to keep the schema map files fairly similar (hope for less weird bugs).

Andrew Bartlett
(This used to be commit a1f14d10fd0779eba244d63529600556ba9e9292)

16 years agor19310: Add another conflicting oid
Andrew Bartlett [Mon, 16 Oct 2006 01:36:22 +0000 (01:36 +0000)]
r19310: Add another conflicting oid

Cope with there being no attributes to skip in the ad2oLscheam tool

Andrew Bartlett
(This used to be commit 942d7ad0c3534770ad05977b180e1c8111a5b6a6)

16 years agor19309: Split out checks for LDB_SUCCESS from checks for the expected number
Andrew Bartlett [Mon, 16 Oct 2006 01:20:31 +0000 (01:20 +0000)]
r19309: Split out checks for LDB_SUCCESS from checks for the expected number
of returned entries.

Andrew Bartlett
(This used to be commit 84efd9ecd994b53817dde8c1ad995afb7ebc8192)

16 years agor19308: Merge samsync fixes from SAMBA_4_0_RELEASE
Andrew Bartlett [Mon, 16 Oct 2006 01:19:01 +0000 (01:19 +0000)]
r19308: Merge samsync fixes from SAMBA_4_0_RELEASE

Andrew Bartlett
(This used to be commit 331003239972d80864211377e864f7e469bd3d77)

16 years agor19306: ldbbrowse: handle input of Base and Scope in search tab
Derrell Lipman [Mon, 16 Oct 2006 01:03:43 +0000 (01:03 +0000)]
r19306: ldbbrowse: handle input of Base and Scope in search tab
(This used to be commit 6536e5a3c0f2fd3c20099fc5a53345ceadc2b49f)

16 years agor19305: Potential memleak on the ldb_context if we don't use a temp mem context
Simo Sorce [Mon, 16 Oct 2006 01:01:37 +0000 (01:01 +0000)]
r19305: Potential memleak on the ldb_context if we don't use a temp mem context
(This used to be commit c989dfbe18a2f700e952f478e258bd626c9eb2f5)

16 years agor19304: If you really want to look at the contents undef this one
Simo Sorce [Mon, 16 Oct 2006 01:00:47 +0000 (01:00 +0000)]
r19304: If you really want to look at the contents undef this one
(This used to be commit fe20ac404d654abe31729664584391f3b3cd0214)

16 years agor19303: It seem ok to have around this amount of blocks hanging out of an ldb context...
Simo Sorce [Mon, 16 Oct 2006 01:00:04 +0000 (01:00 +0000)]
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 5861ff69cc929c553e2c828ff42761cec6647d79)

16 years agor19299: Fix possible memleaks
Simo Sorce [Sun, 15 Oct 2006 23:14:19 +0000 (23:14 +0000)]
r19299: Fix possible memleaks
(This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)

16 years agor19298: make sure torture_fail() gives a useful message
Andrew Tridgell [Sun, 15 Oct 2006 21:42:45 +0000 (21:42 +0000)]
r19298: make sure torture_fail() gives a useful message

Jelmer, is there a better approach for this?
(This used to be commit 67e2cf921709e0833362cb3b1bd5558f3c359033)

16 years agor19297: fixed a leak in the ejs ldb interface
Andrew Tridgell [Sun, 15 Oct 2006 21:40:49 +0000 (21:40 +0000)]
r19297: fixed a leak in the ejs ldb interface
(This used to be commit 6978225ffcc12ffdda0d3404e855219808c0597c)

16 years agor19296: added a leak detector to ldb_wrap_connect()
Andrew Tridgell [Sun, 15 Oct 2006 21:31:58 +0000 (21:31 +0000)]
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 d791fd7b7b7a0a2674a70afe6cbbf0e3bd014544)

16 years agor19295: ldbbrowse: the search tab is now doing something vaguely reasonable.
Derrell Lipman [Sun, 15 Oct 2006 21:09:42 +0000 (21:09 +0000)]
r19295: ldbbrowse: the search tab is now doing something vaguely reasonable.
(This used to be commit 039069b3fd10e2ea614c385c6b432b235e1c226b)

16 years agor19294: a little speed tester for ldb/tdb
Andrew Tridgell [Sun, 15 Oct 2006 20:53:20 +0000 (20:53 +0000)]
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 10f8260455a55530f5701a136af8fa8b05ca8532)

16 years agor19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to perform
Volker Lendecke [Sun, 15 Oct 2006 16:17:17 +0000 (16:17 +0000)]
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 f381232c3ad032fcffb37d68d005e94cb2c95971)

16 years agor19289: fixed a memory leak in ldb_dn_string_compose()
Andrew Tridgell [Sun, 15 Oct 2006 10:11:15 +0000 (10:11 +0000)]
r19289: fixed a memory leak in ldb_dn_string_compose()
(This used to be commit 669aa1424c7a931f57856af0cd4a6f6f4a60b823)

16 years agor19282: make the recent qooxdoo work that Derrell has done available via the
Andrew Tridgell [Sat, 14 Oct 2006 21:02:38 +0000 (21:02 +0000)]
r19282: make the recent qooxdoo work that Derrell has done available via the
main menu
(This used to be commit b0fee976edd35c35b315637253297169afac35ab)

16 years agor19281: Generalize what we do for the RAW-QFILEINFO test call so that the same process
Brad Henry [Sat, 14 Oct 2006 20:27:33 +0000 (20:27 +0000)]
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 3d0cadb303fe9db49289d300a1c9fca44eee9d33)

16 years agor19280: Missed renaming a remove_qfileinfo_test() function call.
Brad Henry [Sat, 14 Oct 2006 20:21:33 +0000 (20:21 +0000)]
r19280: Missed renaming a remove_qfileinfo_test() function call.
(This used to be commit 059d52167cbc36d9dbf17b7a9e6463700fa4749d)

16 years agor19279: These setup and cleanup functions are general enough for any test which needs
Brad Henry [Sat, 14 Oct 2006 20:18:53 +0000 (20:18 +0000)]
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 eb16d5324d6e1f4e4b33993e23a6446c3289a85f)

16 years agor19278: Change the delete_directory() expect function so that rmdir will
Brad Henry [Sat, 14 Oct 2006 19:25:14 +0000 (19:25 +0000)]
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 a41eefaaa738177f55d93b227f341f903a902939)

16 years agor19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
Brad Henry [Sat, 14 Oct 2006 14:50:30 +0000 (14:50 +0000)]
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 542bddacc8a57d5486d0b721ddd9357179b597b5)

16 years agor19276: remove unused file
Stefan Metzmacher [Sat, 14 Oct 2006 10:36:14 +0000 (10:36 +0000)]
r19276: remove unused file

metze
(This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)

16 years agor19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
Andrew Tridgell [Sat, 14 Oct 2006 08:26:10 +0000 (08:26 +0000)]
r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
fails
(This used to be commit 330a722f1330059cbba19f99210a1a5a7c773a36)

16 years agor19273: - fixed error handling with the ldap backend
Andrew Tridgell [Sat, 14 Oct 2006 04:43:51 +0000 (04:43 +0000)]
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 dd82c474a123d90329bda653a4cb73c93e087b15)

16 years agor19266: Add a target_hostname element to the binding struct. This allows us
Andrew Bartlett [Fri, 13 Oct 2006 13:01:48 +0000 (13:01 +0000)]
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 0546f487f4cc99b5549dc1e457ea243d4bd66333)

16 years agor19265: It is not an error to set the target hostname to NULL.
Andrew Bartlett [Fri, 13 Oct 2006 12:54:13 +0000 (12:54 +0000)]
r19265: It is not an error to set the target hostname to NULL.

Andrew Bartlett
(This used to be commit c9c2e90e2e3937d05c58c681af187413b12d9220)

16 years agor19264: Clarify behaviour in ldb_search_callback() and provide more
Andrew Bartlett [Fri, 13 Oct 2006 09:44:55 +0000 (09:44 +0000)]
r19264: Clarify behaviour in ldb_search_callback() and provide more
information when modules fail to load.

Andrew Bartlett
(This used to be commit 512ef62f4a63fd90b67757b2c7b2e8ec83969204)

16 years agor19262: Don't DEBUG() an unitialised variable
Andrew Bartlett [Fri, 13 Oct 2006 09:14:43 +0000 (09:14 +0000)]
r19262: Don't DEBUG() an unitialised variable
(This used to be commit 548c682fe5aff4657f53d7986642a87566f6f531)

16 years agor19261: Fix use of unitialised variables. (The binding string is used, if not
Andrew Bartlett [Fri, 13 Oct 2006 07:25:51 +0000 (07:25 +0000)]
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 9cef40779ad987b506b1f514a67b5b1c8aea9969)

16 years agor19259: An ldb browser.
Derrell Lipman [Fri, 13 Oct 2006 02:49:16 +0000 (02:49 +0000)]
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 0780cbcdcc7672932b055966a9d0480d2cd705b4)

16 years agor19258: Don't delete the contents of the partitions twice, and in particular
Andrew Bartlett [Fri, 13 Oct 2006 01:35:52 +0000 (01:35 +0000)]
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 962219df7dc53ce6f6889f4b71ee19850c7ff7b5)

16 years agor19256: add missing infolevel and fields to SetUserInfo call
Rafal Szczesniak [Thu, 12 Oct 2006 20:21:46 +0000 (20:21 +0000)]
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 60ade8ddbd01ac45e5fe6380542ba23cd861e133)

16 years agor19253: its not so useful to index on objectclass. Much better to search on
Andrew Tridgell [Thu, 12 Oct 2006 08:33:48 +0000 (08:33 +0000)]
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 3d3144cc06b9987adb3f17e43f2858e7c416b6ae)

16 years agor19252: - fixed 'erase' argument to setup_ldb()
Andrew Tridgell [Thu, 12 Oct 2006 08:32:58 +0000 (08:32 +0000)]
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 b62437214cf7c98c81598c4f37c91ab284928dbb)

16 years agor19251: fix silly typos causing the test to fail at account_name
Rafal Szczesniak [Wed, 11 Oct 2006 21:40:07 +0000 (21:40 +0000)]
r19251: fix silly typos causing the test to fail at account_name
and acct_expiry fields.

rafal
(This used to be commit dba5e642a0230539ac73292ac5baae0f74e9f46e)

16 years agor19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I thought I
Volker Lendecke [Wed, 11 Oct 2006 15:26:03 +0000 (15:26 +0000)]
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 b7e54501f773a11892ab5ef3202ee4d57723725e)

16 years agor19245: mrege from samba3:
Stefan Metzmacher [Wed, 11 Oct 2006 13:36:37 +0000 (13:36 +0000)]
r19245: mrege from samba3:

add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros

metze
(This used to be commit dc65a6625295a7316c2e9982ee09eb9607dbed70)

16 years agor19242: merge from samba3:
Stefan Metzmacher [Wed, 11 Oct 2006 11:52:49 +0000 (11:52 +0000)]
r19242: merge from samba3:

handle NO_CONFIG_H in libreplace

metze
(This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)

16 years agor19234: fix configure test for net/if.h for some platforms
Stefan Metzmacher [Wed, 11 Oct 2006 07:19:00 +0000 (07:19 +0000)]
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 cd03738e7c5610c4a0cb1161b9bcee5d7c88322d)

16 years agor19229: let mkversion.sh handle bzr trees
Stefan Metzmacher [Tue, 10 Oct 2006 15:19:56 +0000 (15:19 +0000)]
r19229: let mkversion.sh handle bzr trees

metze
(This used to be commit 12c8067337e4cecf1fcd3123e4e0e3bb1bbcba8e)

16 years agor19227: - add a AC_CACHE_CHECK() around the net/if.h test
Stefan Metzmacher [Tue, 10 Oct 2006 09:32:02 +0000 (09:32 +0000)]
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 7e399e607c8e9bf7365de7d492d29377177cdc1f)

16 years agor19225: 30 seconds is too short for a Samba4 provision to finish. Make the
Andrew Bartlett [Tue, 10 Oct 2006 08:55:44 +0000 (08:55 +0000)]
r19225: 30 seconds is too short for a Samba4 provision to finish.  Make the
timeout longer.

Andrew Bartlett
(This used to be commit cc03ffd0e97f82e4af3f80dc760c5297e2f93d79)

16 years agor19219: Fix a memleak in the generated srv_code.
Volker Lendecke [Tue, 10 Oct 2006 07:52:31 +0000 (07:52 +0000)]
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 0c0a861c8b5b4c44d290f8db0d4c5e95260140ca)

16 years agor19217: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Tue, 10 Oct 2006 04:22:00 +0000 (04:22 +0000)]
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 d20ab6a5ed7f980cb653e965c4de3de8d058d9c4)

16 years agor19216: Merge from SAMBA_4_0_RELEASE:
Andrew Bartlett [Tue, 10 Oct 2006 04:20:50 +0000 (04:20 +0000)]
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 a4aafe307d6d1396fa79b0c48b0a36cbf682f0ce)

16 years agor19208: Fix Samba3 pidl generation to remove memory leaks.
Jeremy Allison [Mon, 9 Oct 2006 19:40:48 +0000 (19:40 +0000)]
r19208: Fix Samba3 pidl generation to remove memory leaks.
Jermey.
(This used to be commit 4b878578c27d499e38b208c87b4fd4b399474092)

16 years agor19205: Some consolidation
Volker Lendecke [Mon, 9 Oct 2006 14:33:56 +0000 (14:33 +0000)]
r19205: Some consolidation
(This used to be commit 6991864a032b136c68190b0f86714cd6c0c14b9f)

16 years agor19204: Samba3 does level6 now
Volker Lendecke [Mon, 9 Oct 2006 14:06:13 +0000 (14:06 +0000)]
r19204: Samba3 does level6 now
(This used to be commit 603ecde9bca4460fb139f5119b9034c8b22f727b)

16 years agor19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again
Volker Lendecke [Mon, 9 Oct 2006 11:52:57 +0000 (11:52 +0000)]
r19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again
(This used to be commit f67a0159d107238a0b2197777fb2d51596f66097)

16 years agor19201: rap_cli_do_call only needs smbcli_tree, not smbcli_state
Volker Lendecke [Mon, 9 Oct 2006 11:31:55 +0000 (11:31 +0000)]
r19201: rap_cli_do_call only needs smbcli_tree, not smbcli_state
(This used to be commit 15c3b5d26eb1a21ce29afbf9f938176efdc0761f)

16 years agor19200: Implement smbcli_rap_netservergetinfo. To be used in RPC-SAMBA3SPOOLSS and
Volker Lendecke [Mon, 9 Oct 2006 11:19:30 +0000 (11:19 +0000)]
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 03eaf0edf9f8a6d70375f9f12810b4fbb860290a)

16 years agor19199: split out the xattr NTACL code into a separate part of the posix
Andrew Tridgell [Mon, 9 Oct 2006 11:13:49 +0000 (11:13 +0000)]
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 90f044e63b12d32228310c7529382198bd7e6dfe)

16 years agor19198: fix typo...
Stefan Metzmacher [Mon, 9 Oct 2006 10:44:14 +0000 (10:44 +0000)]
r19198: fix typo...

metze
(This used to be commit 70bab6edfc1c8e52dfa3ff0f02059a2af6086589)

16 years agor19196: merge from samba3:
Stefan Metzmacher [Mon, 9 Oct 2006 09:56:13 +0000 (09:56 +0000)]
r19196: merge from samba3:

pass always a mem_ctx to functions and a ldb_context where needed

metze
(This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)

16 years agor19195: this should fix should workaround the broken
Stefan Metzmacher [Mon, 9 Oct 2006 09:12:57 +0000 (09:12 +0000)]
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 88adbd744355284df223f5618bd76e3d327055d8)

16 years agor19188: merge from samba3:
Stefan Metzmacher [Mon, 9 Oct 2006 08:00:18 +0000 (08:00 +0000)]
r19188: merge from samba3:

fix compiler warnings

metze
(This used to be commit dc139d8715f58b27363266f1426da451907845eb)

16 years agor19187: this function should be static...
Stefan Metzmacher [Mon, 9 Oct 2006 07:59:19 +0000 (07:59 +0000)]
r19187: this function should be static...
(this also fix compiler warnings)

metze
(This used to be commit f8afdac4710581db421dc7c558eb8ba57597b056)

16 years agor19186: that doesn't help...
Stefan Metzmacher [Mon, 9 Oct 2006 07:33:41 +0000 (07:33 +0000)]
r19186: that doesn't help...

metze
(This used to be commit 59c6d51ab31d9d686de35024509f08f5de41c788)

16 years agor19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
Stefan Metzmacher [Mon, 9 Oct 2006 06:46:39 +0000 (06:46 +0000)]
r19180: with "export MAKE_TEST_KEEP_PCAP=yes" make test
doesn't delete the generated pcap files

metze
(This used to be commit e89ae157e832483a44a1a744466c63edbcb2261d)

16 years agor19178: fix the standalone build of socket_wrapper by not using
Stefan Metzmacher [Sun, 8 Oct 2006 21:53:09 +0000 (21:53 +0000)]
r19178: fix the standalone build of socket_wrapper by not using
samba's DLIST_ macros

metze
(This used to be commit 82abc39b559ccae832dd749495ebcfdffc2e5755)

16 years agor19176: Also require <fcntl.h> and <sys/ioctl.h> for non samba builds.
Love Hörnquist Åstrand [Sun, 8 Oct 2006 21:45:07 +0000 (21:45 +0000)]
r19176: Also require <fcntl.h> and <sys/ioctl.h> for non samba builds.
(This used to be commit fe621c1ab277407fb62ad7bced829815b6625f22)

16 years agor19175: If not in _SAMBA_BUILD_, define _PUBLIC_ to nothing.
Love Hörnquist Åstrand [Sun, 8 Oct 2006 21:09:54 +0000 (21:09 +0000)]
r19175: If not in _SAMBA_BUILD_, define _PUBLIC_ to nothing.
(This used to be commit 8c2585f0cfb7ae229de066965a732904545f0869)

16 years agor19174: fix the test to pass against win2k3 server (username length
Rafal Szczesniak [Sun, 8 Oct 2006 21:09:52 +0000 (21:09 +0000)]
r19174: fix the test to pass against win2k3 server (username length
limit had been hit here, I guess).

rafal
(This used to be commit 795a37e1708caf5563ba71696595a840bc53408c)

16 years agor19173: see if HPUX 11.23 needs the same workaround as 11.11
Stefan Metzmacher [Sun, 8 Oct 2006 21:09:21 +0000 (21:09 +0000)]
r19173: see if HPUX 11.23 needs the same workaround as 11.11

metze
(This used to be commit 896326d5081da6a20babacf4c28c556fa44216c5)

16 years agor19171: change the socket wrapper license to
Stefan Metzmacher [Sun, 8 Oct 2006 20:48:34 +0000 (20:48 +0000)]
r19171: change the socket wrapper license to
what heimdal uses...

metze
(This used to be commit 9f8809a16ef837f5cdf07ed2e383893d035e96d6)

16 years agor19167: - Various JSON-RPC facilities will desire to keep resources open in a
Derrell Lipman [Sat, 7 Oct 2006 20:35:59 +0000 (20:35 +0000)]
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
(This used to be commit 38d64118d17e20dc625c8262b2f667927daeac0d)

16 years agor19166: better bug and reporting and proper authentication tracking
Derrell Lipman [Sat, 7 Oct 2006 20:33:09 +0000 (20:33 +0000)]
r19166: better bug and reporting and proper authentication tracking
(This used to be commit 9eba44bf16e1f5b6c9dc29d9917bc3b7754da54c)

16 years agor19165: handle errors better for jsonrpc. generate an error object whenever possible
Derrell Lipman [Sat, 7 Oct 2006 20:31:27 +0000 (20:31 +0000)]
r19165: handle errors better for jsonrpc.  generate an error object whenever possible
(This used to be commit aa8e4227a11d997f7c4c5af2b7a3c7c371b8c1cd)

16 years agor19162: Merge WERR code from Samba 3.
Günther Deschner [Sat, 7 Oct 2006 05:28:14 +0000 (05:28 +0000)]
r19162: Merge WERR code from Samba 3.

Guenther
(This used to be commit d9562e0f83d76043da7955e89b1fff8a1d921a36)

16 years agor19153: Simple consistency check for enumprinters level 2 as well
Volker Lendecke [Fri, 6 Oct 2006 19:02:02 +0000 (19:02 +0000)]
r19153: Simple consistency check for enumprinters level 2 as well
(This used to be commit bd50a5929494949af865107551bb637ca9a3d96b)

16 years agor19152: A simple consistency check for enumprinters
Volker Lendecke [Fri, 6 Oct 2006 18:50:48 +0000 (18:50 +0000)]
r19152: A simple consistency check for enumprinters
(This used to be commit 593b17c8e5678949d8b41d241f522ffb20c6640f)

16 years agor19150: add a usefull tool to test the gdb_backtrace script
Stefan Metzmacher [Fri, 6 Oct 2006 18:04:48 +0000 (18:04 +0000)]
r19150: add a usefull tool to test the gdb_backtrace script

just compile it with
cc -g -o gdb_backtrace_test gdb_backtrace_test.c

and run it in the same directory where your gdb_backtrace script is.

metze
(This used to be commit 56ae0171bafe4576c6163a0198a18b8163314e20)

16 years agor19149: ladebug needs to have the stoponattach flag set
Stefan Metzmacher [Fri, 6 Oct 2006 17:55:17 +0000 (17:55 +0000)]
r19149: ladebug needs to have the stoponattach flag set
to generate the current backtrace without waiting for a signal...

metze
(This used to be commit d86100289a3a857456e2d4441c290ca2ea2330ff)

16 years agor19146: merge from samba3:
Stefan Metzmacher [Fri, 6 Oct 2006 16:17:19 +0000 (16:17 +0000)]
r19146: merge from samba3:

talloc_reference() can fail

metze
(This used to be commit 542cd5d029e97c2e0c7c006a1ced12114c1bb6da)

16 years agor19142: ensure no race conditions during installation by having same name in source...
Derrell Lipman [Fri, 6 Oct 2006 15:50:26 +0000 (15:50 +0000)]
r19142: ensure no race conditions during installation by having same name in source and swat directory; install new apps and services
(This used to be commit a2b996317f81aa61d7d5bf427003399560e64f77)

16 years agor19141: add a reasonable subset of the qooxdoo runtime environment, and example appli...
Derrell Lipman [Fri, 6 Oct 2006 15:40:18 +0000 (15:40 +0000)]
r19141: add a reasonable subset of the qooxdoo runtime environment, and example applications
(This used to be commit ff28ab7314ff1eebcd62f387678b816091af8121)

16 years agor19140: allow own authentication handling by jsonrpc apps
Derrell Lipman [Fri, 6 Oct 2006 15:38:43 +0000 (15:38 +0000)]
r19140: allow own authentication handling by jsonrpc apps
(This used to be commit de2eb8df0c1aa361adbf14a5984b1719e17f70cb)

16 years agor19139: typos; consitent ordering of operations
Derrell Lipman [Fri, 6 Oct 2006 15:37:39 +0000 (15:37 +0000)]
r19139: typos; consitent ordering of operations
(This used to be commit aaab47cb910fbbec6913bc5f796f0d6d479f729d)

16 years agor19138: add authentication capability; fix typos
Derrell Lipman [Fri, 6 Oct 2006 15:36:07 +0000 (15:36 +0000)]
r19138: add authentication capability; fix typos
(This used to be commit d8f0701feb85b7ca70edd5e8a9581661eb6c52e2)

16 years agor19136: No conflict, after "svn up" it applied correctly", merge 19126 from 3_0
Volker Lendecke [Fri, 6 Oct 2006 15:16:18 +0000 (15:16 +0000)]
r19136: No conflict, after "svn up" it applied correctly", merge 19126 from 3_0
(This used to be commit 042a22b6dd34bb147cf4f8cc10f98d4cda3ccd55)