1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

17560 Commits

Author SHA1 Message Date
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 f1512cb43c)
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 18f47130b1)
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 f19bd479ce)
2007-10-10 12:00:55 -05:00
Volker Lendecke
45ca718d19 r18760: Fix typos, remove unneeded code
(This used to be commit 56ccfe98b2)
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 fb269ca0af)
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 18b24e0fe9)
2007-10-10 12:00:55 -05:00
Gerald Carter
394c0e90c6 r18755: remove accidental commit
(This used to be commit 2e7e8c09e4)
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 3840d3785f)
2007-10-10 12:00:54 -05:00
Jim McDonough
d75003bf6e r18748: Eliminate set of computed time values
(This used to be commit c53d4a8151)
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 50d74ce048)
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 b41c52b9db)
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 72b51c8891)
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 d6f5a0cc7a)
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 0cb79ee13f)
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 fccaff3713)
2007-10-10 12:00:53 -05:00
Stefan Metzmacher
ce95caf0df r18731: fix the build on aix
metze
(This used to be commit ff88592426)
2007-10-10 12:00:53 -05:00
Gerald Carter
01c684a3e9 r18730: readd missing files (one more)
(This used to be commit 8e0b801c8b)
2007-10-10 12:00:53 -05:00
Gerald Carter
8711b490e2 r18729: readd missing files
(This used to be commit a2d61ca85c)
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 57d8519185)
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 92903ab926)
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 bb9b7a058d)
2007-10-10 12:00:52 -05:00
Jim McDonough
77a7066d79 r18724: Fixup time(0) -> time(NULL)
(This used to be commit 6b17af0769)
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 fd5761c9e5)
2007-10-10 12:00:52 -05:00
Jeremy Allison
eb6e31afed r18719: Compile fix from Peter Somogyi.
Jeremy.
(This used to be commit 867eeaafce)
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 91a48e9baa)
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 080c51dd80)
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 403b0cf1ec)
2007-10-10 12:00:51 -05:00
Jelmer Vernooij
66c089acaa r18713: Autogenerate srvsvc and svcctl interfaces
(This used to be commit a8aa312b7e)
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 9030c46e33)
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 c4788f0c13)
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 8006cf962b)
2007-10-10 12:00:50 -05:00
Stefan Metzmacher
2fb8589862 r18709: add some useful function from samba4
metze
(This used to be commit f7a93b6acb)
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 b0bb364df0)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
f21e9f5780 r18705: not all compilers like this
metze
(This used to be commit 2ec4bc0f52)
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 7db6ce295a)
2007-10-10 12:00:49 -05:00
Jim McDonough
47bb2e1839 r18702: re-enable non-decimal specification of rid
(This used to be commit f3ff074046)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
447905db7d r18701: this tests are in libreplace
metze
(This used to be commit 31e3cc8c6f)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
e108e78263 r18700: nicer order of the tests
metze
(This used to be commit 07dafa266a)
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 12a0daa34d)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
a1243ca999 r18698: this stuff isn't needed anymore
metze
(This used to be commit 31b83ff4bd)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
7cf3a10756 r18695: Zero initialize ref ptrs as well.
(This used to be commit 3295122173)
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 5af1d3a425)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
e3068ef054 r18692: Dump debug data when DEBUGLEVEL >= 10
(This used to be commit 503d1a27d5)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
8c79b4cbc1 r18690: Regenerate RPC files after pidl changes.
(This used to be commit 87d3430537)
2007-10-10 12:00:47 -05:00
Jelmer Vernooij
6ffa76d76e r18688: get rid of the now obsolete keepref attribute
(This used to be commit b970f05b9b)
2007-10-10 12:00:47 -05:00
Stefan Metzmacher
387a8ed33e r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
to hopefully fix the build on HPUX and Tru64

metze
(This used to be commit aa8222c6a7)
2007-10-10 12:00:47 -05:00
Gerald Carter
3c222089ed r18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
to ensure it finds the Unix user.
(This used to be commit 4cea9bfca1)
2007-10-10 12:00:47 -05:00
Günther Deschner
7eca40ba3e r18681: Although we have commandline completion in rpcclient, just also allow
"debug" to be set instead of "debuglevel" - just for convenience.

Guenther
(This used to be commit ffec64730b)
2007-10-10 12:00:47 -05:00
Günther Deschner
d1e28fa76d r18680: Fix last struct uuids (in uncommented code).
Guenther
(This used to be commit 41c79ee5ac)
2007-10-10 12:00:47 -05:00
Günther Deschner
d2106c1a3c r18679: Fix the build.
Guenther
(This used to be commit b42bd2bf9b)
2007-10-10 12:00:46 -05:00