summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* selftest: Fix 'make quicktest' on systems without LDAP development supportAndrew Bartlett2011-06-071-6/+17
| | | | | | | | | | | | This should ensure that we don't run the Samba3/Samba4 integration tests on machines without ADS support. (Some samba3 tests in the full 'make test' may still fail however) Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 7 07:17:32 CEST 2011 on sn-devel-104
* s4-provision: fixed detection of V4/V6 addressesAndrew Tridgell2011-06-071-2/+29
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 06:07:24 CEST 2011 on sn-devel-104
* s4-ipv6: fixed iface_list_same_net() for IPv6Andrew Tridgell2011-06-071-3/+15
|
* s4-ipv6: fixed DNS handling with new IPv6 codeAndrew Tridgell2011-06-071-1/+16
|
* s4-dsdb: cope with missing backlinks in rpmd handlingAndrew Tridgell2011-06-071-1/+10
| | | | | if backlinks have not propogated correctly in a previous replication this allows us to recover
* s4-netlogon: force an IPv4 addressAndrew Tridgell2011-06-071-1/+1
| | | | | this interface is currently V4 only, don't try and return a V6 address in a V4 structure
* s4-ipv6: fix iface_list_best_ip() for IPv6Andrew Tridgell2011-06-071-1/+23
| | | | return an interface with the same address family as the target
* s4-auth Move default auth methods back into auth.cAndrew Bartlett2011-06-072-7/+6
| | | | | | | | | This changes auth_methods_from_lp to no longer use the parametric options, and to cope with ROLE_DOMAIN_BDC and ROLE_DOMAIN_PDC. This will assist in calling the source4 auth subsystem with a source3 derived lp_ctx. Andrew Bartlett
* s4/server: simplify and replace bad portable gettimeofday by timeBjörn Jacke2011-06-061-15/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon Jun 6 12:58:26 CEST 2011 on sn-devel-104
* s3-s4-param: Add hooks for parametric options in the s3/s4 glue layerAndrew Bartlett2011-06-062-0/+6
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 6 10:48:53 CEST 2011 on sn-devel-104
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-0629-36/+36
| | | | | | | | Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
* s4-param Remove 'modules dir'Andrew Bartlett2011-06-063-6/+10
| | | | | | | | The Samba waf build ensures that dyn_MODULESDIR is always correct (even for in-tree binaries), so we don't need to allow the user to configure this at run time. Andrew Bartlett
* lib/util use modules_path(), data_path() and shlib_ext() from source3Andrew Bartlett2011-06-065-22/+5
| | | | | | | | | | This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett
* s4-param Add hook between Samba3 and Samba4 loadparm systems.Andrew Bartlett2011-06-064-12/+256
| | | | | | | | In the top level build, this allows calls to code that requires a lpcfg_ style loadparm_context, while using the global parameters loaded from the source3 loadparm code. Andrew Bartlett
* s4-param make lpcfg_sam_name() cope with PDC and BDC rolesAndrew Bartlett2011-06-061-1/+2
| | | | | | | These roles (ROLE_DOMAIN_CONTROLLER is ROLE_DOMAIN_BDC) will come in from the s3 loadparm. Andrew Bartlett
* s4-param Remove 'sid generator'Andrew Bartlett2011-06-068-34/+10
| | | | | | | This was only used by the Fedora DS backend for Samba4. We agreed to no longer support external LDAP backends. Andrew Bartlett
* s4-param Remove 'idmap database'Andrew Bartlett2011-06-064-8/+3
| | | | This is now just idmap.ldb in the private dir, which remains.
* s4-param Remove 'secrets database' parameterAndrew Bartlett2011-06-064-8/+3
| | | | This is now just secrets.ldb in the private dir, which remains.