Gerald Carter
eab57a0a0f
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.
(This used to be commit cf1404a0d7538288b9370ba80df328f81b713ce0)
2007-10-10 12:00:57 -05:00
Gerald Carter
20b9cd5354
r18788: updating the IDL for QueryValue
...
(This used to be commit 83dec5578246111798678dce73d928ecf2a47d5f)
2007-10-10 12:00:57 -05:00
Jeremy Allison
f18c9365ca
r18787: Fix the strlen_m and strlen_m_term code by merging
...
in (and using elsewhere) next_codepoint from Samba4.
Jerry please test.
Jeremy.
(This used to be commit ece00b70a4621633f1ac9e576c4bbe332031de09)
2007-10-10 12:00:57 -05:00
Volker Lendecke
b3d18b12c2
r18785: Check in Peter Somogyis build fix
...
(This used to be commit 31c1be90565b2d2d111dddb7f0563fa8c303852b)
2007-10-10 12:00:57 -05:00
Stefan Metzmacher
beecb90440
r18784: hopefully fix the BOOL bug on AIX
...
metze
(This used to be commit 454d9590de6ff94a1edd7321e26af0f0978a356a)
2007-10-10 12:00:57 -05:00
Jelmer Vernooij
1260972ec9
r18778: Fix comparison.
...
(This used to be commit 0a198e6096d24297995d761635044ad8081fb197)
2007-10-10 12:00:56 -05:00
Volker Lendecke
c209219d06
r18773: Change negprot_spnego to return a blob
...
(This used to be commit 28fa772721640a6d3a0f6a30fb56fde18b5f5616)
2007-10-10 12:00:56 -05:00
Volker Lendecke
3bddf16b1f
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
(This used to be commit f1512cb43c69338d4f2cb806486c4f5db51cf695)
2007-10-10 12:00:56 -05:00
Volker Lendecke
a4a2d795b1
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
(This used to be commit 18f47130b1ccf09873ca684ee0ea986e28f47d78)
2007-10-10 12:00:55 -05:00
Volker Lendecke
8f7643bd83
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
(This used to be commit f19bd479cee57f064f63659c533ae108885d54a2)
2007-10-10 12:00:55 -05:00
Volker Lendecke
45ca718d19
r18760: Fix typos, remove unneeded code
...
(This used to be commit 56ccfe98b299e1569d59ef447ac486209aa84ca0)
2007-10-10 12:00:55 -05:00
Jim McDonough
0f961cb6db
r18758: Update net sam to use calculated times and force change password properly.
...
(This used to be commit fb269ca0afe57651a6fa0d8f8ba5c014e902c3d3)
2007-10-10 12:00:55 -05:00
Gerald Carter
045567f2be
r18756: cleanup copyrights after moving to new wkssvc implementation code
...
(This used to be commit 18b24e0fe94449b4a3e662f75b233d9c5f622d06)
2007-10-10 12:00:55 -05:00
Gerald Carter
394c0e90c6
r18755: remove accidental commit
...
(This used to be commit 2e7e8c09e461ab2e18c8a87ff6813008bad928fa)
2007-10-10 12:00:54 -05:00
Jim McDonough
f002bb2a46
r18754: Get rid of some more invalid time sets
...
(This used to be commit 3840d3785f1d61885aa7c83675a3e19673eb4b2a)
2007-10-10 12:00:54 -05:00
Jim McDonough
d75003bf6e
r18748: Eliminate set of computed time values
...
(This used to be commit c53d4a8151f3105efa4c0bc340f35ee5c9c97aaf)
2007-10-10 12:00:54 -05:00
Gerald Carter
05ba38f754
r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()
...
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10 12:00:54 -05:00
Jelmer Vernooij
4db7642caa
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.
(This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10 12:00:54 -05:00
Jelmer Vernooij
3ef4b8cf2f
r18744: Disable some tests that only work when RUN_FROM_BUILD_FARM is set.
...
(This used to be commit 72b51c889124f0b0da22b4c9b04e0276f9cbfbc7)
2007-10-10 12:00:53 -05:00
Stefan Metzmacher
12a5226534
r18742: this function returns WERROR
...
gix the build on RedHat 7.0
metze
(This used to be commit d6f5a0cc7a7833f36288ec6201da6b4422b22c97)
2007-10-10 12:00:53 -05:00
Gerald Carter
b7d069097b
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
(This used to be commit 0cb79ee13fd78b515a48b2c72d91596ed21e41a8)
2007-10-10 12:00:53 -05:00
Günther Deschner
5cadb91622
r18732: Fix build warning as pointed out by Volker.
...
Guenther
(This used to be commit fccaff37132de499002b9be484055a4fbf722d0d)
2007-10-10 12:00:53 -05:00
Stefan Metzmacher
ce95caf0df
r18731: fix the build on aix
...
metze
(This used to be commit ff88592426b851295604717b4fe52290504fc543)
2007-10-10 12:00:53 -05:00
Gerald Carter
01c684a3e9
r18730: readd missing files (one more)
...
(This used to be commit 8e0b801c8be3f040a2a928e0b966279741a5d303)
2007-10-10 12:00:53 -05:00
Gerald Carter
8711b490e2
r18729: readd missing files
...
(This used to be commit a2d61ca85c470be63c96a10a422a6b44e60f9b52)
2007-10-10 12:00:53 -05:00
Gerald Carter
8126f91375
r18728: revert previous commit until I fix the wkssvc_nt.c changes
...
(This used to be commit 57d8519185008602fab5cf5d1d1951415aacb7f0)
2007-10-10 12:00:52 -05:00
Gerald Carter
8a1439b10d
r18727: set the winreg_AbortSystemShutdown() server * to NULL rather than a dummy placeholder
...
(This used to be commit 92903ab926f0822fb76df58cc65fcd5d44a94f2b)
2007-10-10 12:00:52 -05:00
Gerald Carter
9dda6cdf4c
r18725: Replace out one wkssvc call (wkssrv_GetInfo()) with autogenerated
...
code. Removed first rpc_parse/*.c file. w00t!
(This used to be commit bb9b7a058d72569bee5683856661ac063c281c9f)
2007-10-10 12:00:52 -05:00
Jim McDonough
77a7066d79
r18724: Fixup time(0) -> time(NULL)
...
(This used to be commit 6b17af0769ab0d04ec01cc83ed6e7fad822b00b1)
2007-10-10 12:00:52 -05:00
Jim McDonough
e04dda6a2a
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.
(This used to be commit fd5761c9e52cbf8f1f7e45e71693598b27ecbf57)
2007-10-10 12:00:52 -05:00
Jeremy Allison
eb6e31afed
r18719: Compile fix from Peter Somogyi.
...
Jeremy.
(This used to be commit 867eeaafceaebde030a1d1e2fa39950b898b1846)
2007-10-10 12:00:52 -05:00
Gerald Carter
a1c53e50de
r18718: Change a few out parameter to ref pointers and regenerate
...
(This used to be commit 91a48e9baaf210cf64a324e205a4786482ac4ebb)
2007-10-10 12:00:52 -05:00
Gerald Carter
ed7f4ad60e
r18717: remove old defines in preference of the flags in librpc/gen_ndr/srvsvc.h
...
(This used to be commit 080c51dd8046cb19cca90035efe73529a3f6970b)
2007-10-10 12:00:51 -05:00
Gerald Carter
970d33c65a
r18714: fix the build after replaceing rpccli_reg_abort_shutdown()
...
(This used to be commit 403b0cf1ecd682efc034053e4e2a40aeee08d5ba)
2007-10-10 12:00:51 -05:00
Jelmer Vernooij
66c089acaa
r18713: Autogenerate srvsvc and svcctl interfaces
...
(This used to be commit a8aa312b7e597c4fc922a6d1783d5b6d43bceecb)
2007-10-10 12:00:51 -05:00
Gerald Carter
42c5b3b27b
r18712: Forgot to remove cmd_reg.o from Makefile
...
(This used to be commit 9030c46e33e78581e303ed3c5bd952a65b54b87a)
2007-10-10 12:00:51 -05:00
Gerald Carter
a6ddf9bf5d
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
(This used to be commit c4788f0c1398feb098f131aa5c4d0398d7489527)
2007-10-10 12:00:51 -05:00
Günther Deschner
c4046b0e88
r18710: Prevent that our offline cache can get outdated after a password change.
...
Guenther
(This used to be commit 8006cf962b4a33278414fcdf07bf94d739cb4aab)
2007-10-10 12:00:50 -05:00
Stefan Metzmacher
2fb8589862
r18709: add some useful function from samba4
...
metze
(This used to be commit f7a93b6acb705256c2aa4fe6475b89223af30491)
2007-10-10 12:00:49 -05:00
Günther Deschner
a62f996c5a
r18707: Fix the build when you have libnscd installed (which apparently no host
...
on the buildfarm has).
Guenther
(This used to be commit b0bb364df0efe140780328d90ae55bb823e6b10d)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
f21e9f5780
r18705: not all compilers like this
...
metze
(This used to be commit 2ec4bc0f5299f295525f306279ddb136e0b19ee1)
2007-10-10 12:00:49 -05:00
Günther Deschner
a3e1f7e44d
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
(This used to be commit 7db6ce295afbedfada7b207ad56566d2195a0d21)
2007-10-10 12:00:49 -05:00
Jim McDonough
47bb2e1839
r18702: re-enable non-decimal specification of rid
...
(This used to be commit f3ff07404650e4b9846367ba981764b1a879bca9)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
447905db7d
r18701: this tests are in libreplace
...
metze
(This used to be commit 31e3cc8c6f10a3d1ea8f357c26c80fe47ab276dc)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
e108e78263
r18700: nicer order of the tests
...
metze
(This used to be commit 07dafa266a80b87d521cacfcae65e8fb797e0eb2)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
f490794c51
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
(This used to be commit 12a0daa34d51b34a469f7d64f370069b73c0aba9)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
a1243ca999
r18698: this stuff isn't needed anymore
...
metze
(This used to be commit 31b83ff4bd568a393eaa6260366ece7501df1985)
2007-10-10 12:00:48 -05:00
Günther Deschner
89100480e8
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
(This used to be commit d6849a83c01ee444931ffaa34c77b5fb7f4c8a5c)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
7cf3a10756
r18695: Zero initialize ref ptrs as well.
...
(This used to be commit 3295122173b0794880e68ea60f51d41b9b170ff4)
2007-10-10 12:00:48 -05:00
Gerald Carter
7238a71961
r18694: prevent -O and -g from being set at the same time (by default)
...
(This used to be commit 5af1d3a425e99a49d7ff6bee4dad024e0f82509b)
2007-10-10 12:00:48 -05:00