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
Günther Deschner [Wed, 20 Sep 2006 00:15:50 +0000 (00:15 +0000)]
r18703: Fix the annoying effect that happens when nscd is running:
We usually do not get the results from user/group script modifications
immediately. A lot of users do add nscd restart/refresh commands into
their scripts to workaround that while we could flush the nscd caches
directly using libnscd.
Guenther
Jim McDonough [Wed, 20 Sep 2006 00:02:51 +0000 (00:02 +0000)]
r18702: re-enable non-decimal specification of rid
Stefan Metzmacher [Tue, 19 Sep 2006 23:45:43 +0000 (23:45 +0000)]
r18701: this tests are in libreplace
metze
Stefan Metzmacher [Tue, 19 Sep 2006 23:32:25 +0000 (23:32 +0000)]
r18700: nicer order of the tests
metze
Stefan Metzmacher [Tue, 19 Sep 2006 23:27:04 +0000 (23:27 +0000)]
r18699: bail out if the compiler doesn't know about C99 struct initializers
as we currently have them in the samba3 tree.
Lets see what the build-farm says to this.
metze
Stefan Metzmacher [Tue, 19 Sep 2006 23:23:21 +0000 (23:23 +0000)]
r18698: this stuff isn't needed anymore
metze
Günther Deschner [Tue, 19 Sep 2006 22:57:13 +0000 (22:57 +0000)]
r18697: Make sure that adssearch.pl does not
* chase referrals
* use paged search control
when using the LDAP change notify control for monitoring changes.
Guenther
Jelmer Vernooij [Tue, 19 Sep 2006 22:47:30 +0000 (22:47 +0000)]
r18695: Zero initialize ref ptrs as well.
Gerald Carter [Tue, 19 Sep 2006 22:47:01 +0000 (22:47 +0000)]
r18694: prevent -O and -g from being set at the same time (by default)
Jelmer Vernooij [Tue, 19 Sep 2006 22:39:15 +0000 (22:39 +0000)]
r18692: Dump debug data when DEBUGLEVEL >= 10
Jelmer Vernooij [Tue, 19 Sep 2006 22:22:57 +0000 (22:22 +0000)]
r18690: Regenerate RPC files after pidl changes.
Jelmer Vernooij [Tue, 19 Sep 2006 22:14:34 +0000 (22:14 +0000)]
r18688: get rid of the now obsolete keepref attribute
Stefan Metzmacher [Tue, 19 Sep 2006 21:57:59 +0000 (21:57 +0000)]
r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
to hopefully fix the build on HPUX and Tru64
metze
Gerald Carter [Tue, 19 Sep 2006 19:47:54 +0000 (19:47 +0000)]
r18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
to ensure it finds the Unix user.
Günther Deschner [Tue, 19 Sep 2006 18:32:13 +0000 (18:32 +0000)]
r18681: Although we have commandline completion in rpcclient, just also allow
"debug" to be set instead of "debuglevel" - just for convenience.
Guenther
Günther Deschner [Tue, 19 Sep 2006 17:29:31 +0000 (17:29 +0000)]
r18680: Fix last struct uuids (in uncommented code).
Guenther
Günther Deschner [Tue, 19 Sep 2006 17:27:17 +0000 (17:27 +0000)]
r18679: Fix the build.
Guenther
Günther Deschner [Tue, 19 Sep 2006 16:15:54 +0000 (16:15 +0000)]
r18678: Fix the build. (never commit before breakfeast).
Guenther
Günther Deschner [Tue, 19 Sep 2006 15:53:44 +0000 (15:53 +0000)]
r18677: quickly add samr_GetDisplayEnumerationIndex for debugging to rpcclient.
Guenther
Stefan Metzmacher [Tue, 19 Sep 2006 03:38:35 +0000 (03:38 +0000)]
r18673: define the macros even if we don't define bool ourself
metze
Stefan Metzmacher [Tue, 19 Sep 2006 03:29:44 +0000 (03:29 +0000)]
r18672: fix the build on Tru64
metze
Stefan Metzmacher [Tue, 19 Sep 2006 03:04:57 +0000 (03:04 +0000)]
r18671: try to fix the build on solaris 10 and maybe some other hosts
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined
by <rpcsvc/yp_prot.h>
metze
Günther Deschner [Tue, 19 Sep 2006 02:04:11 +0000 (02:04 +0000)]
r18670: Fix memleaks.
Guenther
Stefan Metzmacher [Tue, 19 Sep 2006 02:03:15 +0000 (02:03 +0000)]
r18669: fix the samba3 build...
we need to move the iconv configure checks to libreplace...
metze
Volker Lendecke [Tue, 19 Sep 2006 01:28:25 +0000 (01:28 +0000)]
r18667: Two C++ warnings
Gerald Carter [Tue, 19 Sep 2006 01:27:20 +0000 (01:27 +0000)]
r18666: checking in generated netlogon files
Volker Lendecke [Tue, 19 Sep 2006 01:25:52 +0000 (01:25 +0000)]
r18665: Remove two type-punned warnings
Stefan Metzmacher [Tue, 19 Sep 2006 01:21:03 +0000 (01:21 +0000)]
r18664: this stuff is included from libreplace
metze
Jeremy Allison [Tue, 19 Sep 2006 01:07:40 +0000 (01:07 +0000)]
r18663: Fix one more uuid -> GUID.
Jeremy.
Stefan Metzmacher [Tue, 19 Sep 2006 00:56:02 +0000 (00:56 +0000)]
r18662: print out the failing command for dynconfig.o too
metze
Volker Lendecke [Tue, 19 Sep 2006 00:55:40 +0000 (00:55 +0000)]
r18661: C++ warnings
Jim McDonough [Tue, 19 Sep 2006 00:39:21 +0000 (00:39 +0000)]
r18660: Fix build, one uuid->GUID was missed.
Stefan Metzmacher [Tue, 19 Sep 2006 00:29:41 +0000 (00:29 +0000)]
r18659: restore BOOL, sorry:-)
libreplace only provides 'bool' not BOOL
metze
Jelmer Vernooij [Tue, 19 Sep 2006 00:12:11 +0000 (00:12 +0000)]
r18654: Rename "struct uuid" => "struct GUID" for consistency.
Stefan Metzmacher [Mon, 18 Sep 2006 23:47:36 +0000 (23:47 +0000)]
r18653: this stuff is in libreplace...
metze
Stefan Metzmacher [Mon, 18 Sep 2006 23:46:58 +0000 (23:46 +0000)]
r18652: libreplace has replacements for strndup and strnlen
metze
Stefan Metzmacher [Mon, 18 Sep 2006 23:28:46 +0000 (23:28 +0000)]
r18651: this comment is wrong, was cut'n'paste...
metze
Stefan Metzmacher [Mon, 18 Sep 2006 23:27:36 +0000 (23:27 +0000)]
r18650: this isn't needed twice in include/includes.h
metze
Stefan Metzmacher [Mon, 18 Sep 2006 23:26:14 +0000 (23:26 +0000)]
r18649: the PRINTF_ATTRIUTE() macro is provided by libreplace
metze
Stefan Metzmacher [Mon, 18 Sep 2006 23:18:38 +0000 (23:18 +0000)]
r18648: this is provided by libreplace
metze
Stefan Metzmacher [Mon, 18 Sep 2006 23:16:39 +0000 (23:16 +0000)]
r18647: print out the failing cammand, this is very usefull for the build farm
metze
Stefan Metzmacher [Mon, 18 Sep 2006 22:55:10 +0000 (22:55 +0000)]
r18646: now we can have the socket_wrapper.c completely in sync with samba4
metze
Stefan Metzmacher [Mon, 18 Sep 2006 22:49:20 +0000 (22:49 +0000)]
r18644: bring in libreplace in lib/replace
metze
Volker Lendecke [Mon, 18 Sep 2006 22:32:23 +0000 (22:32 +0000)]
r18643: Fix a 64-bit warning
Gerald Carter [Mon, 18 Sep 2006 22:27:37 +0000 (22:27 +0000)]
r18642: convert [out] parameters to pointers in Spooler IDL
Gerald Carter [Mon, 18 Sep 2006 22:20:37 +0000 (22:20 +0000)]
r18641: Checking in the wkssvc files after updating the [out]
pointers. Waiting on on srvsvc files before it can actually compile.
Stefan Metzmacher [Mon, 18 Sep 2006 22:12:56 +0000 (22:12 +0000)]
r18640: move to socket_wrapper to lib/socket_wrapper/
and sync it with samba4
metze
Volker Lendecke [Mon, 18 Sep 2006 21:29:08 +0000 (21:29 +0000)]
r18638: This is an attempt to fix the AIX build. Jeremy, as you are busy talking
SASL/Steve/Andrew I can't right now ask why the aio.h is needed for the
timespec test.
Might have to revert that soon.
Volker
Jelmer Vernooij [Mon, 18 Sep 2006 20:41:45 +0000 (20:41 +0000)]
r18632: Make C++ compilers happy.
Gerald Carter [Mon, 18 Sep 2006 19:46:11 +0000 (19:46 +0000)]
r18623: starting on eventlog IDL