summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-netlogon: fixed breakage of dcesrv_netr_GetAnyDCName in sites patchAndrew Tridgell2010-04-271-6/+0
| | | | | | We should respond when we are the PDC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:knownfail - remove tests which should passMatthias Dieter Wallnöfer2010-04-271-4/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:netlogon RPC server - we don't need "are we DC" proofsMatthias Dieter Wallnöfer2010-04-271-8/+0
| | | | | | | When we aren't a DC we shouldn't have the netlogon pipe available. [MS-NRPC 1.3] says that we can only have DCs on the server side. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:torture - DsRGetDcSiteCoverageW - adapt test to check for the sitenameMatthias Dieter Wallnöfer2010-04-271-0/+24
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:dcesrv_netr_DsrGetDcSiteCoverageW - provide a basic implementationMatthias Dieter Wallnöfer2010-04-271-1/+23
| | | | | | Does for now only return DC's primary site. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:torture - DsRGetSiteName - move "skip" statement before the ↵Matthias Dieter Wallnöfer2010-04-271-3/+3
| | | | | | | | "computer_name" check We don't support the check for the computer name on the RPC server side. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:dcesrv_netr_DsRGetSiteName - provide an implementation according to the ↵Matthias Dieter Wallnöfer2010-04-271-1/+13
| | | | | | MS-NRPC docs Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:torture - GetAnyDCName - adaptionsMatthias Dieter Wallnöfer2010-04-271-2/+23
| | | | | | | | | - Check for the various domainname set modes (on NULL and "" the domain should be the default domain on the server) - support return value "WERR_NO_SUCH_DOMAIN" (the server is the PDC of the domain) Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:dcesrv_netr_GetAnyDCName - improve the call according to the MS-NRPC ↵Matthias Dieter Wallnöfer2010-04-271-7/+55
| | | | | | | | | | | documentation This implementation checks if the domainname is valid for us or a trusted domain. Then I've also added the PDC location functionality. That means that we should return "WERR_NO_SUCH_DOMAIN" (MS-NRPC 3.5.5.2.5). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:torture - DsRAddressesToSitenames - enhance the testsuiteMatthias Dieter Wallnöfer2010-04-271-24/+264
| | | | | | This shows the Windows behaviour of these two calls which we should match. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the ↵Matthias Dieter Wallnöfer2010-04-271-16/+93
| | | | | | | | client site information This behaviour should be similar to the one of Windows Server (in my case 2008) Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:CLDAP server - make use of the new "samdb_client_site_name" callMatthias Dieter Wallnöfer2010-04-271-2/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:util - add a function which finds the matching client site using the ↵Matthias Dieter Wallnöfer2010-04-271-0/+90
| | | | | | | | | | | client address The lookup of the client site is done using the subnets in the configuration partition. If no one matches we use the Windows Server fallback mechansim. This means: if only one site is available just use it. If they're more set the output variable to "". Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drsdevel: support sites in drs developer scriptsAndrew Tridgell2010-04-273-3/+7
|
* s4-vampire: show main CLDAP response attributes during vampireAndrew Tridgell2010-04-271-0/+4
|
* s4-repl: added a workaround for WERR_DS_DRA_NO_REPLICA DsReplicaSync errorsAndrew Tridgell2010-04-272-2/+19
| | | | | | | | | The 0xc0002104/WERR_DS_DRA_NO_REPLICA seems to be spurious, and can be avoided by setting DRSUAPI_DRS_SYNC_ALL in the DsReplicaSync request. We need to investigate this further, and find out from MS why this is sometimes being sent, even when the target DC has the right repsFrom entries
* Correctly report share types (now Win7 makes RPC calls against us).Jeremy Allison2010-04-261-1/+7
| | | | Jeremy.
* Plumb in get_nt_acl into SMB2.Jeremy Allison2010-04-263-46/+174
| | | | Jeremy.
* s4-dns: fixed dc.dc duplication in DNS update listAndrew Tridgell2010-04-271-2/+2
|
* s4-drs: add entries to repsTo based on calculated repsFromAndrew Tridgell2010-04-271-2/+30
| | | | | | This is based on the documentation: "the KCC will automatically create the Reps-To attributes on destination DSAs based on other DSAs Reps-From entries."
* s4-drepl: don't setup a repsFrom from a DC that isn't a master for a NCAndrew Tridgell2010-04-271-5/+50
| | | | use hasMasterNCs to see what NCs we should be pulling from each DC
* s4-getncchanges: honor DRSUAPI_DRS_REF_GCSPNAndrew Tridgell2010-04-271-1/+3
| | | | this is an alternative way of establishing repsTo
* s4-repl: these messages are common, and don't deserve debug level 1Andrew Tridgell2010-04-271-2/+2
| | | | getting older attributes is quite common
* s4-repl: on a failed request, clear the current ptrAndrew Tridgell2010-04-271-0/+1
| | | | this prevents the queue being stuck on failure
* s4-repl: end repl request when not doing an UpdateRefsAndrew Tridgell2010-04-271-0/+2
| | | | otherwise the queue is stuck forever
* s4-repl: don't delete repsTo entry on DsReplicaSyncAndrew Tridgell2010-04-271-46/+12
| | | | | | we rely on the highestUSN counters instead. W2K8 does not resend DsUpdateRefs each time, and the WSPP docs do not indicate that repsTo should be deleted
* s3-build: Remove --enable-merged support.Jelmer Vernooij2010-04-264-668/+3
|
* s4: remove unused rap.h.Günther Deschner2010-04-261-358/+0
| | | | Guenther
* s3: remove unused rap.h.Günther Deschner2010-04-262-507/+0
| | | | Guenther
* s4: fix some build warnings.Günther Deschner2010-04-263-5/+5
| | | | Guenther
* s3: fix some build warnings.Günther Deschner2010-04-262-9/+9
| | | | Guenther
* s3: use generated rap header.Günther Deschner2010-04-265-9/+16
| | | | Guenther
* s4: use generated rap header.Günther Deschner2010-04-266-6/+6
| | | | Guenther
* s3: re-run make samba3-idl and add generated header file.Günther Deschner2010-04-261-0/+466
| | | | Guenther
* rap: add rap idl.Günther Deschner2010-04-261-0/+473
| | | | Guenther
* s4: rename RAP share_enum_info to share_info.Günther Deschner2010-04-264-28/+28
| | | | Guenther
* When walking the SMB2 requests queue, ensure the request is still "in flight"Jeremy Allison2010-04-261-1/+10
| | | | | | | | | | | | before examining the details. SMB2 requests stay on the queue until their out.vector has been send, only then are they talloc_free'd. Thanks for Ira Cooper <ira@wakeful.net> for giving me the backtrace showing this. Jeremy.
* Fix crash when rescheduling oplock open.Jeremy Allison2010-04-261-0/+9
| | | | Jeremy.
* s3: Implement "net rpc user setprimarygroup"Volker Lendecke2010-04-261-0/+59
|
* s4-ddb: don't create partitions with the UNINSTANT flag setAndrew Tridgell2010-04-261-1/+14
| | | | | | | these partitions and not on the server we are replicating from. Also check for deleted partitions. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: allow getncchanges requests to non WRIT_REP partitions for extended opsAndrew Tridgell2010-04-261-1/+2
| | | | | | Needed for RID allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: don't send uninstantiated objects in getncchangesAndrew Tridgell2010-04-261-0/+5
| | | | | | This includes deleted partitions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drepl: don't send an UpdateRefs unless its a plain replicationAndrew Tridgell2010-04-261-1/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: cope with realname for install of non-python libsAndrew Tridgell2010-04-262-2/+8
| | | | this fixes the install of mit_samba.so
* s4-drs: make links to foreign partitions non-fatalAndrew Tridgell2010-04-261-8/+6
| | | | | | | DN links outside the set of partitions we are replication should be allowed. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: automatically run autogen-waf.sh when neededAndrew Tridgell2010-04-261-4/+2
|
* s4-heimdalbuild: remove LIBNETIF dependency from HEIMDAL_GSSAPIAndrew Tridgell2010-04-261-1/+1
| | | | this avoids the s3compat layer from getting duplicate interfaces code
* build: normalise paths in unique source checkingAndrew Tridgell2010-04-261-1/+1
|
* build: a library is only empty if it has no depsAndrew Tridgell2010-04-261-3/+3
|
* build: use option_group() not add_option_group()Andrew Tridgell2010-04-261-1/+1
| | | | option_group() ensures we don't end up with duplicate groups