Gerald Carter [Mon, 25 Sep 2006 14:07:33 +0000 (14:07 +0000)]
r18896: * Fix out of tree builds after libreplace merge
* Remove unused -D define in Makefile
Stefan Metzmacher [Mon, 25 Sep 2006 12:59:31 +0000 (12:59 +0000)]
r18895: AIX need to call pidl with --uint-enums as the compiler doesn't
like negative values in the generated code.
I'm not sure how we can solve that in samba3 as the generated code is commited
Maybe we need to alsways pass --uint-enums
metze
Volker Lendecke [Mon, 25 Sep 2006 05:35:51 +0000 (05:35 +0000)]
r18893: Attempt to fix the Solaris build
Volker Lendecke [Mon, 25 Sep 2006 05:11:16 +0000 (05:11 +0000)]
r18892: Copy over the Samba4 valgrind suppressions
Volker Lendecke [Mon, 25 Sep 2006 05:06:42 +0000 (05:06 +0000)]
r18891: Fix "double const" warning from host opi
Volker Lendecke [Mon, 25 Sep 2006 04:55:07 +0000 (04:55 +0000)]
r18889: Add some const. What's the policy here? Should I do this in Samba4 as well?
Volker
Volker Lendecke [Mon, 25 Sep 2006 04:52:30 +0000 (04:52 +0000)]
r18888: Fix a 64-bit warning
Volker Lendecke [Mon, 25 Sep 2006 04:17:38 +0000 (04:17 +0000)]
r18886: First, RPC_SRVSVC is called RPC-SRVSVC and second, we're so far off on that
one that there's no point yet to run this in the build farm.
Volker
Günther Deschner [Sun, 24 Sep 2006 23:44:00 +0000 (23:44 +0000)]
r18879: Fix crash for "net ads gpo list".
Guenther
Volker Lendecke [Sun, 24 Sep 2006 22:13:43 +0000 (22:13 +0000)]
r18878: With the recent checkins for me Samba3 compiles again with the NTSTATUS/WERROR
checks enabled. I'll look at the build farm in a couple of hours and fix it if
not.
Volker
Volker Lendecke [Sun, 24 Sep 2006 22:11:36 +0000 (22:11 +0000)]
r18877: More WERROR/NTSTATUS bugs
Volker Lendecke [Sun, 24 Sep 2006 22:11:14 +0000 (22:11 +0000)]
r18876: Fix smbclient -L
Volker Lendecke [Sun, 24 Sep 2006 22:10:48 +0000 (22:10 +0000)]
r18875: The comment field can be empty
Volker Lendecke [Sun, 24 Sep 2006 22:10:20 +0000 (22:10 +0000)]
r18874: Fix some NTSTATUS/WERROR mixups
Günther Deschner [Sun, 24 Sep 2006 07:25:08 +0000 (07:25 +0000)]
r18871: Fix copy/paste mixup.
Guenther
Andrew Tridgell [Sun, 24 Sep 2006 07:11:34 +0000 (07:11 +0000)]
r18870: - enable the ldb ldap backend properly based on configure tests for
ldap
- use ldb_global_init() instead of the backend specific
ldb_tdb_init().
Andrew Tridgell [Sun, 24 Sep 2006 03:15:58 +0000 (03:15 +0000)]
r18869: two build fixes for systems without ldap
the first is to not enable the ldap ldb backend just yet. This will
need configure tests to conditionally include. We should be able to
use the m4 files from lib/ldb/
The 2nd is to fix libads/gpo.o not to publicly prototype a function
that needs ldap.h
Andrew Tridgell [Sun, 24 Sep 2006 02:58:58 +0000 (02:58 +0000)]
r18868: just in case there is a disaster (with our code? never ...) use a
rename to group_mapping.tdb.upgraded rather than an unlink when
upgrading. So if we absolutely have to go back to the tdb, we can
change mapping_ldb.o to mapping_tdb.o in Makefile.in and recover
peoples group mappings.
We could go one step futher and make the backend configurable. Any
opinions on that?
Andrew Tridgell [Sun, 24 Sep 2006 02:52:25 +0000 (02:52 +0000)]
r18867: change the group mapping code to use ldb instead of tdb
See the discussion of this on the samba-technical list
Andrew Tridgell [Sun, 24 Sep 2006 02:49:04 +0000 (02:49 +0000)]
r18866: Jeremy and Volker have given the go-ahead on the group mapping ldb
code. Yay!
This first commit copies lib/ldb/ from Samba4. A huge congratulations
should go to Simo on this - he has put an enormous amount of work into
ldb, and it's great to see it go into the Samba3 tree.
Andrew Tridgell [Sun, 24 Sep 2006 02:32:34 +0000 (02:32 +0000)]
r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
still doesn't compile with immediate structures and the
NTSTATUS/WERROR separation, as there are still several places where
the two error types are mixed up. I haven't fixed those as they
require decisions about the rpcclient code that I really don't want to
get into (the error handling there is a mess)
So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is
not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
Andrew Tridgell [Sun, 24 Sep 2006 02:29:12 +0000 (02:29 +0000)]
r18864: merge lib/replace changes from samba4
Andrew Tridgell [Sun, 24 Sep 2006 02:28:28 +0000 (02:28 +0000)]
r18863: the test for immediate structures has moved to lib/replace/
Andrew Tridgell [Sat, 23 Sep 2006 21:41:41 +0000 (21:41 +0000)]
r18858: arrgh! - since HAVE_IMMEDIATE_STRUCTURES were last enabled the code
can no longer handle it (at least with gcc 4.1.2). Disable it until
investigated and fixed properly.
Volker Lendecke [Sat, 23 Sep 2006 21:35:25 +0000 (21:35 +0000)]
r18857: Re-enable the CC checks from libreplace after Tridge's fix. Thanks for that!
Volker
Andrew Tridgell [Sat, 23 Sep 2006 21:29:51 +0000 (21:29 +0000)]
r18856: fixed HAVE_IMMEDIATE_STRUCTURES and thus checking of NTSTATUS/BOOL
mixups
Volker Lendecke [Sat, 23 Sep 2006 21:27:48 +0000 (21:27 +0000)]
r18855: Tell the diff between WERROR and NTSTATUS
Volker
Volker Lendecke [Sat, 23 Sep 2006 21:23:48 +0000 (21:23 +0000)]
r18854: Disable the AC_LIBREPLACE_CC_CHECKS, this breaks the HAVE_IMMEDIATE_STRUCTURES
test with gcc 4.1.0. As the build farm is not in the best state right now,
this should not matter.
Stefan, is there any chance we get the IMMEDIATE_STRUCTURES back and have
libreplace at the same time?
Volker
Günther Deschner [Sat, 23 Sep 2006 21:06:33 +0000 (21:06 +0000)]
r18853: Fix remaining warnings. Volker, should be fine now.
Guenther
Günther Deschner [Sat, 23 Sep 2006 20:53:45 +0000 (20:53 +0000)]
r18852: Fix compiler warning (thanks Volker).
Guenther
Jeremy Allison [Sat, 23 Sep 2006 18:24:03 +0000 (18:24 +0000)]
r18846: Fix the same bug Volker noticed when marshalling/unmarshalling
SEC_ACE. "type" is also an enum that may be any size. Treat as
a uint8.
Jeremy.
Volker Lendecke [Sat, 23 Sep 2006 17:59:52 +0000 (17:59 +0000)]
r18845: Fix a type-punned warning that turned out to be a real bug: The secdesc
revision is now an enum that might be represented as anything, in particular
as an int. It's definitely not a uint16 :-)
Volker
Günther Deschner [Sat, 23 Sep 2006 06:42:28 +0000 (06:42 +0000)]
r18842: Protect against "winbind cache time = 0" on two other occasions.
Guenther
Günther Deschner [Sat, 23 Sep 2006 06:36:22 +0000 (06:36 +0000)]
r18841: Protect against potential event loop when someone is using "winbind
cache time = 0".
Guenther
Jelmer Vernooij [Fri, 22 Sep 2006 15:09:08 +0000 (15:09 +0000)]
r18823: Fix some errors in the srsvc handling code and start running the RPC-SRVSVC
test against samba3.
Günther Deschner [Fri, 22 Sep 2006 10:09:15 +0000 (10:09 +0000)]
r18820: Comment out some unused functions.
Guenther
Günther Deschner [Fri, 22 Sep 2006 09:34:25 +0000 (09:34 +0000)]
r18819: Fix build without LDAP.
Guenther
Günther Deschner [Fri, 22 Sep 2006 09:09:01 +0000 (09:09 +0000)]
r18818: Forgot header file.
Guenther
Günther Deschner [Fri, 22 Sep 2006 09:07:31 +0000 (09:07 +0000)]
r18817: Enable the build of the gpo tool but do not make it available yet.
Guenther
Günther Deschner [Fri, 22 Sep 2006 09:00:59 +0000 (09:00 +0000)]
r18816: Fix some build warnings.
Guenther
Stefan Metzmacher [Fri, 22 Sep 2006 05:46:03 +0000 (05:46 +0000)]
r18814: diable immediate structs for now until we completely build with them again
metze
Stefan Metzmacher [Fri, 22 Sep 2006 05:36:15 +0000 (05:36 +0000)]
r18813: the generated rpccli_ functions give NTSTATUS
metze
Stefan Metzmacher [Fri, 22 Sep 2006 05:26:26 +0000 (05:26 +0000)]
r18812: newer compilers don't allow non consts in static arrays
give us a chance to detect NTSTATUS vs. WERROR bugs...
metze
Gerald Carter [Fri, 22 Sep 2006 04:31:11 +0000 (04:31 +0000)]
r18811: rename stat field to avoid compiler warnings about
shadowed variables
Stefan Metzmacher [Fri, 22 Sep 2006 04:16:58 +0000 (04:16 +0000)]
r18810: use a copy of samba4's talloc under lib/talloc/
to make mergeing easier.
metze
Stefan Metzmacher [Fri, 22 Sep 2006 04:05:15 +0000 (04:05 +0000)]
r18809: add a valgrind suppression file to prepare running make test
under valgrind in the buildfarm
metze
Stefan Metzmacher [Fri, 22 Sep 2006 03:41:11 +0000 (03:41 +0000)]
r18804: resume_hnd isn't a ref pointer and can be NULL
metze
Gerald Carter [Fri, 22 Sep 2006 00:05:53 +0000 (00:05 +0000)]
r18803: remove unused function
Jelmer Vernooij [Thu, 21 Sep 2006 23:57:32 +0000 (23:57 +0000)]
r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
Günther Deschner [Thu, 21 Sep 2006 23:10:40 +0000 (23:10 +0000)]
r18801: Fix (at least the build of) python bindings.
Guenther
Günther Deschner [Thu, 21 Sep 2006 22:44:32 +0000 (22:44 +0000)]
r18799: Prepare query_disp_info to use the next idx from the last result entry
for the enumeration loop (following msdn docs of that call).
Guenther
Stefan Metzmacher [Thu, 21 Sep 2006 22:24:53 +0000 (22:24 +0000)]
r18798: use libreplace headers in pam and nss modules
this hopefully fixes the build on AIX
metze
Stefan Metzmacher [Thu, 21 Sep 2006 21:21:31 +0000 (21:21 +0000)]
r18797: fix the loading of pam_winbind.so and libnss_winbind.so
when building with socket wrapper
metze
Jeremy Allison [Thu, 21 Sep 2006 20:53:56 +0000 (20:53 +0000)]
r18796: Fix the build. Sorry.
Jeremy.
Gerald Carter [Thu, 21 Sep 2006 18:54:25 +0000 (18:54 +0000)]
r18794: Make ENumKey() work again in the registry server
Jeremy Allison [Thu, 21 Sep 2006 18:37:09 +0000 (18:37 +0000)]
r18793: Fix BE string handling in the auto-generated
code. Should now work again with ASU.
Jeremy.
Gerald Carter [Thu, 21 Sep 2006 18:22:51 +0000 (18:22 +0000)]
r18792: small fix for server QueryValue code
Gerald Carter [Thu, 21 Sep 2006 18:16:16 +0000 (18:16 +0000)]
r18791: print the error string and not the raw value
Gerald Carter [Thu, 21 Sep 2006 18:09:20 +0000 (18:09 +0000)]
r18790: Correct the IDL (still a bug in pidl) for QueryValue()
Gerald Carter [Thu, 21 Sep 2006 17:51:06 +0000 (17:51 +0000)]
r18789: Replace the winreg server code with the libndr parsing code.
Many things work (OpenHKLM, etc...) but some still don't.
This shouldn't block anyone so I'm checking it in.
Will probably move to a bzr tree after this for
longer dev cycles between checkins.
Gerald Carter [Thu, 21 Sep 2006 17:13:48 +0000 (17:13 +0000)]
r18788: updating the IDL for QueryValue
Jeremy Allison [Thu, 21 Sep 2006 17:00:07 +0000 (17:00 +0000)]
r18787: Fix the strlen_m and strlen_m_term code by merging
in (and using elsewhere) next_codepoint from Samba4.
Jerry please test.
Jeremy.
Volker Lendecke [Thu, 21 Sep 2006 14:17:00 +0000 (14:17 +0000)]
r18785: Check in Peter Somogyis build fix
Stefan Metzmacher [Thu, 21 Sep 2006 08:48:18 +0000 (08:48 +0000)]
r18784: hopefully fix the BOOL bug on AIX
metze
Jelmer Vernooij [Thu, 21 Sep 2006 06:15:17 +0000 (06:15 +0000)]
r18778: Fix comparison.
Volker Lendecke [Thu, 21 Sep 2006 05:29:07 +0000 (05:29 +0000)]
r18773: Change negprot_spnego to return a blob
Volker Lendecke [Thu, 21 Sep 2006 05:19:22 +0000 (05:19 +0000)]
r18772: Now that we don't have a one-byte keylength in the extended security case
anymore, we don't have to truncate the length to 255 anymore.
The test I did for this: I sent 50 times the NTLMSSP oid. With truncating
Vista said Access Denied, without truncating it liked the response.
Volker
Volker Lendecke [Thu, 21 Sep 2006 05:07:47 +0000 (05:07 +0000)]
r18771: Sequel to r18761: If we always set the keylen to 0 there's no point in passing
a pointer down to negprot_spnego().
Volker
Volker Lendecke [Thu, 21 Sep 2006 01:49:18 +0000 (01:49 +0000)]
r18761: Even if only offering NTLMSSP Windows (tested with Vista & XP) sends 0 as the
key length in the case of extended security. It does make sense because with
SPNEGO our beloved ASN1 structure gives us the length.
Next test I did to verify this: I modified the server to put in random
garbage, and W2kwks, XP, Vista and W2k3srv still talked to us.
Volker
Volker Lendecke [Thu, 21 Sep 2006 00:30:47 +0000 (00:30 +0000)]
r18760: Fix typos, remove unneeded code
Jim McDonough [Wed, 20 Sep 2006 23:56:07 +0000 (23:56 +0000)]
r18758: Update net sam to use calculated times and force change password properly.
Gerald Carter [Wed, 20 Sep 2006 23:49:13 +0000 (23:49 +0000)]
r18756: cleanup copyrights after moving to new wkssvc implementation code
Gerald Carter [Wed, 20 Sep 2006 23:45:08 +0000 (23:45 +0000)]
r18755: remove accidental commit
Jim McDonough [Wed, 20 Sep 2006 23:43:56 +0000 (23:43 +0000)]
r18754: Get rid of some more invalid time sets
Jim McDonough [Wed, 20 Sep 2006 22:55:44 +0000 (22:55 +0000)]
r18748: Eliminate set of computed time values
Gerald Carter [Wed, 20 Sep 2006 22:49:02 +0000 (22:49 +0000)]
r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()
Jelmer Vernooij [Wed, 20 Sep 2006 22:23:12 +0000 (22:23 +0000)]
r18745: Use the Samba4 data structures for security descriptors and security descriptor
buffers.
Make security access masks simply a uint32 rather than a structure
with a uint32 in it.
Jelmer Vernooij [Wed, 20 Sep 2006 21:09:12 +0000 (21:09 +0000)]
r18744: Disable some tests that only work when RUN_FROM_BUILD_FARM is set.
Stefan Metzmacher [Wed, 20 Sep 2006 20:45:23 +0000 (20:45 +0000)]
r18742: this function returns WERROR
gix the build on RedHat 7.0
metze
Gerald Carter [Wed, 20 Sep 2006 19:26:21 +0000 (19:26 +0000)]
r18739: * Get the wkssvc patch right this time.
* Remove the old wkssvc server, client, & parsing code.
* Update srv_wkssvc_nt.c with stubs for the remaining
stubs
Günther Deschner [Wed, 20 Sep 2006 18:44:23 +0000 (18:44 +0000)]
r18732: Fix build warning as pointed out by Volker.
Guenther
Stefan Metzmacher [Wed, 20 Sep 2006 18:15:46 +0000 (18:15 +0000)]
r18731: fix the build on aix
metze
Gerald Carter [Wed, 20 Sep 2006 18:10:56 +0000 (18:10 +0000)]
r18730: readd missing files (one more)
Gerald Carter [Wed, 20 Sep 2006 18:10:13 +0000 (18:10 +0000)]
r18729: readd missing files
Gerald Carter [Wed, 20 Sep 2006 18:06:02 +0000 (18:06 +0000)]
r18728: revert previous commit until I fix the wkssvc_nt.c changes
Gerald Carter [Wed, 20 Sep 2006 17:59:50 +0000 (17:59 +0000)]
r18727: set the winreg_AbortSystemShutdown() server * to NULL rather than a dummy placeholder
Gerald Carter [Wed, 20 Sep 2006 17:56:50 +0000 (17:56 +0000)]
r18725: Replace out one wkssvc call (wkssrv_GetInfo()) with autogenerated
code. Removed first rpc_parse/*.c file. w00t!
Jim McDonough [Wed, 20 Sep 2006 17:37:20 +0000 (17:37 +0000)]
r18724: Fixup time(0) -> time(NULL)
Jim McDonough [Wed, 20 Sep 2006 17:25:46 +0000 (17:25 +0000)]
r18722: Fix up password change times. The can change and must change times are
calculated based on the last change time, policies, and acb flags.
Next step will be to not bother storing them. Right now I'm just trying to
get them reported correctly.
Jeremy Allison [Wed, 20 Sep 2006 17:09:03 +0000 (17:09 +0000)]
r18719: Compile fix from Peter Somogyi.
Jeremy.
Gerald Carter [Wed, 20 Sep 2006 17:03:06 +0000 (17:03 +0000)]
r18718: Change a few out parameter to ref pointers and regenerate
Gerald Carter [Wed, 20 Sep 2006 16:46:55 +0000 (16:46 +0000)]
r18717: remove old defines in preference of the flags in librpc/gen_ndr/srvsvc.h
Gerald Carter [Wed, 20 Sep 2006 16:33:21 +0000 (16:33 +0000)]
r18714: fix the build after replaceing rpccli_reg_abort_shutdown()
Jelmer Vernooij [Wed, 20 Sep 2006 16:32:29 +0000 (16:32 +0000)]
r18713: Autogenerate srvsvc and svcctl interfaces
Gerald Carter [Wed, 20 Sep 2006 16:15:29 +0000 (16:15 +0000)]
r18712: Forgot to remove cmd_reg.o from Makefile
Gerald Carter [Wed, 20 Sep 2006 15:58:48 +0000 (15:58 +0000)]
r18711: Replace the following hand code client routines:
* rpccli_reg_abort_shutdown()
* rpccli_reg_flush_key()
Remove the cmd_reg.c from rpcclient since the entire file
was unused
Günther Deschner [Wed, 20 Sep 2006 07:18:30 +0000 (07:18 +0000)]
r18710: Prevent that our offline cache can get outdated after a password change.
Guenther
Stefan Metzmacher [Wed, 20 Sep 2006 07:15:42 +0000 (07:15 +0000)]
r18709: add some useful function from samba4
metze
Günther Deschner [Wed, 20 Sep 2006 02:09:13 +0000 (02:09 +0000)]
r18707: Fix the build when you have libnscd installed (which apparently no host
on the buildfarm has).
Guenther
Stefan Metzmacher [Wed, 20 Sep 2006 00:56:51 +0000 (00:56 +0000)]
r18705: not all compilers like this
metze