summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-06-17s4-errors: Import error maps from the source3/ unix -> ntstatus mappingAndrew Bartlett1-0/+11
We need to syncronise these mappings, as the duplication of this symobol in the build means that either may be called based only on library link orders. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 17 10:22:07 CEST 2011 on sn-devel-104
2011-06-17errors: reorder error codes for easier s3/s4 comparisonAndrew Bartlett1-3/+3
2011-06-17s4-util: removed the s4 nterr.cAndrew Tridgell2-55/+1
this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-17libclu/util: Move get_friendly_nt_error_msg() in common.Andrew Bartlett1-20/+0
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-17samba-tool: exit with non-zero status on dbcheck failureAndrew Tridgell1-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-17s4-auth: quiet down the krb5 warnings when kerberos is not set to 'MUST'Andrew Tridgell2-2/+6
this prevents spurious error messages on client commands when when we will fallback to NTLM authentication Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-17samba-tool: show success message on group operationsAndrew Tridgell1-0/+4
2011-06-17s4-pysamdb: fixed the normalisation of grouptype in group addAndrew Tridgell1-1/+7
ldap integers are signed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 17 05:43:18 CEST 2011 on sn-devel-104
2011-06-17samba-tool: report total error count and suggest --fix if neededAndrew Tridgell1-3/+10
2011-06-17samba-tool: added attribute normalisation checksAndrew Tridgell1-3/+53
this checks that all attributes have the right normalisation, and offers to fix the ones that don't
2011-06-17s4-dsdb: if we don't have a remote schema, then use the local oneAndrew Tridgell1-2/+8
this allows the use of drsuapi_to_ldb() on all attributes for the local database
2011-06-17s4-pydsdb: added dsdb_normalise_attributes() callAndrew Tridgell2-0/+109
this call converts a set of attributes to DRSUAPI format and back to ldb format. This has the effect of normalising the attributes using the schema syntax rules
2011-06-16s4:winbind/wb_samba3_protocol.c - rework it using concrete enum valuesMatthias Dieter Wallnöfer1-3/+27
This changes commit 49352cafb4259503e6afb44d38db9bfd525d5e0d to comply with kblin's plans. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Jun 16 10:14:52 CEST 2011 on sn-devel-104
2011-06-16s4:ntvfs subsystems - rework it using concrete enum valuesMatthias Dieter Wallnöfer4-5/+43
This changes commit 260bc987b00b3fff6c9b99211627b14e9bd0789a to comply with metze's plans.
2011-06-15s4:libcli/smb_composite: convert smb2_composite_setpathinfo_send/rev to ↵Stefan Metzmacher2-59/+129
tevent_req metze
2011-06-14samba-tool: disable validation on removing an empty attribute in dbcheckAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 14 10:49:34 CEST 2011 on sn-devel-104
2011-06-14pyldb: make ldb operations more consistentAndrew Tridgell1-12/+21
This changes the controls option on ldb operations to be a keyword argument, which is more consistent with general python conventions. This also fixes the pydoc output to include the controls option.
2011-06-14pyldb: added validate option to ldb.modify()Andrew Tridgell1-9/+15
This allows validation of ldb messages in a ldb modify operation to be bypassed, by setting validate=False. This is useful in the dbcheck tool to allow for removing invalid empty attributes from the database
2011-06-11s4:libcli/raw/raw*.c - add unhandled enum valuesMatthias Dieter Wallnöfer2-2/+3
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Jun 11 18:46:13 CEST 2011 on sn-devel-104
2011-06-11s4:torture/ndr/string.c - fix type-punned warning and remove unused variablesMatthias Dieter Wallnöfer1-3/+2
Reviewed-by: Jelmer
2011-06-11s4:ntvfs/smb2/vfs_smb2.c - remove unused variableMatthias Dieter Wallnöfer1-1/+0
Reviewed-by: Jelmer
2011-06-11s4:auth/ntlm/auth_unix.c - remove unused variablesMatthias Dieter Wallnöfer1-2/+0
Relicts from commit 323c7445713d17989452b99bbb541248bb2388eb Reviewed-by: Jelmer
2011-06-10s4-samba-tool: added dbcheck commmandAndrew Tridgell2-0/+125
this will be used as a consistency checker and repair tool for sam.ldb. This initial checkin just checks for empty attributes and offers to fix them Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 10 10:31:56 CEST 2011 on sn-devel-104
2011-06-10s4-librpc Remove unsued server_id4.idlAndrew Bartlett1-13/+0
2011-06-10s4-drs: added debug lines for missing linked attribute fieldsAndrew Tridgell1-0/+8
this improved the logging of bugs related to linked attribute replication Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jun 10 03:26:21 CEST 2011 on sn-devel-104
2011-06-10s4-drs: ensure we add a RMD_ADDTIME when upgrading a linked attributeAndrew Tridgell1-1/+2
if the link was a w2k style, and we are upgrading it, then set the RMD_ADDTIME to the current time
2011-06-10s4-drs: cope with missing RMD_ADDTIME in linked attributesAndrew Tridgell2-5/+7
upgraded links can be missing the RMD_ADDTIME field
2011-06-09s4-param add const to loadparm_init_s3 s3_fnsAndrew Bartlett1-2/+2
2011-06-09lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett7-31/+6
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
2011-06-09librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett6-69/+5
The extra fields in the structure that Samba4 does not use should not bother it. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09server_id.idl: Bring server_id.idl in commonAndrew Bartlett13-20/+13
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett5-14/+14
This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s4:rpc_server/dcesrv_samr.c - quiet enum warningsMatthias Dieter Wallnöfer1-0/+6
When we are acting in the role of a PDC then please return it as status information. Reviewed-by: Tridge Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Jun 9 12:06:36 CEST 2011 on sn-devel-104
2011-06-09s4:ntvfs subsystem - quiet enum warningsMatthias Dieter Wallnöfer4-27/+11
Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
2011-06-09s4:libnet/libnet_rpc.c - quiet an enum warningMatthias Dieter Wallnöfer1-0/+4
Other enum types have been checked before. Reviewed-by: Tridge
2011-06-09s4:winbind/wb_samba3_protocol.c - quiet enum warningMatthias Dieter Wallnöfer1-22/+3
Don't enumerate all unimplemented types of call which simply leads to incompleteness. Reviewed-by: Tridge
2011-06-09s4:schema_convert_to_ol.c - fix memory contextsMatthias Dieter Wallnöfer1-3/+13
- Add more "mem_ctx" free functions on error cases - Steal the "out" string directly onto the LDB context to be able to free the local "mem_ctx" Reviewed-by: Tridge
2011-06-09s4:dsdb/schema_convert_to_ol.c - quiet enum warningMatthias Dieter Wallnöfer1-0/+9
Introduce a error message when choosing wrong targets. Reviewed-by: Tridge
2011-06-09s4:auth/ntlm/auth.c - fix incompatible pointer type warningMatthias Dieter Wallnöfer1-2/+2
Reviewed-by: Tridge
2011-06-09s4:smbd/server.c - quiet "time_t" format string warnings by castsMatthias Dieter Wallnöfer1-2/+4
Reviewed-by: Tridge
2011-06-09s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without argumentsMatthias Dieter Wallnöfer1-1/+1
Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe. Reviewed-by: Tridge
2011-06-09ldb:ldb_msg.c - move away from "errno"Matthias Dieter Wallnöfer1-3/+0
Reviewed-by: Tridge
2011-06-09samba-tool: added --local option to drs replicate commandAndrew Tridgell1-1/+39
this allows replication directly to the local SAM, which means it can run without the samba daemon running. It also bypasses all usnChanged checks, which is useful for forcing replication of a set of objects which are not marked as replication being needed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jun 9 08:15:10 CEST 2011 on sn-devel-104
2011-06-09s4-ipv6: don't default to 127.0.0.1 in provisionAndrew Tridgell1-5/+8
it is better to just leave the IPv4 address out of the zone file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-08s4-ipv6: fill in pdc_ip in DsRGetDCNameEx2Andrew Tridgell1-3/+12
this may be different from the CLDAP response, as it can be IPv6 Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Jun 8 06:07:29 CEST 2011 on sn-devel-104
2011-06-08s4-wins: ensure we only use IPv4 for WINS ownerAndrew Tridgell2-2/+2
2011-06-08s4-interface: raise the debug level for interface discoveryAndrew Tridgell1-3/+3
2011-06-08s4-gensec bring GSS_S_CONTEXT_EXPIRED into it's own error handlerAndrew Bartlett1-0/+59
This allows us to print much more debugging in this critical situation. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 8 04:19:58 CEST 2011 on sn-devel-104
2011-06-08s4-credentials Don't use expired Kerberos or GSSAPI credentialsAndrew Bartlett1-4/+57
In a long-lived credentials cache situation, we may need to refetch the ticket after (say) 10 hours. This code should help that happen, by checking the lifetime before returning any credentials cache or GSSAPI credentials. Andrew Bartlett
2011-06-08s4-credentials Allow use of file-based credentials caches for debugging.Andrew Bartlett1-3/+9
This means that we will leave a slew of file based credentials caches in /tmp, which should give some clues to the administrator or developer via klist as to what has gone wrong. Andrew Bartlett