summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-04-12s4-net: Add definition of outf.Jelmer Vernooij1-0/+2
2010-04-12s4: fix a typoKamen Mazdrashki1-1/+1
2010-04-12s4/libnet: handle errors returned for DsAddEntry_v3 properlyKamen Mazdrashki1-4/+3
It turns out ms-docs are little bit misleading - in case of no error, r->out.ctr->ctr3.err_data is not NULL, but error information (r->out.ctr->ctr3.err_data->v1.info) is NULL!
2010-04-12s4/libnet: Add few new lines in the debug log so it is readable againKamen Mazdrashki1-14/+16
2010-04-12s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpectedKamen Mazdrashki1-2/+1
Actually DRSUAPI_DIRERR_OK is not valid error to be returned. I introduce it in the IDL so that I can use it in enum. So it should be dumped as Unexpected error code
2010-04-11s4:dbspeed torture - improve also the TDB code partMatthias Dieter Wallnöfer1-10/+9
Always use the label "failed" on failures, always close the database context (child of "tmp_ctx") when deleting database file.
2010-04-11s4:dbspeed torture - remove unneeded newlines on "torture_result"Matthias Dieter Wallnöfer1-7/+7
According to Jelmer's post on the technical list.
2010-04-11s4: Fix more test results to not conflict with subunit commands.Jelmer Vernooij1-7/+7
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij4-51/+51
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij39-278/+279
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-04-11s4:samdb_server_site_dn - free unused DNs in the right wayMatthias Dieter Wallnöfer1-2/+2
2010-04-11s4:torture - "dbspeed" test - add newlines as we have them in the other ↵Matthias Dieter Wallnöfer1-2/+2
failure messages
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-2/+2
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-10/+17
Unify error handling.
2010-04-11s4:torture - "dbspeed" testMatthias Dieter Wallnöfer1-3/+4
Add more "talloc_free"s where needed or useful.
2010-04-11s4:auth Remove event context from anonymous_session()Andrew Bartlett7-123/+119
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-10selftest: Support passing --load-list to test runners.Jelmer Vernooij1-0/+15
2010-04-10torture: Simplify torture suite running, call restricted test suite runner.Jelmer Vernooij1-43/+29
2010-04-10smbtorture: Remove unused shell feature.Jelmer Vernooij1-51/+1
2010-04-10smbtorture: Support --load-list argument.Jelmer Vernooij1-16/+30
2010-04-10s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specificationMatthias Dieter Wallnöfer1-6/+6
This makes the code more clear to read.
2010-04-10s4:registry - "patchfile_preg.c" - fix indentationMatthias Dieter Wallnöfer1-5/+9
2010-04-10s4:registry - "patchfile_preg.c" - fix a datatypeMatthias Dieter Wallnöfer1-1/+1
This should be an "uint16_t" (only two bytes are written).
2010-04-10s4:dsdb Don't use the permissive modify control on schemaInfo updatesAndrew Bartlett1-2/+2
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-10s4:dsdb Don't return operational attributes on special DNsAndrew Bartlett1-0/+5
2010-04-10s4:rootdse Implement "tokenGroups" in the rootDSEAndrew Bartlett1-0/+18
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-10s4:dsdb Improve error message in extended_dn_inAndrew Bartlett1-1/+1
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-10s4:ldif_handlers tokenGroups are SIDsAndrew Bartlett1-0/+1
2010-04-10s4:rpc_server Fix segfault in modified SamLogon handlingAndrew Bartlett1-0/+1
2010-04-10s4:provision Don't make the 'slaptest' call produce errorsAndrew Bartlett1-6/+3
Adding -n 0 also allows us to check the error code too Andrew Bartlett
2010-04-10s4:rpc_server Add all SIDs into the netlogon SamLogon replyAndrew Bartlett1-32/+52
We were missing the SIDs that are not in the domain.
2010-04-10s4:schema Try to fix OpenLDAP backend after schema reload support.Andrew Bartlett1-4/+2
If we can't get @REPLCHANGED, default to a value of 0. Andrew Bartlett
2010-04-10s4:heimdal Create a new PAC when impersonating a user with S4U2SelfAndrew Bartlett1-4/+46
If we don't do this, the PAC is given for the machine accout, not the account being impersonated. Andrew Bartlett
2010-04-10s4:kdc Add functions to hdb-samba4 for the new s4u2self callback.Andrew Bartlett4-18/+21
For now, this shares the 'if it's the same host' system with the constrained delegation code. Andrew Bartlett
2010-04-10s4:heimdal Add hooks to check with the DB before we allow s4u2selfAndrew Bartlett2-5/+42
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-10s4:credentials Add the functions needed to do S4U2Self with cli_credentialsAndrew Bartlett6-50/+208
A torture test to demonstrate will be added soon. Andrew Bartlett
2010-04-10s4:credentials talloc_free() any previous salt_principalAndrew Bartlett2-1/+2
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-10s4:autogen-waf: generate 'Makefile' instead of 'makefile'Stefan Metzmacher1-5/+4
This hopefully fixes the build on MacOS 10. metze
2010-04-10s4:configure: generate Makefile from Makefile.inStefan Metzmacher3-4/+6
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-10s4:heimdal_build/wscript_build: remove more network related stuff from ↵Stefan Metzmacher1-3/+4
HEIMDAL_ROKEN_H metze
2010-04-10s4:heimdal_build/wscript_build: use LIBREPLACE_H for asn1_compile and compile_etStefan Metzmacher1-2/+2
metze
2010-04-09s4:LDB - fix up "LDAPI" testMatthias Dieter Wallnöfer1-1/+3
Set the "options" environment variable in a deterministic manner.
2010-04-09s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.Günther Deschner1-0/+4
Guenther
2010-04-09s4-smbtorture: make sure to check for result of spoolss_GetJob tests.Günther Deschner1-4/+5
This avoids returning potentially uninitialised data. Thanks Andreas for pointing this out. Guenther
2010-04-09s4-smbtorture: display helpful error message when winreg_QueryMultipleValues ↵Günther Deschner1-5/+3
fails. Guenther
2010-04-09selftest: make sure filter-subunit and format-subunit use unbuffered ioStefan Metzmacher2-4/+4
metze
2010-04-09s4:selftest: mark some smb2.compound tests as knownfailStefan Metzmacher1-0/+3
metze
2010-04-09RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8Stefan Metzmacher1-0/+30
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-09s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected ↵Stefan Metzmacher1-4/+17
status metze
2010-04-09s4:librpc/rpc: correctly initialize last_fault_code for bind and ↵Stefan Metzmacher1-0/+9
alter_context requests metze