1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

61757 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
c7dfe736a8 s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages 2010-04-11 11:33:45 +02:00
Matthias Dieter Wallnöfer
52ab3ca5e6 s4:torture - "dbspeed" test
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11 11:31:48 +02:00
Matthias Dieter Wallnöfer
753698e070 s4:torture - "dbspeed" test
Unify error handling.
2010-04-11 11:31:47 +02:00
Matthias Dieter Wallnöfer
cc32e7aff2 s4:torture - "dbspeed" test
Add more "talloc_free"s where needed or useful.
2010-04-11 11:31:47 +02:00
Volker Lendecke
b91484a1a0 s3: Cosmetics -- I could not spot where "chal" was initialized 2010-04-11 11:15:44 +02:00
Andrew Bartlett
2c193fe91a s4:auth Remove event context from anonymous_session()
This should always return a simple structure with no need to consult a
DB, so remove the event context, and simplfy to call helper functions
that don't look at privilages.

Andrew Bartlett
2010-04-11 13:36:04 +10:00
Volker Lendecke
18078ec445 s3: Use IS_DC macro in get_global_sam_name()
Much as I dislike macros, this one is there. So why not use it...
2010-04-10 22:55:06 +02:00
Volker Lendecke
f73e480e19 s3: Remove domain selection from dual_pam_auth
We're in a child, the parent already has chosen the domain by
picking the right child to connect to.

Metze, you've done work on winbind lately, so it goes to you:

Please check :-)
2010-04-10 22:42:25 +02:00
Jelmer Vernooij
664eacc53a subunit: Don't abort when receiving test results from tests that weren't
announced.
2010-04-10 22:38:33 +02:00
Jelmer Vernooij
64bf8c400c selftest: Support passing --load-list to test runners. 2010-04-10 22:38:32 +02:00
Jelmer Vernooij
4fb98b6856 torture: Simplify torture suite running, call restricted test suite runner. 2010-04-10 22:38:32 +02:00
Jelmer Vernooij
6b442f43bc smbtorture: Remove unused shell feature. 2010-04-10 22:38:32 +02:00
Jelmer Vernooij
24f364517b smbtorture: Support --load-list argument. 2010-04-10 22:38:32 +02:00
Matthias Dieter Wallnöfer
0b7bb7f85a s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specification
This makes the code more clear to read.
2010-04-10 19:58:09 +02:00
Matthias Dieter Wallnöfer
458a441f7f s4:registry - "patchfile_preg.c" - fix indentation 2010-04-10 19:58:08 +02:00
Matthias Dieter Wallnöfer
c7c8f0ccf3 s4:registry - "patchfile_preg.c" - fix a datatype
This should be an "uint16_t" (only two bytes are written).
2010-04-10 19:58:08 +02:00
Volker Lendecke
1038a134ed libwbclient: Fix a memleak in wbcGetDisplayName 2010-04-10 17:05:38 +02:00
Volker Lendecke
27d3bdd36b libwbclient: Ensure correct 0-termination in wbcGetSidAliases 2010-04-10 17:05:38 +02:00
Volker Lendecke
4085e189a1 s3: Check 0 termination in GETALIASES 2010-04-10 17:05:38 +02:00
Andrew Bartlett
77267733ed s4:dsdb Don't use the permissive modify control on schemaInfo updates
The use of 'replace' is enough to wipe out the old value, whatever it
is, we don't need to set 'permissive modify' too.

Additionally, this seems to be causing trouble for the OpenLDAP backend

Andrew Bartlett
2010-04-10 21:41:57 +10:00
Andrew Bartlett
5ebeab3794 s4:dsdb Don't return operational attributes on special DNs 2010-04-10 21:41:02 +10:00
Andrew Bartlett
6ef167c37b s4:rootdse Implement "tokenGroups" in the rootDSE
This returns the currently connected user's full token.  This is very
useful for debugging, and should be used in ACL tests.

Andrew Bartlett
2010-04-10 21:41:02 +10:00
Andrew Bartlett
944dc2cb0b s4:dsdb Improve error message in extended_dn_in
This error occours when an extended DN cannot be resolved, so it's
most helpful to print the problematic extended DN.

Andrew Bartlett
2010-04-10 21:41:01 +10:00
Andrew Bartlett
78dd377849 s4:ldif_handlers tokenGroups are SIDs 2010-04-10 21:41:01 +10:00
Andrew Bartlett
4b27cc0ea6 s4:rpc_server Fix segfault in modified SamLogon handling 2010-04-10 21:41:00 +10:00
Andrew Bartlett
bc6659936a s4:provision Don't make the 'slaptest' call produce errors
Adding -n 0 also allows us to check the error code too

Andrew Bartlett
2010-04-10 21:41:00 +10:00
Andrew Bartlett
0340826772 s4:rpc_server Add all SIDs into the netlogon SamLogon reply
We were missing the SIDs that are not in the domain.
2010-04-10 21:41:00 +10:00
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