14 years agor383: Scripting extensions using swig. This commit includes only a (LGPL)
Tim Potter [Wed, 28 Apr 2004 10:10:52 +0000 (10:10 +0000)]
r383: Scripting extensions using swig.  This commit includes only a (LGPL)
python interface to tdb and a rudimentary build system.

Configure with --with-python and make swig to build and append
$(builddir)/scripting/swig/python to PYTHONPATH.
(This used to be commit bbc15d6f84b6a247ae87b253752a86a38f1d6798)

14 years agor382: More C++ friendliness fixes.
Tim Potter [Wed, 28 Apr 2004 07:32:37 +0000 (07:32 +0000)]
r382: More C++ friendliness fixes.
(This used to be commit e96f3a2005cf6f4da2ecd4670a35eab1b4f250d0)

14 years agor381: make the code more C++ friendly
Andrew Tridgell [Wed, 28 Apr 2004 07:05:28 +0000 (07:05 +0000)]
r381: make the code more C++ friendly
(This used to be commit 8acecc7f27e25ab876fffffe43ae75b5f77aff77)

14 years agor380: make sure that ldbedit -a works with all tdb and LDAP backends
Andrew Tridgell [Wed, 28 Apr 2004 06:43:35 +0000 (06:43 +0000)]
r380: make sure that ldbedit -a works with all tdb and LDAP backends
(This used to be commit b5cb5a1e62a4b9df6f163082498942553662436e)

14 years agor374: allow for a policy_handle fetch using a handle type of
Andrew Tridgell [Tue, 27 Apr 2004 07:12:10 +0000 (07:12 +0000)]
r374: allow for a policy_handle fetch using a handle type of
DCESRV_HANDLE_ANY. This is needed for operations like samr_Close()
that take any handle type.
(This used to be commit 6fbbfc4462388c4c86f9f0ddd3cdd99225512ef2)

14 years agor373: use a much larger default tdb hash size in ldb
Andrew Tridgell [Tue, 27 Apr 2004 07:10:16 +0000 (07:10 +0000)]
r373: use a much larger default tdb hash size in ldb
(This used to be commit 54f47c45b8f828ad5ddaa630d0c1e673f2c74b7a)

14 years agor372: automatically create a fake BDC machine account and delete it
Andrew Tridgell [Tue, 27 Apr 2004 06:36:39 +0000 (06:36 +0000)]
r372: automatically create a fake BDC machine account and delete it
afterwards for the RPC-NETLOGON test. This makes it much simpler to
run the test and also means that it doesn't distrurb any existing
domain join you might have.
(This used to be commit feac996794d5cc16e3612fb2901668a9b1e1d274)

14 years agor365: improved the IDL for samr_Connect5()
Andrew Tridgell [Mon, 26 Apr 2004 03:52:44 +0000 (03:52 +0000)]
r365: improved the IDL for samr_Connect5()
(This used to be commit 4b4f025504cb5b92c8b119259f1df622cd72ec7c)

14 years agor364: finally worked out the ancient samr_ChangePasswordUser() interface
Andrew Tridgell [Mon, 26 Apr 2004 03:07:46 +0000 (03:07 +0000)]
r364: finally worked out the ancient samr_ChangePasswordUser() interface

(This used to be commit 0221566cf5ff7dc5ce0de9af451b935ed8615f4e)

14 years agor363: nicer error handling in pidl
Andrew Tridgell [Mon, 26 Apr 2004 02:05:48 +0000 (02:05 +0000)]
r363: nicer error handling in pidl
(This used to be commit cafc8a5e763834a26432c467abfe84f140bb7d80)

14 years agor362: after setting domain info query it again so we can see what attributes stick
Andrew Tridgell [Mon, 26 Apr 2004 02:04:48 +0000 (02:04 +0000)]
r362: after setting domain info query it again so we can see what attributes stick
(This used to be commit b2ebaf95b75b050ad02ca967867337cd81faa859)

14 years agor361: allow anonymous browsing
Andrew Tridgell [Mon, 26 Apr 2004 00:43:23 +0000 (00:43 +0000)]
r361: allow anonymous browsing
(This used to be commit 845730501e24629aa3db4698f097dd73c14bca3b)

14 years agor360: use the STYPE_* definitions from srvsvc.idl
Andrew Tridgell [Mon, 26 Apr 2004 00:33:17 +0000 (00:33 +0000)]
r360: use the STYPE_* definitions from srvsvc.idl
(This used to be commit 32707fe3c0fd7139b597fef1c2b096992e51bdc6)

14 years agor359: moved the share type definitions to srvsvc.idl
Andrew Tridgell [Mon, 26 Apr 2004 00:32:29 +0000 (00:32 +0000)]
r359: moved the share type definitions to srvsvc.idl

I'd like to see more protocol defininitions in the IDL files and less
in smb.h where possible.
(This used to be commit 854b875bbe447955fb0c3876f046931d0bfde06c)

14 years agor358: added some more annotation on the samr unknown attributes
Andrew Tridgell [Mon, 26 Apr 2004 00:31:31 +0000 (00:31 +0000)]
r358: added some more annotation on the samr unknown attributes
(This used to be commit a946315193443feab786a588f371ad2a560327d4)

14 years agor357: added share browsing to smbclient using the SRVSVC MSRPC pipe
Andrew Tridgell [Mon, 26 Apr 2004 00:27:01 +0000 (00:27 +0000)]
r357: added share browsing to smbclient using the SRVSVC MSRPC pipe
(This used to be commit 53ae1ddb8d974736ed305d5e4da04807f0c04332)

14 years agor356: Start of auto-generated client functions. Tridge can you take a look
Tim Potter [Sun, 25 Apr 2004 22:58:18 +0000 (22:58 +0000)]
r356: Start of auto-generated client functions.  Tridge can you take a look
and tell me what you think?  Output does not compile yet.
(This used to be commit 65692c9a9301329ad93628778e3d8f9188a67059)

14 years agor355: Fix a bunch of compiler warnings in the registry code.
Tim Potter [Sun, 25 Apr 2004 22:15:48 +0000 (22:15 +0000)]
r355: Fix a bunch of compiler warnings in the registry code.
(This used to be commit 0be7a866dc39e2d63c9c114d0f668287259e7c9e)

14 years agor354: Tridge convinced me that writing some wrapper functions by hand was a
Tim Potter [Sun, 25 Apr 2004 22:05:05 +0000 (22:05 +0000)]
r354: Tridge convinced me that writing some wrapper functions by hand was a
bad idea.
(This used to be commit 6eb0b17015071790fb0108b140936ac81f4c7f92)

14 years agor344: fixed deletion of index records
Andrew Tridgell [Fri, 23 Apr 2004 13:09:53 +0000 (13:09 +0000)]
r344: fixed deletion of index records
(This used to be commit 246f17cd4a7851042739574f1e07b113c44275c7)

14 years agor343: added automatic reindexing of the database when the index list changes
Andrew Tridgell [Fri, 23 Apr 2004 13:05:27 +0000 (13:05 +0000)]
r343: added automatic reindexing of the database when the index list changes
(This used to be commit a811640ce408373a5c2c0ee2c125bd735d96d5e1)

14 years agor336: added a -X command line option to smbtorture to enable dangerous or
Andrew Tridgell [Fri, 23 Apr 2004 05:40:18 +0000 (05:40 +0000)]
r336: added a -X command line option to smbtorture to enable dangerous or
possibly destructive tests. Use with care!

Added IDL and test code for samr_Shutdown() and samr_SetDsrmPassword()
(This used to be commit 84de0b7e58c69e0817b9d475de0895a54cc95927)

14 years agor335: added much better handling of servers that die unexpectedly during a
Andrew Tridgell [Fri, 23 Apr 2004 04:21:22 +0000 (04:21 +0000)]
r335: added much better handling of servers that die unexpectedly during a
request (a dead socket). I discovered this when testing against Sun's

cleaned up the naming of some of the samr requests

add IDL and test code for samr_QueryGroupMember(),
samr_SetMemberAttributesOfGroup() and samr_Shutdown().  (actually, I
didn't leave the samr_Shutdown() test in, as its fatal to windows
servers due to doing exactly what it says it does).
(This used to be commit 925bc2622c105dee4ffff809c6c35cd209a839f8)

14 years agor327: fixed an uninitialised variable found by valgrind
Andrew Tridgell [Thu, 22 Apr 2004 07:45:00 +0000 (07:45 +0000)]
r327: fixed an uninitialised variable found by valgrind
(This used to be commit 10844cf925d6a8164191a6dbbcaacc7bf8179933)

14 years agor326: tweaks to the RPC-SAMR test code to allow win2003 to pass the test (for example...
Andrew Tridgell [Thu, 22 Apr 2004 07:28:18 +0000 (07:28 +0000)]
r326: tweaks to the RPC-SAMR test code to allow win2003 to pass the test (for example, not filling in extra
fields in level21 setuserinfo)
(This used to be commit d06ed158f9aef94159bfc09065ca5ad0c4c99de3)

14 years agor325: added IDL and test code for samr_ChangePasswordUser3().
Andrew Tridgell [Thu, 22 Apr 2004 06:19:48 +0000 (06:19 +0000)]
r325: added IDL and test code for samr_ChangePasswordUser3().

Also added much better handling of random password generation in the
password change test code
(This used to be commit 67ae0b2a9851c1e77fdaa9f317a83bd54950618f)

14 years agor324: - don't reseed on every password generate
Andrew Tridgell [Thu, 22 Apr 2004 06:18:40 +0000 (06:18 +0000)]
r324:  - don't reseed on every password generate

 - check for overflow (very unlikely) in random buffer generation
(This used to be commit 548ec1efefa6f337a362cbadae74f177774e9e29)

14 years agor323: added rough password quality checking in generate_random_str(), so we generate...
Andrew Tridgell [Thu, 22 Apr 2004 06:17:50 +0000 (06:17 +0000)]
r323: added rough password quality checking in generate_random_str(), so we generate passwords
that are likely to be accepted by the win2003 quality checks
(This used to be commit 5954969f278e7f23190fe7301bfdc608f480eef6)

14 years agor322: use the -C option to configure for developers (makes a huge speed difference)
Andrew Tridgell [Thu, 22 Apr 2004 06:16:01 +0000 (06:16 +0000)]
r322: use the -C option to configure for developers (makes a huge speed difference)
(This used to be commit b8735ed55c5a4375b3b1861a2a45682227dffd4f)

14 years agor313: add the warning about fileaccess as user 'root'
Stefan Metzmacher [Wed, 21 Apr 2004 14:28:06 +0000 (14:28 +0000)]
r313: add the warning about fileaccess as user 'root'
to a README file and DEBUG(0,()) it on each tree connect

(This used to be commit d52eb75107f291635afcfbe5b79d863f54349793)

14 years agor312: let ntvfs posix backend return NT_STATUS_ACCESS_DENIED in the connect hook
Stefan Metzmacher [Wed, 21 Apr 2004 14:19:03 +0000 (14:19 +0000)]
r312: let ntvfs posix backend return NT_STATUS_ACCESS_DENIED in the connect hook
and print out an error message to the debug log which say:
use 'cifs' or 'simple' as ntvfs handler
this also warns about 'root' fileaccess in the 'simple' module

the 'default' ntvfs handler is now registered by the posix backend

(This used to be commit 84b3589daa60cfdd2c868d9468192b0a6e1eebae)

14 years agor311: add srvsvc and wkssvc rpc pipes to the default pipes
Stefan Metzmacher [Wed, 21 Apr 2004 14:13:55 +0000 (14:13 +0000)]
r311: add srvsvc and wkssvc rpc pipes to the default pipes

(This used to be commit f1b1bbc5505c112cd66e07da5faa9a65407e9c07)

14 years agor310: add missing ','
Stefan Metzmacher [Wed, 21 Apr 2004 14:13:03 +0000 (14:13 +0000)]
r310: add missing ','

(This used to be commit d0aa749667cf0d9e7c290982d2b4232c27ced706)

14 years agor307: added IDL and test code for samr_GetDomPwInfo(), samr_SetUserInfo2(),
Andrew Tridgell [Wed, 21 Apr 2004 06:23:29 +0000 (06:23 +0000)]
r307: added IDL and test code for samr_GetDomPwInfo(), samr_SetUserInfo2(),
samr_GetBootKeyInformation() and samr_Connect3()

also added some stub IDL for samr_SetBootKeyInformation() although I
don't yet have working test code. This one is tricky, as if you get it
wrong then the target system won't boot any more :)
(This used to be commit 118b6fc292ba3257511b1b83846582013fb59b23)

14 years agor306: added another define for a DCERPC fault code
Andrew Tridgell [Wed, 21 Apr 2004 06:21:38 +0000 (06:21 +0000)]
r306: added another define for a DCERPC fault code
(This used to be commit 3c8d580d2c2ae528c5725145d81761296b8be04d)

14 years agor305: - added IDL and test code for samr_RidToSid()
Andrew Tridgell [Wed, 21 Apr 2004 05:01:31 +0000 (05:01 +0000)]
r305: - added IDL and test code for samr_RidToSid()

- completed the IDL and test code for the various set user password
  mechanisms in samr. Three password mechanisms are now working, the
  UserInfo24 method, the OemChangePasswordUser2() method (which only
  sets the LM password) and the ChangePasswordUser2() method which sets
  both the LM and NT passwords.

- updated some crypto routines to support the password change tests
(This used to be commit 051efa2abf9d1fbbf783df411c02f2714027f813)

14 years agor295: more correct IDL for the netr_AcctLock structure (I hope)
Andrew Tridgell [Tue, 20 Apr 2004 08:05:59 +0000 (08:05 +0000)]
r295: more correct IDL for the netr_AcctLock structure (I hope)
(This used to be commit b10127800a3101769241abf42ed76cbddf71a5fa)

14 years agor287: patch from Richard Renard to add AcctLockStr and the delete user and
Andrew Tridgell [Mon, 19 Apr 2004 20:49:42 +0000 (20:49 +0000)]
r287: patch from Richard Renard to add AcctLockStr and the delete user and
delete group levels of Deltas

also reworked the Deltas IDL to use an enum to make it a little clearer
(This used to be commit cabf93f8c8f5ad0f6f348e0f7e206b952690995c)

14 years agor286: use talloc_array_p() instead of talloc()
Stefan Metzmacher [Mon, 19 Apr 2004 18:21:53 +0000 (18:21 +0000)]
r286: use talloc_array_p() instead of talloc()

add some more WERR_NOT_SUPPORTED stubs to pass our torture tests
(wkssvc and srvsvc)

(This used to be commit f8605b39ab58f8db22358122eafccc8a1cc60004)

14 years agor278: build and install LDB_PROGS and REG_PROGS by default
Stefan Metzmacher [Mon, 19 Apr 2004 11:23:51 +0000 (11:23 +0000)]
r278: build and install LDB_PROGS and REG_PROGS by default

(This used to be commit 0051e21a4dd3ab5773ebdddbc932da70443c158d)

14 years agor277: fix the initialisation of subsystems for process model 'thread' and 'standard'
Stefan Metzmacher [Mon, 19 Apr 2004 11:21:50 +0000 (11:21 +0000)]
r277: fix the initialisation of subsystems for process model 'thread' and 'standard'

(This used to be commit 3d01cf95ad8b065cd274bc0e544919c7c9336721)

14 years agor275: added IDL and test code for samr_QueryDisplayInfo3(),
Andrew Tridgell [Mon, 19 Apr 2004 05:48:03 +0000 (05:48 +0000)]
r275: added IDL and test code for samr_QueryDisplayInfo3(),
samr_RemoveMultipleMembersFromAlias(), samr_OemChangePasswordUser2(),
and samr_ChangePasswordUser2()

The password change functions don't actually work yet (but should
soon). At this stage I have just completed the IDL for them. Next step
is to get the hash verifiers right and the torture test should be able
to do password changes.
(This used to be commit 849d0d314a2add80f2b2be6b503fea05973f998e)

14 years agor274: Be somewhat more POSIX compatible
Jelmer Vernooij [Sun, 18 Apr 2004 21:39:03 +0000 (21:39 +0000)]
r274: Be somewhat more POSIX compatible
(This used to be commit c98a234d02d6190cf99ab1c9ff7b029f929e292a)

14 years agor268: added IDL and test code for samr_QueryDomainInfo2(),
Andrew Tridgell [Sun, 18 Apr 2004 04:32:04 +0000 (04:32 +0000)]
r268: added IDL and test code for samr_QueryDomainInfo2(),
samr_QueryUserInfo2(), samr_QueryDisplayInfo2() and
(This used to be commit fddda52500d482bde79994c14a0a822a1d305ac3)

14 years agor267: added IDL and test code for samr_ChangePasswordUser(),
Andrew Tridgell [Sun, 18 Apr 2004 04:06:15 +0000 (04:06 +0000)]
r267: added IDL and test code for samr_ChangePasswordUser(),
samr_GetDisplayEnumerationIndex(), samr_TestPrivateFunctionsDomain(),
samr_TestPrivateFunctionsUser() and samr_RemoveMemberFromForeignDomain()
(This used to be commit 53c66708874f9f8e7868530cd2a780160e2eca01)

14 years agor266: modified autoidl to deal with policy handles (this helped me work out
Andrew Tridgell [Sun, 18 Apr 2004 03:57:51 +0000 (03:57 +0000)]
r266: modified autoidl to deal with policy handles (this helped me work out
a few more samr functions). Still a hack tho.
(This used to be commit 15199a384f63ff206c8bcd483d615a3f91e9877d)

14 years agor265: fixed a bug in the string to sid conversion code
Andrew Tridgell [Sun, 18 Apr 2004 03:57:09 +0000 (03:57 +0000)]
r265: fixed a bug in the string to sid conversion code
(This used to be commit 117aa5cab7783ea741d4840ea5ced00cf34868a3)

14 years agor259: added samr_DeleteGroupMember() IDL and test code
Andrew Tridgell [Sat, 17 Apr 2004 06:49:26 +0000 (06:49 +0000)]
r259: added samr_DeleteGroupMember() IDL and test code
(This used to be commit 747351140b839879abe1a79a005d81ca4b35a658)

14 years agor258: added samr_AddGroupMember() IDL and test code
Andrew Tridgell [Sat, 17 Apr 2004 06:40:50 +0000 (06:40 +0000)]
r258: added samr_AddGroupMember() IDL and test code
(This used to be commit 0b8203306d9eb61aaec9549d56c40831fcd091c3)

14 years agor257: added samr_SetGroupInfo() IDL and test code
Andrew Tridgell [Sat, 17 Apr 2004 06:19:51 +0000 (06:19 +0000)]
r257: added samr_SetGroupInfo() IDL and test code
(This used to be commit fe1fc81ba76515b79069881d2d62f60201314d04)

14 years agor256: added samr_CreateDomainGroup() and samr_DeleteDomainGroup() IDL and test code
Andrew Tridgell [Sat, 17 Apr 2004 05:54:55 +0000 (05:54 +0000)]
r256: added samr_CreateDomainGroup() and samr_DeleteDomainGroup() IDL and test code
(This used to be commit 46185a71ba0e06544cacf117654e4dbf39385378)

14 years agor255: added samr_SetDomainInfo IDL and test code
Andrew Tridgell [Sat, 17 Apr 2004 05:25:49 +0000 (05:25 +0000)]
r255: added samr_SetDomainInfo IDL and test code
(This used to be commit 9f12fb39dbac886582d0ccce418491522c042fe6)

14 years agor232: Test whether querydispinfo and enumdomgroups return the same set of
Volker Lendecke [Thu, 15 Apr 2004 13:17:36 +0000 (13:17 +0000)]
r232: Test whether querydispinfo and enumdomgroups return the same set of
group names.

(This used to be commit 481cec94c47ffda341e00d628cf34c2c7b5de2fa)

14 years agor218: added a comment regarding the %c strftime() warning
Andrew Tridgell [Wed, 14 Apr 2004 16:02:30 +0000 (16:02 +0000)]
r218: added a comment regarding the %c strftime() warning
(This used to be commit 03c5dd88558bdd9ca714e6842ea65fa3b667657e)

14 years agor212: fix the svk stuff
Stefan Metzmacher [Wed, 14 Apr 2004 13:45:51 +0000 (13:45 +0000)]
r212: fix the svk stuff

(This used to be commit 995f54b208eed93930e177ff3f3da44ba4d53bed)

14 years agor211: svk has different revision numbers,
Stefan Metzmacher [Wed, 14 Apr 2004 13:00:22 +0000 (13:00 +0000)]
r211: svk has different revision numbers,
so use "3.9.0-SVK-build-276-metze@dragon"
as version when the working copy is checked out with svk

(This used to be commit a99e31d10fefa6f0bc12444cfc97e5398e80e518)

14 years agor210: More work on DCERPC client functions:
Tim Potter [Wed, 14 Apr 2004 11:46:20 +0000 (11:46 +0000)]
r210: More work on DCERPC client functions:

  - implement lsa_LookupNames, lsa_LookupSids and lsa_Close

  - add stubs for remaining functions from idl

  - fix lsa_OpenPolicy and lsa_OpenPolicy2 to use a temporary
    talloc context for the rpc call
(This used to be commit f8c41bd5216be4a4e657ee5081df60aab5a5d02c)

14 years agor206: - we know use SVN not CVS:-)
Stefan Metzmacher [Wed, 14 Apr 2004 08:37:07 +0000 (08:37 +0000)]
r206: - we know use SVN not CVS:-)
- we should cleanup the cache before and after autoconf

(This used to be commit 114f5198a7e73af5c62fe83145f836588ed365fe)

14 years agor205: update to the new version schema
Stefan Metzmacher [Wed, 14 Apr 2004 07:59:07 +0000 (07:59 +0000)]
r205: update to the new version schema

in a svn or svk working copy (checked out tree)
we now have "3.9.0-SVN-build-205" versions
for the SAMBA_4_0 branch

when I put out the 3.9.0 release
it will change to 3.9.1-SVN-build-XXX

I will merge this to SAMBA_3_0 and trunk soon

(This used to be commit a7f552f96bfc1b549e16a09e9bc8c8c57c02eb3e)

14 years agor204: Turns out that the string in the SEARCH unix_info level is that
Jeremy Allison [Wed, 14 Apr 2004 01:09:41 +0000 (01:09 +0000)]
r204: Turns out that the string in the SEARCH unix_info level is that
rare thing, a non-length string (ie. not a WIRE_STRING) but a null
terminated char string. There wasn't a good interface to pull that
out of a blob (all the string interfaces assumed WIRE_STRINGS). Added
a new one, only used for this call. Sucks, I know - but the alternatives
suck more. Added tests for some of the unix info returned.
(This used to be commit 4d0ed04c54b105789ffd32334c3b0e544f02418c)

14 years agor203: Added size and alloc size tests to UNIX info level.
Jeremy Allison [Tue, 13 Apr 2004 23:59:13 +0000 (23:59 +0000)]
r203: Added size and alloc size tests to UNIX info level.
(This used to be commit 16455c5b34fd09ab16a1ea841f710ce65bc492c8)

14 years agor202: Fix aclocal.m4 to only use $BLDSHARED to select whether to build static or...
Paul Green [Tue, 13 Apr 2004 21:35:43 +0000 (21:35 +0000)]
r202: Fix aclocal.m4 to only use $BLDSHARED to select whether to build static or shared libraries.
(This used to be commit a4ce81cb0680af431ef855f15693c0377cf284e0)

14 years agor200: fix compile errors
Herb Lewis [Tue, 13 Apr 2004 17:34:37 +0000 (17:34 +0000)]
r200: fix compile errors
(This used to be commit c64132ddc6396a599a2e13b893e8abf1f731478f)

14 years agor199: More registry rpc updates
Jelmer Vernooij [Tue, 13 Apr 2004 15:56:37 +0000 (15:56 +0000)]
r199: More registry rpc updates
(This used to be commit 02ddf78e5563b15cb45ae4bc6234469be0dc0210)

14 years agor194: fixed compile with ldap
Andrew Tridgell [Tue, 13 Apr 2004 13:39:07 +0000 (13:39 +0000)]
r194: fixed compile with ldap
(This used to be commit 3b4b528dc65bcb3b0de674e1d90c767244c94402)

14 years agor190: More RPC updates
Jelmer Vernooij [Mon, 12 Apr 2004 21:59:41 +0000 (21:59 +0000)]
r190: More RPC updates
(This used to be commit 0a67057e9626c1539f964e978537e24544784263)

14 years agor189: Added UNIX search into tests - added client library parse code.
Jeremy Allison [Mon, 12 Apr 2004 21:17:58 +0000 (21:17 +0000)]
r189: Added UNIX search into tests - added client library parse code.
(This used to be commit a25ae9addbb362abf67a0cbd6e62bf4cbe06d8b7)

14 years agor187: RPC registry backend fixes
Jelmer Vernooij [Mon, 12 Apr 2004 20:07:50 +0000 (20:07 +0000)]
r187: RPC registry backend fixes
(This used to be commit f832d6776cb10f5c7d7ed83e6f66e4d28a461916)

14 years agor184: Fix UNIX Search info level. This still needs to be added to the raw
Jeremy Allison [Mon, 12 Apr 2004 18:53:41 +0000 (18:53 +0000)]
r184: Fix UNIX Search info level. This still needs to be added to the raw
client library before this test can work.
(This used to be commit 7b2a2665438a1dbc05053a13f5f84bb56dacd073)

14 years agor183: More bugfixes
Jelmer Vernooij [Mon, 12 Apr 2004 18:46:48 +0000 (18:46 +0000)]
r183: More bugfixes
(This used to be commit 88911bbcca574adbf6ea4f0759a68f2961b05d6b)

14 years agor182: Fix a couple of segfaults
Jelmer Vernooij [Mon, 12 Apr 2004 18:02:54 +0000 (18:02 +0000)]
r182: Fix a couple of segfaults
(This used to be commit db5d7062e69b456a89b17525e5a0177f93c90c83)

14 years agor181: Parsing windows '95 registry files now works (including values)
Jelmer Vernooij [Mon, 12 Apr 2004 17:43:22 +0000 (17:43 +0000)]
r181: Parsing windows '95 registry files now works (including values)
(This used to be commit 4d6ce648567060b9922343971d7aafd545341439)

14 years agor174: Win95 registry files (like USER.DAT) can now be partially parsed
Jelmer Vernooij [Mon, 12 Apr 2004 11:02:38 +0000 (11:02 +0000)]
r174: Win95 registry files (like USER.DAT) can now be partially parsed
(This used to be commit dd31d3bcbfbb0ef7a96a1b86c1b4c54b650e9fd5)

14 years agor169: Fix gregedit
Jelmer Vernooij [Sun, 11 Apr 2004 23:34:23 +0000 (23:34 +0000)]
r169: Fix gregedit
(This used to be commit 32036375de58327a673a5a85cedb01e8ddfa503a)

14 years agor168: - Cleanups in rpc backend
Jelmer Vernooij [Sun, 11 Apr 2004 23:16:47 +0000 (23:16 +0000)]
r168: - Cleanups in rpc backend
- Small fixess in nt4 and dir backends
- Start on w95 file backend
(This used to be commit aa739e8d3c7108f6f2089af2d8d522feacc7f698)

14 years agor166: Fix enumerating values in nt4 backend
Jelmer Vernooij [Sun, 11 Apr 2004 16:37:06 +0000 (16:37 +0000)]
r166: Fix enumerating values in nt4 backend
(This used to be commit 1a7de762c60177b6e250f81cdeb3466fce148bff)

14 years agor165: Add support for viewing registry values in gregedit
Jelmer Vernooij [Sun, 11 Apr 2004 16:04:06 +0000 (16:04 +0000)]
r165: Add support for viewing registry values in gregedit
(This used to be commit 1d8a6d762aa4dab54bb58959cb1e7957a76e5b6e)

14 years agor164: Viewing remote registries with gregedit works now
Jelmer Vernooij [Sun, 11 Apr 2004 15:34:18 +0000 (15:34 +0000)]
r164: Viewing remote registries with gregedit works now
(This used to be commit 697560a117ba19bb44539d6d63cc9143127e29d1)

14 years agor163: - enable ldap in the sample makefile, and use /usr prefix
Andrew Tridgell [Sun, 11 Apr 2004 15:03:31 +0000 (15:03 +0000)]
r163:  - enable ldap in the sample makefile, and use /usr prefix

 - show number of adds/deletes/modifies after an edit

 - nicer error messages from ldbedit
(This used to be commit 077951f6bcb1d0eba2de76d0df4c186b7fa19a14)

14 years agor162: Minor bugfixes:
Jelmer Vernooij [Sun, 11 Apr 2004 14:24:47 +0000 (14:24 +0000)]
r162: Minor bugfixes:
 - Don't keep windows open after errors
 - Don't build ldb backend by default
(This used to be commit 1bb64782c6585c02b8792d23b97d3da60aac844c)

14 years agor159: nicer usage messages when no URL is given
Andrew Tridgell [Sun, 11 Apr 2004 01:27:33 +0000 (01:27 +0000)]
r159: nicer usage messages when no URL is given
(This used to be commit 8655f0b435e06af21d5d9fa210441fbf318673f0)

14 years agor158: cope with or without LDAP in samba build of ldb
Andrew Tridgell [Sun, 11 Apr 2004 01:26:53 +0000 (01:26 +0000)]
r158: cope with or without LDAP in samba build of ldb
(This used to be commit e776ce4f9e6fead235b3cec86d85eb95704f10ef)

14 years agor157: cope with or without LDAP in ldb sample Makefile
Andrew Tridgell [Sun, 11 Apr 2004 01:26:22 +0000 (01:26 +0000)]
r157: cope with or without LDAP in ldb sample Makefile
(This used to be commit 5004159bf93ccb62d056fa67c18f4a52cdbb2026)

14 years agor152: a quick airport commit ....
Andrew Tridgell [Sat, 10 Apr 2004 20:18:22 +0000 (20:18 +0000)]
r152: a quick airport commit ....

added ldbedit, a _really_ useful command

added ldbadd, ldbdel, ldbsearch and ldbmodify to build

solved lots of timezone issues, we now pass the torture tests with
client and server in different zones

fixed several build issues

I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that
(This used to be commit af34710d4da1841653624fe304b1c8d812c0fdd9)

14 years agor147: - Remove dublicate ldap tests (richard the current test is in libads/config...
Stefan Metzmacher [Sat, 10 Apr 2004 18:24:45 +0000 (18:24 +0000)]
r147: - Remove dublicate ldap tests (richard the current test is in libads/config.m4 :-)
- Move sendfile check to ntvfs/config.m4
- Move comparison_fn_t check to build/m4/rewrite.m4

Please do not new tests to configure.in directly,
please add them to the subsystems config.m4 file where they belong to or
to build/m4/rewrite.m4 if you don't know where to put it for now


I know samba4's build system is not completly rewritten.
I have a lot of updatest in my local tree, but it's not complete yet
when it's complete I'll write documentation for it:-)

(This used to be commit 31c23f14d60a4aa41e0500e369f25ed6dc7ddae7)

14 years agor142: Add detection of sendfile to configure.in so I can add support for sendfile
Richard Sharpe [Sat, 10 Apr 2004 06:47:25 +0000 (06:47 +0000)]
r142: Add detection of sendfile to configure.in so I can add support for sendfile
in the SMBread etc calls. This looks easy to do ...
(This used to be commit bd3cdbb0f50f0a3c7a24cdaf0d8921a962b88dbe)

14 years agor141: A number of changes to get things working on FreeBSD and reduce the breakage
Richard Sharpe [Sat, 10 Apr 2004 06:10:26 +0000 (06:10 +0000)]
r141: A number of changes to get things working on FreeBSD and reduce the breakage
caused by someone recently ...

1. Add configure check HAVE_COMPARISON_FN_T to see if this is defined. I
have not checked this on Linux yet, but will do so soon.

2. Add the definitions of malloc_p, realloc_p etc.

3. Check for LDAP and don't build stuff that depends on LDAP if we don't\
have it.

It currently builds on FreeBSD but there is one warning printed out at the end.
(This used to be commit 7b34fbe0f2ef175e5504e34e4f3cdf9a0563970f)

14 years agor138: fix typo
Stefan Metzmacher [Fri, 9 Apr 2004 18:16:52 +0000 (18:16 +0000)]
r138: fix typo

(This used to be commit 7e42465192e67563f19e6362e243b01406c5e025)

14 years agor137: Add notes about handles in dcesrv pipes
Jelmer Vernooij [Fri, 9 Apr 2004 17:09:00 +0000 (17:09 +0000)]
r137: Add notes about handles in dcesrv pipes
(This used to be commit 9bd7e9438e88545abe3a555624be4717db47e0c0)

14 years agor136: I forgot to add config.m4 for ldb in my ldb commit
Andrew Tridgell [Fri, 9 Apr 2004 08:08:19 +0000 (08:08 +0000)]
r136: I forgot to add config.m4 for ldb in my ldb commit
(This used to be commit 299009fde93a64841738c30422f342004671ce2d)

14 years agor135: some test ldif for an idea I am playing with to replace smb.conf with a ldb
Andrew Tridgell [Fri, 9 Apr 2004 08:07:43 +0000 (08:07 +0000)]
r135: some test ldif for an idea I am playing with to replace smb.conf with a ldb

Don't panic - I'll explain more when I get a chance
(This used to be commit 090afa94a73d7fe13604785fa97ffb71c2be2641)

14 years agor134: - added ldb to the build of smbd
Andrew Tridgell [Fri, 9 Apr 2004 08:06:39 +0000 (08:06 +0000)]
r134:  - added ldb to the build of smbd

 - fixed build of the ldb registry backend
(This used to be commit 0b66590330603efaa816fd2348c05a994a1580ef)

14 years agor133: don't try to do a database deltas with a -1 seq num
Andrew Tridgell [Fri, 9 Apr 2004 07:51:03 +0000 (07:51 +0000)]
r133: don't try to do a database deltas with a -1 seq num
(This used to be commit dcb172d207ca0b56e62165633b2f7f7fcc188f7c)

14 years agor132: fill in the correct default case for the WKSSVC GetInfo call
Andrew Tridgell [Fri, 9 Apr 2004 07:29:34 +0000 (07:29 +0000)]
r132: fill in the correct default case for the WKSSVC GetInfo call
(This used to be commit 117a82ada32919a91f3bba9c00236fc0112b230c)

14 years agor131: mark some scripts executable
Andrew Tridgell [Fri, 9 Apr 2004 07:28:27 +0000 (07:28 +0000)]
r131: mark some scripts executable
(This used to be commit fe1a5a8e2564611450bbef0f500ba6d554527fed)

14 years agor130: added DCERPC_COMMON_OBJS to Makefile.in
Andrew Tridgell [Fri, 9 Apr 2004 07:27:34 +0000 (07:27 +0000)]
r130: added DCERPC_COMMON_OBJS to Makefile.in
(This used to be commit ab8904a596c6a81806e5af1c56a43e272c8a7855)

14 years agor129: Convert other utilities to new API
Jelmer Vernooij [Fri, 9 Apr 2004 00:02:20 +0000 (00:02 +0000)]
r129: Convert other utilities to new API
(This used to be commit 95c9852b1607335eb24025081a251139449fb695)

14 years agor128: Another registry update. Changes:
Jelmer Vernooij [Thu, 8 Apr 2004 22:39:47 +0000 (22:39 +0000)]
r128: Another registry update. Changes:

- Start with the LDB backend
- The API is now more windows-like, which should make it easier to use
  in rpc_server
- Added a GTK+ front-end
- Added some more IDL

More updates will follow, especially in the RPC field..
(This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)

14 years agor127: NetWkstaGetInfo level 101
Stefan Metzmacher [Thu, 8 Apr 2004 19:59:24 +0000 (19:59 +0000)]
r127: NetWkstaGetInfo level 101

and return WERR_ACCESS_DENIED for level 102, 502 so does my winXP box
for a non-admin user

(This used to be commit 975bf13f17e0bd95ec37af3534e5209c1de99252)

14 years agor126: - add first srvsvc and wkssvc server side stuff
Stefan Metzmacher [Thu, 8 Apr 2004 19:06:37 +0000 (19:06 +0000)]
r126: - add first srvsvc and wkssvc server side stuff
- we know can browse the server via the Windows Explorer

- some little fixes to the winreg server pipe

(This used to be commit 6f213a3494d3b5ab629944394b20a84075a04438)