kai/samba.git
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
samr_GetDisplayEnumerationIndex2()
(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.

Volker
(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

metze
(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

metze
(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

metze
(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

metze
(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.
Jeremy.
(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.
Jeremy.
(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.
Jeremy.
(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.
Jeremy.
(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
fix.
(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

Thanks

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:-)

metze
(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

metze
(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

metze
(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

metze
(This used to be commit 6f213a3494d3b5ab629944394b20a84075a04438)

14 years agor125: use AC_CONFIG_FILES() instead of AC_OUTPUT()
Stefan Metzmacher [Thu, 8 Apr 2004 17:42:03 +0000 (17:42 +0000)]
r125: use AC_CONFIG_FILES() instead of AC_OUTPUT()
we should have only one AC_OUTPUT() at the end of configure.in

metze
(This used to be commit 60aa14d463fcd7aa12529f1fad0db64f17e37aaf)

14 years agor114: - remember to initialise open_files
Andrew Tridgell [Wed, 7 Apr 2004 11:46:00 +0000 (11:46 +0000)]
r114: - remember to initialise open_files

- use talloc_p when possible
(This used to be commit db7f7ac165ded15f0b8157eb899ea6828a033da9)

14 years agor113: added support for "read only = yes" in simple backend
Andrew Tridgell [Wed, 7 Apr 2004 11:30:59 +0000 (11:30 +0000)]
r113: added support for "read only = yes" in simple backend
(This used to be commit d268e455f15ec0d2b9e9e7abd8c7135ff4c19fcd)

14 years agor112: the simple backend now registers as both "simple" and "default"
Andrew Tridgell [Wed, 7 Apr 2004 11:17:58 +0000 (11:17 +0000)]
r112: the simple backend now registers as both "simple" and "default"
so older smb.conf settings will work
(This used to be commit 6f6285ce603b55b1c68cf54621e22aa777b6c5c5)

14 years agor109: a test commit 2
Andrew Tridgell [Wed, 7 Apr 2004 09:56:53 +0000 (09:56 +0000)]
r109: a test commit 2
(This used to be commit 7bc10b350f3245d05967de581fec78152c686e71)

14 years agor108: a test commit
Andrew Tridgell [Wed, 7 Apr 2004 09:50:40 +0000 (09:50 +0000)]
r108: a test commit
(This used to be commit a374d6012d62497ad42b3d1957df1093f4b088b4)

14 years agor107: a test commit
Andrew Tridgell [Wed, 7 Apr 2004 09:46:54 +0000 (09:46 +0000)]
r107: a test commit
(This used to be commit c6546442a4ff4a65e7e88a1aa79698a32bee8fcc)

14 years agor106: add an idea about SMB UNC names
Andrew Tridgell [Wed, 7 Apr 2004 09:45:08 +0000 (09:45 +0000)]
r106: add an idea about SMB UNC names
(This used to be commit 1497f8c113ac6294968ec681aa536180e5d9eb6b)

14 years agor101: added lsa_SetSecret() and lsa_QuerySecret()
Andrew Tridgell [Wed, 7 Apr 2004 07:20:53 +0000 (07:20 +0000)]
r101: added lsa_SetSecret() and lsa_QuerySecret()

this required some crypto infrastructure and some sid utilities
(This used to be commit 37d0efa9c2af8532536bea88412f0dd3ed39ecfc)

14 years agor100: remember the user session key during session setup so it can be used in various...
Andrew Tridgell [Wed, 7 Apr 2004 07:18:37 +0000 (07:18 +0000)]
r100: remember the user session key during session setup so it can be used in various crypto
routines
(This used to be commit f6cf9020c8899e784385ea0e14fa465685441ee6)

14 years agor99: make sure we reap child processes in the standard process model
Andrew Tridgell [Wed, 7 Apr 2004 07:17:11 +0000 (07:17 +0000)]
r99: make sure we reap child processes in the standard process model
(This used to be commit ad8b3cc1e3bd2f86397038010d77cd875b1c94da)

14 years agor67: added a destroy hook in the policy handle -> wire handle code to allow backends
Andrew Tridgell [Tue, 6 Apr 2004 08:07:07 +0000 (08:07 +0000)]
r67: added a destroy hook in the policy handle -> wire handle code to allow backends
to cleanup handle data
(This used to be commit af0c21c1e175ca2ebb687dc6dff83da919280271)

14 years agor66: fixed a segv when printing an error from a session setup failure. This
Andrew Tridgell [Tue, 6 Apr 2004 08:05:04 +0000 (08:05 +0000)]
r66: fixed a segv when printing an error from a session setup failure. This
was caused by the cli to cli->tree conversion a while ago
(This used to be commit f88f1d33618562f8b8273ec45a79b819c9e48686)

14 years agor65: added support for file streams in the simple NTVFS backend
Andrew Tridgell [Tue, 6 Apr 2004 08:02:55 +0000 (08:02 +0000)]
r65: added support for file streams in the simple NTVFS backend
(This used to be commit 9a9cc44a05510a69ad902db4d01dc12b6ac4f8ba)

14 years agor62: Fix the build
Jelmer Vernooij [Mon, 5 Apr 2004 22:34:24 +0000 (22:34 +0000)]
r62: Fix the build
(This used to be commit 1396db85372af1824592ef66f963603e3f35803c)

14 years agor61: - Implement first call in the winreg rpc server
Jelmer Vernooij [Mon, 5 Apr 2004 20:44:33 +0000 (20:44 +0000)]
r61: - Implement first call in the winreg rpc server
- Add some initial implementation of the ldb backend
- More checks in the winreg torture test
(This used to be commit ae2b63b6f1821bc4f693cb8e2a5f78718c483c24)

14 years agor55: if you try to use a custom bind or unbind hook in
Stefan Metzmacher [Mon, 5 Apr 2004 16:06:33 +0000 (16:06 +0000)]
r55: if you try to use a custom bind or unbind hook in
a dcesrv module and also use the autogenerated boilerplate
you can just use:

#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_BIND <interface_name>_bind
#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_UNBIND <interface_name>_unbind

the prototype for the functions are the same as in
struct dcesrv_interface {
...
/* this function is called when the client binds to this interface  */
NTSTATUS (*bind)(struct dcesrv_call_state *, const struct dcesrv_interface *);

/* this function is called when the client disconnects the endpoint */
void (*unbind)(struct dcesrv_connection *, const struct dcesrv_interface *);
...
};

e.g.

#define DCESRV_INTERFACE_WINREG_BIND winreg_bind
#define DCESRV_INTERFACE_WINREG_UNBIND winreg_unbind

metze
(This used to be commit ae97f5f50b0d00889f29e1903513cee88891545d)

14 years agor46: Add CreateKey function (still working on it)
Jelmer Vernooij [Mon, 5 Apr 2004 13:50:45 +0000 (13:50 +0000)]
r46: Add CreateKey function (still working on it)
(This used to be commit 9f13b7c60cc7e6edd095eee96625ee02cd0dd73b)

14 years agor42: importing .cvsignore files
Gerald Carter [Mon, 5 Apr 2004 12:26:23 +0000 (12:26 +0000)]
r42: importing .cvsignore files
(This used to be commit 11717ae912449bde596ff6cf7d8fddcc86548f15)

14 years agor36: - Start using memory pools in the registry library
Jelmer Vernooij [Mon, 5 Apr 2004 10:28:59 +0000 (10:28 +0000)]
r36: - Start using memory pools in the registry library
- Remove obsolete file
(This used to be commit d85b8fb3b74b236fb03cf0931a0f585eec74536a)

14 years agor35: a test commit - 2
Andrew Tridgell [Mon, 5 Apr 2004 10:16:22 +0000 (10:16 +0000)]
r35: a test commit - 2
(This used to be commit b87af5a37b40687fbfc4b8d232e73b4459e58143)

14 years agor34: a test commit
Andrew Tridgell [Mon, 5 Apr 2004 09:52:58 +0000 (09:52 +0000)]
r34: a test commit
(This used to be commit 87429a0c99456118e6de841aa4f8948f136aa37f)

14 years agor33: Fix torture test after IDL changes.
Jelmer Vernooij [Mon, 5 Apr 2004 09:52:09 +0000 (09:52 +0000)]
r33: Fix torture test after IDL changes.
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)

14 years agor31: More registry updates. regdiff/regpatch work now.
Jelmer Vernooij [Mon, 5 Apr 2004 09:17:11 +0000 (09:17 +0000)]
r31: More registry updates. regdiff/regpatch work now.
(This used to be commit 98224f5436695eb265f5d997cf4bc9cf735a4fb9)

14 years agor23: get rid of def_finfo
Andrew Tridgell [Mon, 5 Apr 2004 08:44:08 +0000 (08:44 +0000)]
r23: get rid of def_finfo
(This used to be commit 25b7ec390aec3e324c4c7ad8edbc90fc8896b230)

14 years agor20: Add the registry library. Still needs a lot of work,
Jelmer Vernooij [Sun, 4 Apr 2004 16:24:08 +0000 (16:24 +0000)]
r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)

14 years ago[GLUE] Sync tree with SVN r17.
Gerald (Jerry) Carter [Wed, 10 Oct 2007 17:39:20 +0000 (12:39 -0500)]
[GLUE] Sync tree with SVN r17.
(This used to be commit 6e50109b664ff5fcc3d27f676d101c2b36574a63)

18 years agoadded IDL and test for lsa_OpenSecret()
Andrew Tridgell [Sat, 3 Apr 2004 17:21:26 +0000 (17:21 +0000)]
added IDL and test for lsa_OpenSecret()
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)

18 years agoadded IDL and test suite for lsa_CreateSecret()
Andrew Tridgell [Sat, 3 Apr 2004 17:15:32 +0000 (17:15 +0000)]
added IDL and test suite for lsa_CreateSecret()
(This used to be commit 4de08b64ddb3851e90a8dadd7d0d0991e933abf5)

18 years agoadded idl and test suite for lsa_CreateTrustedDomain()
Andrew Tridgell [Sat, 3 Apr 2004 16:44:39 +0000 (16:44 +0000)]
added idl and test suite for lsa_CreateTrustedDomain()
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)

18 years agoadded the rest of the ldb_modify() code, which required a fairly large
Andrew Tridgell [Sat, 3 Apr 2004 12:29:21 +0000 (12:29 +0000)]
added the rest of the ldb_modify() code, which required a fairly large
change in the ldb API. The API is now much closer to LDAP.
(This used to be commit e9e85c464411c561c5073d262a2e3533fec175ca)

18 years agoThis is the start of a C API to the DCERPC client routines. Currently
Tim Potter [Sat, 3 Apr 2004 01:25:40 +0000 (01:25 +0000)]
This is the start of a C API to the DCERPC client routines.  Currently
the only way to access this is to cut&paste from torture/rpc/*.c
(This used to be commit 3355fec421f82034f433a4b59aa5ad589b070577)

18 years agoAdded one more test for "dirname\."
Jeremy Allison [Fri, 2 Apr 2004 18:59:38 +0000 (18:59 +0000)]
Added one more test for "dirname\."
Jeremy.
(This used to be commit a7ca9620d50aa33e7125d280bc096f1a42438141)

18 years agoallow "struct TDB_DATA" as well as just "TDB_DATA"
Andrew Tridgell [Thu, 1 Apr 2004 07:39:04 +0000 (07:39 +0000)]
allow "struct TDB_DATA" as well as just "TDB_DATA"

in general I prefer the struct form for Samba4 structures. I think its
clearer.
(This used to be commit 63b26557744ce4cbf5c9419f752fbd63ed8bfec6)

18 years agoadded lsaCreateAccount() and a test in the RPC-LSA test suite
Andrew Tridgell [Wed, 31 Mar 2004 12:52:21 +0000 (12:52 +0000)]
added lsaCreateAccount() and a test in the RPC-LSA test suite
also tested lsa_Delete() to delete the newly created account
(This used to be commit c4d5d0e9eba6b564e2ce6885d66d644b6612d721)

18 years agobuilding with Makefile.ldb now works
Andrew Tridgell [Wed, 31 Mar 2004 06:51:44 +0000 (06:51 +0000)]
building with Makefile.ldb now works
(This used to be commit 12538cd2c650bacabd37f4d2ecd3ff3ffce87a00)

18 years agomake a more recent snapshot of ldb available to interested
Andrew Tridgell [Wed, 31 Mar 2004 06:45:39 +0000 (06:45 +0000)]
make a more recent snapshot of ldb available to interested
people. Note that I decided to make it LGPL.

ldb is not finished yet, but enough of it is there for people to get
an idea of what it does, and quite a few simple tests work
(This used to be commit dc6f41f9e777d37f883303ddef0d96840d80f78e)

18 years agomerge some recent tdb changed from samba3
Andrew Tridgell [Sun, 28 Mar 2004 02:18:38 +0000 (02:18 +0000)]
merge some recent tdb changed from samba3
(This used to be commit 0e845ecd49841c620f7f9c5ba6c5bfbb0c572032)

18 years agoswitch from SIG_ATOMIC_T to sig_atomic_t
Andrew Tridgell [Sun, 28 Mar 2004 01:57:28 +0000 (01:57 +0000)]
switch from SIG_ATOMIC_T to sig_atomic_t
(This used to be commit b881b72cb9cb5a4a8ad27b621e8cbe9dcfa7ba7f)

18 years agoafter discussion with the copyright holders tdb is now under the LGPL
Andrew Tridgell [Sun, 28 Mar 2004 01:43:06 +0000 (01:43 +0000)]
after discussion with the copyright holders tdb is now under the LGPL
(This used to be commit 51409e2a417fb0673f59e5c823d7fe54b21e6f76)

18 years agoadded a TDB_MODIFY flag to tdb_store() that says "if the record
Andrew Tridgell [Sun, 28 Mar 2004 01:38:42 +0000 (01:38 +0000)]
added a TDB_MODIFY flag to tdb_store() that says "if the record
doesn't exist then fail the store"
(This used to be commit 6aec1457f8772cf81b88a0a00cc2ad7c16cd0d87)

18 years agoadded a private pointer to tdb_traverse() to allow callers to supply
Andrew Tridgell [Sun, 28 Mar 2004 01:33:32 +0000 (01:33 +0000)]
added a private pointer to tdb_traverse() to allow callers to supply
data to their traverse function
(This used to be commit 76bf816485bf869c293791659da5dff2425d2d32)