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

61730 Commits

Author SHA1 Message Date
Andrew Bartlett
4074739fe7 s4:schema Try to fix OpenLDAP backend after schema reload support.
If we can't get @REPLCHANGED, default to a value of 0.

Andrew Bartlett
2010-04-10 21:40:59 +10:00
Andrew Bartlett
c8cb17a18c s4:heimdal Create a new PAC when impersonating a user with S4U2Self
If we don't do this, the PAC is given for the machine accout, not the
account being impersonated.

Andrew Bartlett
2010-04-10 21:40:59 +10:00
Andrew Bartlett
f2b63d58da s4:kdc Add functions to hdb-samba4 for the new s4u2self callback.
For now, this shares the 'if it's the same host' system with the
constrained delegation code.

Andrew Bartlett
2010-04-10 21:40:59 +10:00
Andrew Bartlett
1d59abc724 s4:heimdal Add hooks to check with the DB before we allow s4u2self
This allows us to resolve multiple forms of a name, allowing for
example machine$@REALM to get an S4U2Self ticket for
host/machine@REALM.

Andrew Bartlett
2010-04-10 21:40:58 +10:00
Andrew Bartlett
aecaddfa1b s4:credentials Add the functions needed to do S4U2Self with cli_credentials
A torture test to demonstrate will be added soon.

Andrew Bartlett
2010-04-10 21:40:58 +10:00
Andrew Bartlett
18f0e24f55 s4:credentials talloc_free() any previous salt_principal
This isn't used often, but it is generally better not to leak it onto
what may be a longer-term context.

Andrew Bartlett
2010-04-10 21:40:58 +10:00
Stefan Metzmacher
5beaef7cde s4:autogen-waf: generate 'Makefile' instead of 'makefile'
This hopefully fixes the build on MacOS 10.

metze
2010-04-10 11:15:17 +02:00
Stefan Metzmacher
61d3ba04b4 s4:configure: generate Makefile from Makefile.in
This makes it possible for the waf build to also generate a 'Makefile'
instead of 'makefile'. On some platforms 'Makefile' is used before 'makefile'

metze
2010-04-10 11:06:26 +02:00
Stefan Metzmacher
8966a28b68 s4:heimdal_build/wscript_build: remove more network related stuff from HEIMDAL_ROKEN_H
metze
2010-04-10 10:07:11 +02:00
Stefan Metzmacher
e390edb46b s4:heimdal_build/wscript_build: use LIBREPLACE_H for asn1_compile and compile_et
metze
2010-04-10 09:54:49 +02:00
Stefan Metzmacher
b2e1441864 lib/replace: create a LIBREPLACE_H subsystem
metze
2010-04-10 09:51:28 +02:00
Jeremy Allison
e15939b456 Plumb SMB2 stubs into all the places we defer SMB1 operations.
Rename functions to be internally consistent. Next step is
to cope queueing single (non-compounded) SMB2 requests to
put some code inside the stubs.

Jeremy.
2010-04-09 19:26:34 -07:00
Matthias Dieter Wallnöfer
b253385611 s4:LDB - fix up "LDAPI" test
Set the "options" environment variable in a deterministic manner.
2010-04-09 23:36:11 +02:00
Günther Deschner
5eedaaea43 s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
bc2e675c3a s4-smbtorture: make sure to check for result of spoolss_GetJob tests.
This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.

Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
357006bf07 s3-spoolss: Fix two uninitialized vars in spoolss util code.
Guenther
2010-04-09 18:44:19 +02:00
Günther Deschner
202d330be6 s3: re-run make samba3-idl.
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
1cec3029e5 s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
347035d61f winreg: move REG_OPTION_NON_VOLATILE out of option bitmask.
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
b9188e4571 winreg: fill in IDL for winreg_QueryMultipleValues2.
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
63b111bd32 s3: add iconv_convenience handle to pull/push sz helpers.
Guenther
2010-04-09 18:33:45 +02:00
Volker Lendecke
bfeab64ebf s3: Fix a typo 2010-04-09 16:49:49 +02:00
Stefan Metzmacher
bae564b0a3 selftest: make sure filter-subunit and format-subunit use unbuffered io
metze
2010-04-09 16:42:00 +02:00
Stefan Metzmacher
e1faff9071 s4:selftest: mark some smb2.compound tests as knownfail
metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
0bf6043df9 RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8
The behavior between w2k3 and w2k8 differs:
- w2k3 just ignores alter_context requests which try to change
  an existing presentation context.
- w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport
  connection.

metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
5844a7dfe6 s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status
metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
e95e2e8262 s4:librpc/rpc: correctly initialize last_fault_code for bind and alter_context requests
metze
2010-04-09 16:28:30 +02:00
Stefan Metzmacher
718a804613 librpc/rpc: fix typo DERPC_ => DCERPC_
metze
2010-04-09 16:28:30 +02:00
Stefan Metzmacher
92d98b6816 librpc: rerun make idl
metze
2010-04-09 16:28:30 +02:00
Stefan Metzmacher
ba5825ead8 dcerpc.idl: fix typo DERPC_ => DCERPC_
metze
2010-04-09 16:28:29 +02:00
Stefan Metzmacher
800c735de6 lib/torture: also print intergers as HEX values in the torture_assert macros
metze
2010-04-09 16:28:29 +02:00
Stefan Metzmacher
f716c027c6 s4:heimdal_build/wscript_build: we don't need separate subsystems just for optional source files
metze
2010-04-09 16:28:29 +02:00
Stefan Metzmacher
787ecd4023 s4:heimdal_build/wscript_build: remove useless dependecies of HEIMDAL_ROKEN_H
This hopefully fixes the build on host opi - OpenSUSE 10.2 (x86_64).

metze
2010-04-09 16:28:28 +02:00
Stefan Metzmacher
2eaddcd9f2 s4:heimdal_build/wscript_build: create a HEIMDAL_ROKEN*_SOURCE variable
metze
2010-04-09 16:28:28 +02:00
Günther Deschner
48daa0b6ee s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.
Guenther
2010-04-09 16:17:54 +02:00
Günther Deschner
a21be5fc1b s4-smbtorture: fix build after winreg IDL renames, sorry..
Guenther
2010-04-09 14:46:28 +02:00
Jelmer Vernooij
673ca04114 s4-build: Fix autoconf build (net_machinepw.c is no longer present) 2010-04-09 14:21:24 +02:00
Volker Lendecke
c666b8af96 s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username() 2010-04-09 14:09:23 +02:00
Volker Lendecke
d3e9e83d7e s3: TALLOC_FREE(command) correctly in map_username() 2010-04-09 14:08:00 +02:00
Günther Deschner
5d04aadcb9 s4-smbtorture: Fix winreg test after keytype renameing.
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
35ef60918b s4-winreg: Fix dcesrv_winreg_CreateKey after rename.
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
faf2d4988b s3: re-run make samba3-idl.
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
eda0aa4b91 winreg: rename winreg_KeyType to winreg_KeyOptions.
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
8c593f6355 s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
299a6ffe9e s4-smbtorture: winreg keytype options is a bitmask.
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
ab27c6d138 s3: re-run make samba3-idl.
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
8805490853 winreg: keytype options is a bitmask.
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
bc9289995a s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.
Guenther
2010-04-09 13:57:17 +02:00
Andrew Tridgell
92a051ef2f s4-waf: only enable the python uuid module if python <= 2.4 2010-04-09 21:26:28 +10:00
Volker Lendecke
a10f024083 libwbclient: Fix some memleaks in the tests 2010-04-09 13:15:05 +02:00