summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-27s4:torture - GetAnyDCName - adaptionsMatthias Dieter Wallnöfer1-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>
2010-04-27s4:dcesrv_netr_GetAnyDCName - improve the call according to the MS-NRPC ↵Matthias Dieter Wallnöfer1-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>
2010-04-27s4:torture - DsRAddressesToSitenames - enhance the testsuiteMatthias Dieter Wallnöfer1-24/+264
This shows the Windows behaviour of these two calls which we should match. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the ↵Matthias Dieter Wallnöfer1-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>
2010-04-27s4:CLDAP server - make use of the new "samdb_client_site_name" callMatthias Dieter Wallnöfer1-2/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27s4:util - add a function which finds the matching client site using the ↵Matthias Dieter Wallnöfer1-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>
2010-04-27s4-drsdevel: support sites in drs developer scriptsAndrew Tridgell3-3/+7
2010-04-27s4-vampire: show main CLDAP response attributes during vampireAndrew Tridgell1-0/+4
2010-04-27s4-repl: added a workaround for WERR_DS_DRA_NO_REPLICA DsReplicaSync errorsAndrew Tridgell2-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
2010-04-26Correctly report share types (now Win7 makes RPC calls against us).Jeremy Allison1-1/+7
Jeremy.
2010-04-26Plumb in get_nt_acl into SMB2.Jeremy Allison3-46/+174
Jeremy.
2010-04-27s4-dns: fixed dc.dc duplication in DNS update listAndrew Tridgell1-2/+2
2010-04-27s4-drs: add entries to repsTo based on calculated repsFromAndrew Tridgell1-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."
2010-04-27s4-drepl: don't setup a repsFrom from a DC that isn't a master for a NCAndrew Tridgell1-5/+50
use hasMasterNCs to see what NCs we should be pulling from each DC
2010-04-27s4-getncchanges: honor DRSUAPI_DRS_REF_GCSPNAndrew Tridgell1-1/+3
this is an alternative way of establishing repsTo
2010-04-27s4-repl: these messages are common, and don't deserve debug level 1Andrew Tridgell1-2/+2
getting older attributes is quite common
2010-04-27s4-repl: on a failed request, clear the current ptrAndrew Tridgell1-0/+1
this prevents the queue being stuck on failure
2010-04-27s4-repl: end repl request when not doing an UpdateRefsAndrew Tridgell1-0/+2
otherwise the queue is stuck forever
2010-04-27s4-repl: don't delete repsTo entry on DsReplicaSyncAndrew Tridgell1-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
2010-04-26s3-build: Remove --enable-merged support.Jelmer Vernooij4-668/+3
2010-04-26s4: remove unused rap.h.Günther Deschner1-358/+0
Guenther
2010-04-26s3: remove unused rap.h.Günther Deschner2-507/+0
Guenther
2010-04-26s4: fix some build warnings.Günther Deschner3-5/+5
Guenther
2010-04-26s3: fix some build warnings.Günther Deschner2-9/+9
Guenther
2010-04-26s3: use generated rap header.Günther Deschner5-9/+16
Guenther
2010-04-26s4: use generated rap header.Günther Deschner6-6/+6
Guenther
2010-04-26s3: re-run make samba3-idl and add generated header file.Günther Deschner1-0/+466
Guenther
2010-04-26rap: add rap idl.Günther Deschner1-0/+473
Guenther
2010-04-26s4: rename RAP share_enum_info to share_info.Günther Deschner4-28/+28
Guenther
2010-04-26When walking the SMB2 requests queue, ensure the request is still "in flight"Jeremy Allison1-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.
2010-04-26Fix crash when rescheduling oplock open.Jeremy Allison1-0/+9
Jeremy.
2010-04-26s3: Implement "net rpc user setprimarygroup"Volker Lendecke1-0/+59
2010-04-26s4-ddb: don't create partitions with the UNINSTANT flag setAndrew Tridgell1-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>
2010-04-26s4-drs: allow getncchanges requests to non WRIT_REP partitions for extended opsAndrew Tridgell1-1/+2
Needed for RID allocation Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-26s4-drs: don't send uninstantiated objects in getncchangesAndrew Tridgell1-0/+5
This includes deleted partitions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-26s4-drepl: don't send an UpdateRefs unless its a plain replicationAndrew Tridgell1-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-26build: cope with realname for install of non-python libsAndrew Tridgell2-2/+8
this fixes the install of mit_samba.so
2010-04-26s4-drs: make links to foreign partitions non-fatalAndrew Tridgell1-8/+6
DN links outside the set of partitions we are replication should be allowed. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-26build: automatically run autogen-waf.sh when neededAndrew Tridgell1-4/+2
2010-04-26s4-heimdalbuild: remove LIBNETIF dependency from HEIMDAL_GSSAPIAndrew Tridgell1-1/+1
this avoids the s3compat layer from getting duplicate interfaces code
2010-04-26build: normalise paths in unique source checkingAndrew Tridgell1-1/+1
2010-04-26build: a library is only empty if it has no depsAndrew Tridgell1-3/+3
2010-04-26build: use option_group() not add_option_group()Andrew Tridgell1-1/+1
option_group() ensures we don't end up with duplicate groups
2010-04-26build: cope with duplicates in source listsAndrew Tridgell1-2/+5
2010-04-25s3: async_domain_request is no longer usedVolker Lendecke2-67/+0
2010-04-25s3: Convert add_trusted_domains() to wb_domain_request_send()Volker Lendecke1-22/+19
2010-04-25s3: Simplify trustdom_stateVolker Lendecke1-10/+5
Don't store information explicitly as boolean flags that can be easily retrieved from the domain when it's actually needed.
2010-04-25s3: Make "struct trustdom_state" its own talloc contextVolker Lendecke1-14/+9
2010-04-25libwbclient: Talloc is no longer usedVolker Lendecke2-3/+0
2010-04-24Revert "tsocket: not all systems have IPV6_V6ONLY"Stefan Metzmacher1-2/+2
This reverts commit 63fc3978089df403d7e63462593784ff3d05e6e7. We now don't support IPv6 when IPV6_V6ONLY isn't available, as we rely on the behavior. metze