summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* s4:ntvfs/ipc: pass the already given tsocket_address structures to the ↵Stefan Metzmacher2010-04-271-29/+2
| | | | | | named_pipe_auth code metze
* s4:smb_server: pass tsocket_addresses to the ntvfs layerStefan Metzmacher2010-04-272-4/+8
| | | | metze
* s4:ntvfs: add tsocket based addresses to ntvfs_contextStefan Metzmacher2010-04-272-0/+27
| | | | metze
* s4:rpc_server: remove 'socket_address' based functionsStefan Metzmacher2010-04-273-23/+0
| | | | metze
* s4:rpc_server/srvsvc: pass tsocket_address to the ntvfs layerStefan Metzmacher2010-04-271-13/+5
| | | | metze
* s4:rpc_server/spoolss: use tsocket_address in dcesrv_spoolss_check_server_name()Stefan Metzmacher2010-04-271-4/+7
| | | | metze
* s4:rpc_server/netlogon: use tsocket_address in dcesrv_netr_DsRGetDCNameEx2()Stefan Metzmacher2010-04-271-5/+9
| | | | metze
* s4:rpc_server: remember the local and remote addressStefan Metzmacher2010-04-273-0/+18
| | | | metze
* s4:service_named_pipe: use the passed client and server addressesStefan Metzmacher2010-04-271-1/+38
| | | | | | | This gives the rpc server code the correct client and server ip addresses for ncacn_np. metze
* s4:cldap_server: allow src_address = NULL in fill_netlogon_samlogon_response()Stefan Metzmacher2010-04-271-2/+10
| | | | | | | If we don't have the client address, we assume it's a local call, maybe ncalrpc. metze
* s4:dsdb/common: if we don't have the ip of the client return the server site ↵Stefan Metzmacher2010-04-271-0/+8
| | | | | | as client site metze
* lib/tsocket: add tsocket_address_is_unix() functionStefan Metzmacher2010-04-272-0/+29
| | | | metze
* lib/tsocket: add tsocket_address_is_inet() functionStefan Metzmacher2010-04-272-0/+54
| | | | metze
* s4-test: make spnupdate work without make installAndrew Tridgell2010-04-271-0/+1
| | | | thanks to metze for noticing this
* s4-provision: setup spn_update_list in provisionAndrew Tridgell2010-04-271-1/+5
|
* s4-dns: install samba_spnupdateAndrew Tridgell2010-04-272-2/+2
|
* s4-dns: call spn update command alongside dns updateAndrew Tridgell2010-04-271-0/+46
| | | | call samba_spnupdate at the same time as samba_spnupdate
* s4-param: added a "spn update command" optionAndrew Tridgell2010-04-272-0/+5
| | | | used by SPN update code
* s4-dsdb: added samba_spnupdateAndrew Tridgell2010-04-272-0/+164
| | | | | this script adds all our required servicePrincipalName entries at runtime. The admin can add more entries to spn_update_list as needed
* s4-dns: explain what the file is forAndrew Tridgell2010-04-271-0/+2
|
* s4-dns: cope better with comments in dns_update_listAndrew Tridgell2010-04-271-7/+4
|
* s4:gensec Use a different form of 'name' in GSSAPI import_name()Andrew Bartlett2010-04-271-3/+3
| | | | | | | The idea here is to make it not dependent on the system's default realm. Andrew Bartlett
* Simple fix to prevent crash for non-pac principalsMarcel Ritter2010-04-271-0/+5
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:kerberos Give a better error message than "Could not allocate memory"Andrew Bartlett2010-04-271-3/+3
| | | | Andrew Bartlett
* s4:kcc_periodic.c - fix counter typesMatthias Dieter Wallnöfer2010-04-271-1/+1
| | | | We are counting LDB objects here -> therefore "unsigned"
* s4:wb_cmd_getdcname.c - fix s4 winbind up regarding the new correct ↵Matthias Dieter Wallnöfer2010-04-271-0/+5
| | | | | | | "GetAnyDCName" behaviour We get back "NO_SUCH_DOMAIN" when we query the PDC. This is fine and therefore we use the "logon_server" variable as "dcname".
* s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the ↵Matthias Dieter Wallnöfer2010-04-271-16/+98
| | | | | | client site information This behaviour should be similar to the one of Windows Server (in my case 2008)
* Revert "s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly ↵Matthias Dieter Wallnöfer2010-04-271-93/+16
| | | | | | | | with the client site information" This reverts commit 908d982980846257b65ab576d31131e8793e9399. I need to merge the improved version of this commit.
* Revert "s4-netlogon: fixed breakage of dcesrv_netr_GetAnyDCName in sites patch"Matthias Dieter Wallnöfer2010-04-271-0/+6
| | | | | | | This reverts commit e88a54a87e185b44e2d216bd853e6a87bf950be6. This isn't the correct behaviour. See MS-NRPC documentation under the "GetAnyDCName" section.
* s4-libnet: cope with an empty client site name from CLDAPAndrew Tridgell2010-04-271-0/+5
| | | | | | We fall back to the server site name in a vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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."