summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* samba-tool: exit with non-zero status on dbcheck failureAndrew Tridgell2011-06-171-1/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: quiet down the krb5 warnings when kerberos is not set to 'MUST'Andrew Tridgell2011-06-172-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>
* samba-tool: show success message on group operationsAndrew Tridgell2011-06-171-0/+4
|
* s4-pysamdb: fixed the normalisation of grouptype in group addAndrew Tridgell2011-06-171-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
* samba-tool: report total error count and suggest --fix if neededAndrew Tridgell2011-06-171-3/+10
|
* samba-tool: added attribute normalisation checksAndrew Tridgell2011-06-171-3/+53
| | | | | this checks that all attributes have the right normalisation, and offers to fix the ones that don't
* s4-dsdb: if we don't have a remote schema, then use the local oneAndrew Tridgell2011-06-171-2/+8
| | | | | this allows the use of drsuapi_to_ldb() on all attributes for the local database
* s4-pydsdb: added dsdb_normalise_attributes() callAndrew Tridgell2011-06-172-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
* s4:winbind/wb_samba3_protocol.c - rework it using concrete enum valuesMatthias Dieter Wallnöfer2011-06-161-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
* s4:ntvfs subsystems - rework it using concrete enum valuesMatthias Dieter Wallnöfer2011-06-164-5/+43
| | | | | This changes commit 260bc987b00b3fff6c9b99211627b14e9bd0789a to comply with metze's plans.
* s4:libcli/smb_composite: convert smb2_composite_setpathinfo_send/rev to ↵Stefan Metzmacher2011-06-152-59/+129
| | | | | | tevent_req metze
* samba-tool: disable validation on removing an empty attribute in dbcheckAndrew Tridgell2011-06-141-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 14 10:49:34 CEST 2011 on sn-devel-104
* pyldb: make ldb operations more consistentAndrew Tridgell2011-06-141-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.
* pyldb: added validate option to ldb.modify()Andrew Tridgell2011-06-141-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
* s4:libcli/raw/raw*.c - add unhandled enum valuesMatthias Dieter Wallnöfer2011-06-112-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
* s4:torture/ndr/string.c - fix type-punned warning and remove unused variablesMatthias Dieter Wallnöfer2011-06-111-3/+2
| | | | Reviewed-by: Jelmer
* s4:ntvfs/smb2/vfs_smb2.c - remove unused variableMatthias Dieter Wallnöfer2011-06-111-1/+0
| | | | Reviewed-by: Jelmer
* s4:auth/ntlm/auth_unix.c - remove unused variablesMatthias Dieter Wallnöfer2011-06-111-2/+0
| | | | | | Relicts from commit 323c7445713d17989452b99bbb541248bb2388eb Reviewed-by: Jelmer
* s4-samba-tool: added dbcheck commmandAndrew Tridgell2011-06-102-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
* s4-librpc Remove unsued server_id4.idlAndrew Bartlett2011-06-101-13/+0
|
* s4-drs: added debug lines for missing linked attribute fieldsAndrew Tridgell2011-06-101-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
* s4-drs: ensure we add a RMD_ADDTIME when upgrading a linked attributeAndrew Tridgell2011-06-101-1/+2
| | | | | if the link was a w2k style, and we are upgrading it, then set the RMD_ADDTIME to the current time
* s4-drs: cope with missing RMD_ADDTIME in linked attributesAndrew Tridgell2011-06-102-5/+7
| | | | upgraded links can be missing the RMD_ADDTIME field
* s4-param add const to loadparm_init_s3 s3_fnsAndrew Bartlett2011-06-091-2/+2
|
* lib/util Bring procid_str() into lib/util as server_id_string()Andrew Bartlett2011-06-097-31/+6
| | | | | | | This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett
* librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett2011-06-096-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>
* server_id.idl: Bring server_id.idl in commonAndrew Bartlett2011-06-0913-20/+13
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-cluster Use task_id instead of id2 to clarify server_id structureAndrew Bartlett2011-06-095-14/+14
| | | | | | | | This seems a clearer and more acceptable name. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:rpc_server/dcesrv_samr.c - quiet enum warningsMatthias Dieter Wallnöfer2011-06-091-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
* s4:ntvfs subsystem - quiet enum warningsMatthias Dieter Wallnöfer2011-06-094-27/+11
| | | | | | Simply return "NT_STATUS_INVALID_LEVEL" for unknown types of requests. Reviewed-by: Tridge
* s4:libnet/libnet_rpc.c - quiet an enum warningMatthias Dieter Wallnöfer2011-06-091-0/+4
| | | | | | Other enum types have been checked before. Reviewed-by: Tridge
* s4:winbind/wb_samba3_protocol.c - quiet enum warningMatthias Dieter Wallnöfer2011-06-091-22/+3
| | | | | | | Don't enumerate all unimplemented types of call which simply leads to incompleteness. Reviewed-by: Tridge
* s4:schema_convert_to_ol.c - fix memory contextsMatthias Dieter Wallnöfer2011-06-091-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
* s4:dsdb/schema_convert_to_ol.c - quiet enum warningMatthias Dieter Wallnöfer2011-06-091-0/+9
| | | | | | Introduce a error message when choosing wrong targets. Reviewed-by: Tridge
* s4:auth/ntlm/auth.c - fix incompatible pointer type warningMatthias Dieter Wallnöfer2011-06-091-2/+2
| | | | Reviewed-by: Tridge
* s4:smbd/server.c - quiet "time_t" format string warnings by castsMatthias Dieter Wallnöfer2011-06-091-2/+4
| | | | Reviewed-by: Tridge
* s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without argumentsMatthias Dieter Wallnöfer2011-06-091-1/+1
| | | | | | Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe. Reviewed-by: Tridge
* ldb:ldb_msg.c - move away from "errno"Matthias Dieter Wallnöfer2011-06-091-3/+0
| | | | Reviewed-by: Tridge
* samba-tool: added --local option to drs replicate commandAndrew Tridgell2011-06-091-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
* s4-ipv6: don't default to 127.0.0.1 in provisionAndrew Tridgell2011-06-091-5/+8
| | | | | | it is better to just leave the IPv4 address out of the zone file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ipv6: fill in pdc_ip in DsRGetDCNameEx2Andrew Tridgell2011-06-081-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
* s4-wins: ensure we only use IPv4 for WINS ownerAndrew Tridgell2011-06-082-2/+2
|
* s4-interface: raise the debug level for interface discoveryAndrew Tridgell2011-06-081-3/+3
|
* s4-gensec bring GSS_S_CONTEXT_EXPIRED into it's own error handlerAndrew Bartlett2011-06-081-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
* s4-credentials Don't use expired Kerberos or GSSAPI credentialsAndrew Bartlett2011-06-081-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
* s4-credentials Allow use of file-based credentials caches for debugging.Andrew Bartlett2011-06-081-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
* s4-cldap: fixed the CLDAP response for IPv6 clientsAndrew Tridgell2011-06-071-6/+8
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 08:57:48 CEST 2011 on sn-devel-104
* s4-ipv6: fixed a crash in the IPv6 DNS codeAndrew Tridgell2011-06-071-1/+1
|
* s4-dns: fixed samba_tool -> samba-toolAndrew Tridgell2011-06-071-1/+1
|
* s4-build: install a build link bin/provisionAndrew Tridgell2011-06-071-0/+2
|