idra/samba.git
14 years agos4-waf: added --enable-build-farm configure option
Andrew Tridgell [Wed, 28 Apr 2010 21:47:57 +0000 (07:47 +1000)]
s4-waf: added --enable-build-farm configure option

this adds a smbtorture.static binary which s3 will use in the build
farm

14 years agobuild: added enabled=True/False option to SAMBA_BINARY()
Andrew Tridgell [Wed, 28 Apr 2010 21:47:19 +0000 (07:47 +1000)]
build: added enabled=True/False option to SAMBA_BINARY()

14 years agoUpdate (C) for 2010.
Jeremy Allison [Wed, 28 Apr 2010 21:56:12 +0000 (14:56 -0700)]
Update (C) for 2010.

Jeremy.

14 years agos4-selftest: skip RAP-PRINTING tests.
Günther Deschner [Wed, 28 Apr 2010 21:20:46 +0000 (23:20 +0200)]
s4-selftest: skip RAP-PRINTING tests.

Guenther

14 years agos3-selftest: enable RAP-PRINTING against s3.
Günther Deschner [Wed, 28 Apr 2010 21:19:33 +0000 (23:19 +0200)]
s3-selftest: enable RAP-PRINTING against s3.

Guenther

14 years agos3-lanman: support level 0 NetPrintQEnum RAP query.
Günther Deschner [Wed, 28 Apr 2010 21:11:37 +0000 (23:11 +0200)]
s3-lanman: support level 0 NetPrintQEnum RAP query.

Guenther

14 years agos4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.
Günther Deschner [Wed, 28 Apr 2010 21:08:14 +0000 (23:08 +0200)]
s4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.

Guenther

14 years agos4-smbtorture: add test for rap_NetPrintQEnum.
Günther Deschner [Wed, 28 Apr 2010 16:29:18 +0000 (18:29 +0200)]
s4-smbtorture: add test for rap_NetPrintQEnum.

Guenther

14 years agos4-smbtorture: add RAP-PRINTING suite.
Günther Deschner [Fri, 23 Apr 2010 22:45:40 +0000 (00:45 +0200)]
s4-smbtorture: add RAP-PRINTING suite.

Guenther

14 years agos4-smbtorture: add smbcli_rap_netprintqenum.
Günther Deschner [Wed, 28 Apr 2010 10:50:58 +0000 (12:50 +0200)]
s4-smbtorture: add smbcli_rap_netprintqenum.

Guenther

14 years agos3: re-run make samba3-idl
Günther Deschner [Wed, 28 Apr 2010 15:43:47 +0000 (17:43 +0200)]
s3: re-run make samba3-idl

Guenther

14 years agorap: add rap_NetPrintQEnum to IDL.
Günther Deschner [Wed, 28 Apr 2010 10:50:45 +0000 (12:50 +0200)]
rap: add rap_NetPrintQEnum to IDL.

Guenther

14 years agoConnect set security descriptor into SMB2 code.
Jeremy Allison [Wed, 28 Apr 2010 21:13:22 +0000 (14:13 -0700)]
Connect set security descriptor into SMB2 code.

Jeremy.

14 years agos4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
Günther Deschner [Wed, 28 Apr 2010 15:03:30 +0000 (17:03 +0200)]
s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
query some existing values.

Guenther

14 years agos4-smbtorture: add a test that adds a printer incl. devicemode.
Günther Deschner [Wed, 28 Apr 2010 15:00:53 +0000 (17:00 +0200)]
s4-smbtorture: add a test that adds a printer incl. devicemode.

Guenther

14 years agos3:smbd: make fsp->fake_file_handle a talloc child of fsp
Stefan Metzmacher [Tue, 27 Apr 2010 13:20:25 +0000 (15:20 +0200)]
s3:smbd: make fsp->fake_file_handle a talloc child of fsp

metze

14 years agos3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()
Stefan Metzmacher [Wed, 28 Apr 2010 12:36:10 +0000 (14:36 +0200)]
s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()

metze

14 years agos4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW
Stefan Metzmacher [Wed, 28 Apr 2010 10:27:09 +0000 (12:27 +0200)]
s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW

metze

14 years agolibcli/named_pipe_auth: we need to hide length of the message mode header from the...
Stefan Metzmacher [Wed, 28 Apr 2010 08:43:19 +0000 (10:43 +0200)]
libcli/named_pipe_auth: we need to hide length of the message mode header from the caller

metze

14 years agos4:web_server: use tsocket_address functions to get the local ip and port
Stefan Metzmacher [Wed, 28 Apr 2010 12:52:40 +0000 (14:52 +0200)]
s4:web_server: use tsocket_address functions to get the local ip and port

metze
(cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405)

14 years agos4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer...
Günther Deschner [Wed, 28 Apr 2010 11:34:31 +0000 (13:34 +0200)]
s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.

Guenther

14 years agos4/net_drs: Fix Connection name printed
Kamen Mazdrashki [Mon, 26 Apr 2010 12:48:18 +0000 (15:48 +0300)]
s4/net_drs: Fix Connection name printed

14 years agos4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID
Kamen Mazdrashki [Sun, 25 Apr 2010 21:22:53 +0000 (00:22 +0300)]
s4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID

This function is used in DRSUpdateRefs() implementation where we
get DSA's objectGUID rather than invocationId

14 years agos3: Make a debug msg more readable
Volker Lendecke [Wed, 28 Apr 2010 08:54:57 +0000 (10:54 +0200)]
s3: Make a debug msg more readable

14 years agoFix the "allow_smb2" bug being set to false that was driving me mad :-).
Jeremy Allison [Wed, 28 Apr 2010 05:15:17 +0000 (22:15 -0700)]
Fix the "allow_smb2" bug being set to false that was driving me mad :-).

The first packet from a rebooted Win7 on an SMB2 connection is an SMB1
negprot...

Jeremy.

14 years agos4:provisionbackend Don't loop forever waiting for OpenLDAP
Andrew Bartlett [Wed, 28 Apr 2010 00:39:05 +0000 (10:39 +1000)]
s4:provisionbackend Don't loop forever waiting for OpenLDAP

We need to give a good error when we can't get OpenLDAP to accept our
connections.

Andrew Bartlett

14 years agoDon't return a potentially uninitialized NT_STATUS. We can now see user lists in...
Jeremy Allison [Wed, 28 Apr 2010 00:09:40 +0000 (17:09 -0700)]
Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs.

Jeremy.

14 years agoAdd debug statements so I can track the flow of RPC data.
Jeremy Allison [Wed, 28 Apr 2010 00:07:44 +0000 (17:07 -0700)]
Add debug statements so I can track the flow of RPC data.

Jeremy.

14 years agos3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().
Günther Deschner [Tue, 27 Apr 2010 23:11:19 +0000 (01:11 +0200)]
s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().

With this, I think, all implemented RAP printing calls are routed over SPOOLSS.
Torture tests to follow...

Guenther

14 years agos3-lanman: fix debug message in api_WPrintJobEnumerate().
Günther Deschner [Tue, 27 Apr 2010 23:10:49 +0000 (01:10 +0200)]
s3-lanman: fix debug message in api_WPrintJobEnumerate().

Guenther

14 years agos3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().
Günther Deschner [Tue, 27 Apr 2010 23:07:08 +0000 (01:07 +0200)]
s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().

Guenther

14 years agos3-lanman: remove unused code.
Günther Deschner [Tue, 27 Apr 2010 21:12:40 +0000 (23:12 +0200)]
s3-lanman: remove unused code.

Guenther

14 years agos3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.
Günther Deschner [Tue, 27 Apr 2010 20:55:11 +0000 (22:55 +0200)]
s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.

Guenther

14 years agoDon't return an intermediate reply on async on a pipe call (Windows doesn't).
Jeremy Allison [Tue, 27 Apr 2010 23:07:12 +0000 (16:07 -0700)]
Don't return an intermediate reply on async on a pipe call (Windows doesn't).

Jeremy.

14 years agos3-lanman: use spoolss for api_PrintJobInfo().
Günther Deschner [Tue, 27 Apr 2010 17:58:32 +0000 (19:58 +0200)]
s3-lanman: use spoolss for api_PrintJobInfo().

Guenther

14 years agos4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().
Günther Deschner [Tue, 27 Apr 2010 22:05:41 +0000 (00:05 +0200)]
s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().

Guenther

14 years agos4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.
Günther Deschner [Tue, 27 Apr 2010 21:33:05 +0000 (23:33 +0200)]
s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.

Guenther

14 years agos4-smbtorture: be more liberal when spoolss_SetJob fails.
Günther Deschner [Tue, 27 Apr 2010 21:31:25 +0000 (23:31 +0200)]
s4-smbtorture: be more liberal when spoolss_SetJob fails.

For some reason, spoolss_SetJob pausing and resuming of printjob is still racy
on the buildfarm. Converting the fatal assert to a warning for now.

Guenther

14 years agos3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).
Günther Deschner [Tue, 27 Apr 2010 17:57:47 +0000 (19:57 +0200)]
s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).

Guenther

14 years agos3-lanman: remove unsupported print_job_set_place().
Günther Deschner [Tue, 27 Apr 2010 17:30:49 +0000 (19:30 +0200)]
s3-lanman: remove unsupported print_job_set_place().

Guenther

14 years agoFix more S3 build breakage. Matthias, please ensure S3 builds when
Jeremy Allison [Tue, 27 Apr 2010 19:10:20 +0000 (12:10 -0700)]
Fix more S3 build breakage. Matthias, please ensure S3 builds when
changing common code.

Jeremy.

14 years agoInstall spn_update_list to setup/ dir
Marcel Ritter [Tue, 27 Apr 2010 11:53:04 +0000 (13:53 +0200)]
Install spn_update_list to setup/ dir

Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
14 years agos3:libads/ldap.c - fix a build breakage
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 18:45:06 +0000 (20:45 +0200)]
s3:libads/ldap.c - fix a build breakage

14 years agoRevert "s4:web_server: use tsocket_address functions to get the local ip and port"
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 16:25:21 +0000 (18:25 +0200)]
Revert "s4:web_server: use tsocket_address functions to get the local ip and port"

This reverts commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405.

This broke the build.

14 years agos4:cldap_server/netlogon.c - handle the domain SID correctly
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 16:07:09 +0000 (18:07 +0200)]
s4:cldap_server/netlogon.c - handle the domain SID correctly

14 years agonbt: samlogon/netlogon structures - unify denominations
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 14:56:36 +0000 (16:56 +0200)]
nbt: samlogon/netlogon structures - unify denominations

14 years agos4:fill_netlogon_samlogon_response - reorder assign operations (to be consistent)
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 14:32:46 +0000 (16:32 +0200)]
s4:fill_netlogon_samlogon_response - reorder assign operations (to be consistent)

14 years agos4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short netbios domainname
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 14:31:07 +0000 (16:31 +0200)]
s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short netbios domainname

This call is only for the DC mode.

14 years agos4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatible
Matthias Dieter Wallnöfer [Tue, 27 Apr 2010 13:27:40 +0000 (15:27 +0200)]
s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatible

14 years agoRevert "s3-build: Remove --enable-merged support."
Günther Deschner [Tue, 27 Apr 2010 16:00:43 +0000 (18:00 +0200)]
Revert "s3-build: Remove --enable-merged support."

This reverts commit f8fc7fcbeb8141c5b2775e2219bae17c55ad4a3c.

Was that pushed by coincidence ? merged build is really, really required over
here.

14 years agos4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.
Günther Deschner [Tue, 27 Apr 2010 15:52:47 +0000 (17:52 +0200)]
s4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.

Guenther

14 years agos3-spoolss: publish "Monitor" in winreg for drivers.
Günther Deschner [Tue, 27 Apr 2010 15:32:34 +0000 (17:32 +0200)]
s3-spoolss: publish "Monitor" in winreg for drivers.

Found by torture test.

Guenther

14 years agos3-spoolss: fix winreg attribute for storing datatype.
Günther Deschner [Tue, 27 Apr 2010 14:48:29 +0000 (16:48 +0200)]
s3-spoolss: fix winreg attribute for storing datatype.

Found by torture test (and checked with w2k, w2k3 and w2k8).

Guenther

14 years agos3-spoolss: fix some uninitialized variables.
Günther Deschner [Tue, 27 Apr 2010 15:55:55 +0000 (17:55 +0200)]
s3-spoolss: fix some uninitialized variables.

Guenther

14 years agos3:smbd: keep local and remote tsocket_address per connection
Stefan Metzmacher [Tue, 27 Apr 2010 11:36:21 +0000 (13:36 +0200)]
s3:smbd: keep local and remote tsocket_address per connection

metze

14 years agos3/packaging: make rpm build work by overriding strict linker flags
Björn Jacke [Tue, 27 Apr 2010 15:06:55 +0000 (17:06 +0200)]
s3/packaging: make rpm build work by overriding strict linker flags

14 years agos4:rpc_server: remove unused socket_address based functions
Stefan Metzmacher [Tue, 27 Apr 2010 14:49:00 +0000 (16:49 +0200)]
s4:rpc_server: remove unused socket_address based functions

metze

14 years agos4:web_server: use tsocket_address functions to get the local ip and port
Stefan Metzmacher [Tue, 27 Apr 2010 14:36:26 +0000 (16:36 +0200)]
s4:web_server: use tsocket_address functions to get the local ip and port

metze

14 years agos4:smb_server: use tsocket_address_string() for debugging the client address
Stefan Metzmacher [Tue, 27 Apr 2010 14:05:08 +0000 (16:05 +0200)]
s4:smb_server: use tsocket_address_string() for debugging the client address

metze

14 years agos4:wrepl_server: use tsocket_address functions to get the peer ip
Stefan Metzmacher [Tue, 27 Apr 2010 14:17:28 +0000 (16:17 +0200)]
s4:wrepl_server: use tsocket_address functions to get the peer ip

metze

14 years agos4:lib/registry: fix the waf build
Stefan Metzmacher [Tue, 27 Apr 2010 15:04:32 +0000 (17:04 +0200)]
s4:lib/registry: fix the waf build

The pass to a source file is relative to the wscript* file.

metze

14 years agos4-smbtorture: upload the full cups driver, otherwise windows will not allow using it.
Günther Deschner [Tue, 27 Apr 2010 13:56:09 +0000 (15:56 +0200)]
s4-smbtorture: upload the full cups driver, otherwise windows will not allow using it.

Guenther

14 years agos4-smbtorture: only compare level 3 for s3 when checking winreg and spoolss_Driver.
Günther Deschner [Tue, 27 Apr 2010 13:48:03 +0000 (15:48 +0200)]
s4-smbtorture: only compare level 3 for s3 when checking winreg and spoolss_Driver.

Guenther

14 years agos4-smbtorture: mention architecture of added drivers in debug output.
Günther Deschner [Tue, 27 Apr 2010 12:13:12 +0000 (14:13 +0200)]
s4-smbtorture: mention architecture of added drivers in debug output.

Guenther

14 years agos4-smbtorture: make sure to not attempt to remove a driver file twice.
Günther Deschner [Tue, 27 Apr 2010 13:48:52 +0000 (15:48 +0200)]
s4-smbtorture: make sure to not attempt to remove a driver file twice.

Guenther

14 years agos4-smbtorture: setup all members of level 3,4,6,8 driver add.
Günther Deschner [Tue, 27 Apr 2010 11:15:04 +0000 (13:15 +0200)]
s4-smbtorture: setup all members of level 3,4,6,8 driver add.

Guenther

14 years agos4-smbtorture: use a torture_printer_context and upload own driver for RPC-SPOOLSS...
Günther Deschner [Tue, 27 Apr 2010 09:30:35 +0000 (11:30 +0200)]
s4-smbtorture: use a torture_printer_context and upload own driver for RPC-SPOOLSS-PRINTER test.

Guenther

14 years agos4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.
Günther Deschner [Tue, 27 Apr 2010 08:38:36 +0000 (10:38 +0200)]
s4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.

Guenther

14 years agos4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.
Günther Deschner [Mon, 26 Apr 2010 21:35:19 +0000 (23:35 +0200)]
s4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.

Guenther

14 years agos3: use shared registry functions.
Günther Deschner [Tue, 27 Apr 2010 14:38:40 +0000 (16:38 +0200)]
s3: use shared registry functions.

Guenther

14 years agos4: use shared registry functions.
Günther Deschner [Tue, 27 Apr 2010 14:37:56 +0000 (16:37 +0200)]
s4: use shared registry functions.

Guenther

14 years agoregistry: add some shared registry helper functions.
Günther Deschner [Tue, 27 Apr 2010 14:37:06 +0000 (16:37 +0200)]
registry: add some shared registry helper functions.

Guenther

14 years agos4-smbtorture: remove some typecasts in rap tests.
Günther Deschner [Mon, 26 Apr 2010 21:21:07 +0000 (23:21 +0200)]
s4-smbtorture: remove some typecasts in rap tests.

Guenther

14 years agos4-netlogon: fixed getDcNameEx2 for blank inputs
Andrew Tridgell [Tue, 27 Apr 2010 13:39:57 +0000 (23:39 +1000)]
s4-netlogon: fixed getDcNameEx2 for blank inputs

w2k8r2 returns the local DC information on no inputs for
getDcNameEx2. This is needed for starting dsa.msc (ADUC) on
Win7.

CDLAP on the same call returns an error. This uses a parameter
fill_on_blank_request to distinguish the two cases.

14 years agos4:wrepl_server: use tsocket_address functions to get the peer ip
Stefan Metzmacher [Tue, 27 Apr 2010 14:17:28 +0000 (16:17 +0200)]
s4:wrepl_server: use tsocket_address functions to get the peer ip

metze

14 years agos4:smb_server: use tsocket_address_string() for debugging the client address
Stefan Metzmacher [Tue, 27 Apr 2010 14:05:08 +0000 (16:05 +0200)]
s4:smb_server: use tsocket_address_string() for debugging the client address

metze

14 years agos4:smb_server: use tsocket_address_string() to display the client address
Stefan Metzmacher [Tue, 27 Apr 2010 13:45:12 +0000 (15:45 +0200)]
s4:smb_server: use tsocket_address_string() to display the client address

metze

14 years agos4:smb_server: remove unused socket_address functions
Stefan Metzmacher [Tue, 27 Apr 2010 13:44:40 +0000 (15:44 +0200)]
s4:smb_server: remove unused socket_address functions

metze

14 years agos4:ntvfs/ipc: remote // debug comments
Stefan Metzmacher [Tue, 27 Apr 2010 13:06:33 +0000 (15:06 +0200)]
s4:ntvfs/ipc: remote // debug comments

metze

14 years agos4-torture: not all platforms have defines like AF_AX25
Andrew Tridgell [Tue, 27 Apr 2010 11:56:51 +0000 (21:56 +1000)]
s4-torture: not all platforms have defines like AF_AX25

all we need are invalid values here, so just use fixd high values.

14 years agos4:ntvfs: remove socket_address based functions
Stefan Metzmacher [Mon, 26 Apr 2010 11:38:00 +0000 (13:38 +0200)]
s4:ntvfs: remove socket_address based functions

metze

14 years agos4:ntvfs/ipc: pass the already given tsocket_address structures to the named_pipe_aut...
Stefan Metzmacher [Mon, 26 Apr 2010 11:37:12 +0000 (13:37 +0200)]
s4:ntvfs/ipc: pass the already given tsocket_address structures to the named_pipe_auth code

metze

14 years agos4:smb_server: pass tsocket_addresses to the ntvfs layer
Stefan Metzmacher [Mon, 26 Apr 2010 11:34:44 +0000 (13:34 +0200)]
s4:smb_server: pass tsocket_addresses to the ntvfs layer

metze

14 years agos4:ntvfs: add tsocket based addresses to ntvfs_context
Stefan Metzmacher [Mon, 26 Apr 2010 11:40:15 +0000 (13:40 +0200)]
s4:ntvfs: add tsocket based addresses to ntvfs_context

metze

14 years agos4:rpc_server: remove 'socket_address' based functions
Stefan Metzmacher [Mon, 26 Apr 2010 11:39:36 +0000 (13:39 +0200)]
s4:rpc_server: remove 'socket_address' based functions

metze

14 years agos4:rpc_server/srvsvc: pass tsocket_address to the ntvfs layer
Stefan Metzmacher [Mon, 26 Apr 2010 11:27:51 +0000 (13:27 +0200)]
s4:rpc_server/srvsvc: pass tsocket_address to the ntvfs layer

metze

14 years agos4:rpc_server/spoolss: use tsocket_address in dcesrv_spoolss_check_server_name()
Stefan Metzmacher [Mon, 26 Apr 2010 11:22:01 +0000 (13:22 +0200)]
s4:rpc_server/spoolss: use tsocket_address in dcesrv_spoolss_check_server_name()

metze

14 years agos4:rpc_server/netlogon: use tsocket_address in dcesrv_netr_DsRGetDCNameEx2()
Stefan Metzmacher [Mon, 26 Apr 2010 11:18:41 +0000 (13:18 +0200)]
s4:rpc_server/netlogon: use tsocket_address in dcesrv_netr_DsRGetDCNameEx2()

metze

14 years agos4:rpc_server: remember the local and remote address
Stefan Metzmacher [Mon, 26 Apr 2010 11:06:07 +0000 (13:06 +0200)]
s4:rpc_server: remember the local and remote address

metze

14 years agos4:service_named_pipe: use the passed client and server addresses
Stefan Metzmacher [Mon, 26 Apr 2010 11:56:06 +0000 (13:56 +0200)]
s4:service_named_pipe: use the passed client and server addresses

This gives the rpc server code the correct client and server
ip addresses for ncacn_np.

metze

14 years agos4:cldap_server: allow src_address = NULL in fill_netlogon_samlogon_response()
Stefan Metzmacher [Tue, 27 Apr 2010 08:22:25 +0000 (10:22 +0200)]
s4:cldap_server: allow src_address = NULL in fill_netlogon_samlogon_response()

If we don't have the client address, we assume it's a local call,
maybe ncalrpc.

metze

14 years agos4:dsdb/common: if we don't have the ip of the client return the server site as clien...
Stefan Metzmacher [Tue, 27 Apr 2010 08:21:28 +0000 (10:21 +0200)]
s4:dsdb/common: if we don't have the ip of the client return the server site as client site

metze

14 years agolib/tsocket: add tsocket_address_is_unix() function
Stefan Metzmacher [Tue, 27 Apr 2010 08:41:46 +0000 (10:41 +0200)]
lib/tsocket: add tsocket_address_is_unix() function

metze

14 years agolib/tsocket: add tsocket_address_is_inet() function
Stefan Metzmacher [Tue, 27 Apr 2010 08:34:15 +0000 (10:34 +0200)]
lib/tsocket: add tsocket_address_is_inet() function

metze

14 years agos4-test: make spnupdate work without make install
Andrew Tridgell [Tue, 27 Apr 2010 09:45:49 +0000 (19:45 +1000)]
s4-test: make spnupdate work without make install

thanks to metze for noticing this

14 years agos4-provision: setup spn_update_list in provision
Andrew Tridgell [Tue, 27 Apr 2010 08:38:47 +0000 (18:38 +1000)]
s4-provision: setup spn_update_list in provision

14 years agos4-dns: install samba_spnupdate
Andrew Tridgell [Tue, 27 Apr 2010 08:38:25 +0000 (18:38 +1000)]
s4-dns: install samba_spnupdate

14 years agos4-dns: call spn update command alongside dns update
Andrew Tridgell [Tue, 27 Apr 2010 08:38:04 +0000 (18:38 +1000)]
s4-dns: call spn update command alongside dns update

call samba_spnupdate at the same time as samba_spnupdate

14 years agos4-param: added a "spn update command" option
Andrew Tridgell [Tue, 27 Apr 2010 08:37:12 +0000 (18:37 +1000)]
s4-param: added a "spn update command" option

used by SPN update code

14 years agos4-dsdb: added samba_spnupdate
Andrew Tridgell [Tue, 27 Apr 2010 08:25:55 +0000 (18:25 +1000)]
s4-dsdb: added samba_spnupdate

this script adds all our required servicePrincipalName entries at
runtime. The admin can add more entries to spn_update_list as needed