summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* kerberos - set the memory to "0"s before freeing the password to prevent ↵Matthias Dieter Wallnöfer2010-03-161-2/+6
| | | | security issues
* heimdal - remove unused variableMatthias Dieter Wallnöfer2010-03-161-1/+0
|
* heimdal - fix overlapped identifiers in the "krb5" libraryMatthias Dieter Wallnöfer2010-03-163-11/+11
|
* heimdal - free always "ctx->password" when it isn't needed anymoreMatthias Dieter Wallnöfer2010-03-161-1/+3
| | | | | "strdup" does always create a new object in the memory (through "malloc") which needs to be freed if it isn't used anymore.
* s4:auth/kerberos/kerberos.c - fix also here a memory leakMatthias Dieter Wallnöfer2010-03-161-0/+1
| | | | The options need to be freed also on this error case.
* s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"Matthias Dieter Wallnöfer2010-03-161-1/+1
|
* s4-smbtorture: use random buffer for extended SetValue test in RPC-WINREG.Günther Deschner2010-03-161-6/+11
| | | | Guenther
* s4:torture/rpc/winreg.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-145/+174
| | | | metze
* s4:torture/rpc/spoolss_win.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-86/+89
| | | | metze
* s4:torture/rpc/spoolss_notify.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-15/+19
| | | | metze
* s4:torture/rpc/spoolss_notify.c: fix compiler warningsStefan Metzmacher2010-03-161-1/+5
| | | | metze
* s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-162-314/+342
| | | | metze
* s4:tortore/rpc/spoolss.c: fix compiler warningStefan Metzmacher2010-03-161-1/+0
| | | | metze
* s4:torture/rpc/autoidl.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-6/+7
| | | | metze
* s4:torture/rpc/mgmt.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-162-16/+20
| | | | metze
* s4:torture/rpc/remact.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-2/+3
| | | | metze
* s4:torture/rpc/oxidresolve.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-7/+15
| | | | metze
* s4:torture/rpc/initshutdown.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-3/+6
| | | | metze
* s4:torture/rpc/epmapper.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-12/+18
| | | | metze
* s4:torture/rpc/eventlog.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-33/+41
| | | | metze
* s4:tortore/rpc/eventlog.c: rename variable 'b' => 'br'Stefan Metzmacher2010-03-161-7/+7
| | | | metze
* s4:torture/rpc/svcctl.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-63/+80
| | | | metze
* s4:torture/rpc/atsvc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-4/+8
| | | | metze
* s4:torture/rpc/wkssvc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-32/+63
| | | | metze
* s4:torture/rpc/srvsvc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-23/+42
| | | | metze
* s4:torture/rpc/dsgetinfo.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-3/+6
| | | | metze
* s4:torture/rpc/dssync.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-6/+8
| | | | metze
* s4:torture/rpc/drsuapi*: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-162-24/+25
| | | | metze
* s4:torture/rpc/unixinfo.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-5/+10
| | | | metze
* s4-smbtorture: remove NotifyChangeKeyValue s3 skip in RPC-WINREG:Günther Deschner2010-03-161-4/+0
| | | | Guenther
* s4-smbtorture: make it a bit easier to track failures in RPC-SPOOLSS-PRINTER.Günther Deschner2010-03-161-5/+15
| | | | Guenther
* s4:torture-ndr add lsarSetForestTrustInformation ndr testSimo Sorce2010-03-161-0/+51
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-lsa: fix dcesrv_lsa_lsaRSetForestTrustInformation server stub.Günther Deschner2010-03-161-3/+3
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* Revert "Revert "s4-smbtorture: skip extended SetValue test against Samba ↵Stefan Metzmacher2010-03-161-9/+5
| | | | | | | | | | | | | (both dont survive)."" This reverts commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3. This lets make test fail. Matthias: please make sure make test still passes when you change things like this...(maybe add something to knownfail or so) metze
* s4:torture/rpc/dsgetinfo.c: fix name resolving for ldap_urlStefan Metzmacher2010-03-161-1/+6
| | | | metze
* s4:resolve_oids LDB module - not really a change but a nicer method to call ↵Matthias Dieter Wallnöfer2010-03-161-1/+2
| | | | "talloc_reference"
* s4:idl change level to type in lsa_ForestTrustRecord.Simo Sorce2010-03-161-2/+2
|
* s4-smbtorture: avoid printf calls in RPC-WINREG test.Günther Deschner2010-03-161-41/+33
| | | | Guenther
* Added a net acl ds command for modification of ACLs on directory objectsNadezhda Ivanova2010-03-166-2/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At present the command supports only addition of control access rigts, done so DRS access checks can be tested. It will be expanded to deal with most ways to modify and view a DS ACL. Shifted commands a bit. What used to be net acl is now "net acl nt" as apposed to this, which is "net acl ds" ./bin/net acl ds set --help Usage: set --objectdn=objectdn --car=control right --action=[deny|allow] --trusteedn=trustee-dn Options: -h, --help show this help message and exit --host=HOST LDB URL for database or target server --car=CAR The access control right to allow or deny --action=ACTION Deny or allow access --objectdn=OBJECTDN DN of the object whose SD to modify --trusteedn=TRUSTEEDN DN of the entity that gets access Samba Common Options: -s FILE, --configfile=FILE Configuration file Credentials Options: --simple-bind-dn=DN DN to use for a simple bind --password=PASSWORD Password -U USERNAME, --username=USERNAME Username -W WORKGROUP, --workgroup=WORKGROUP Workgroup -N, --no-pass Don't ask for a password -k KERBEROS, --kerberos=KERBEROS Use Kerberos
* s3-spoolss: be very strict on OpenPrinter{Ex} failures for bad names.Günther Deschner2010-03-161-8/+4
| | | | Guenther
* s4:dsdb - fix up warningsMatthias Dieter Wallnöfer2010-03-162-4/+8
|
* s4:registry - use a macro for reverse byte orderMatthias Dieter Wallnöfer2010-03-162-10/+4
|
* s4:dsdb Show more detail in failure to compute the aggregate DN.Andrew Bartlett2010-03-161-1/+1
| | | | Andrew Bartlett
* s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett2010-03-1622-52/+125
| | | | | | | | This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett
* s4:dsdb Fix warnings in DEBUG() by casting to unsigned long intAndrew Bartlett2010-03-161-4/+4
|
* s4:dsdb/acl Reduce calls to dsdb_get_schema() and add memory contextAndrew Bartlett2010-03-161-24/+46
| | | | | | | | | | dsdb_get_schema() isn't a very cheap call, due to the use of LDB opaque pointers. We need to call it less, and instead pass it as a parameter where possible. This also changes to the new API with a talloc context. Andrew Bartlett
* s4:dsdb Add a memory context for dsdb_get_schema()Andrew Bartlett2010-03-161-3/+9
| | | | | | | | When specified, we talloc_reference onto this context to ensure that pointers found in it are valid for the life of the objects they are placed into. (Such as the string form of LDAP attributes). Andrew Bartlett
* s4:dsdb Don't error out if we can't get the Aggregate schema DN yetAndrew Bartlett2010-03-161-9/+16
| | | | | | | | It's easier to just set it up when we can, then to deal with the ordering issues in ldb startup. As long as we have it ready if a real client ever asks for it, then we should be happy. Andrew Bartlett
* s4:registry - check also for other registry value types in the generic testMatthias Dieter Wallnöfer2010-03-161-0/+16
|
* s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatypeMatthias Dieter Wallnöfer2010-03-161-0/+14
|