metze/samba/wip.git
13 years agos4/ldb: fix standalone build
Björn Jacke [Wed, 1 Sep 2010 09:22:09 +0000 (11:22 +0200)]
s4/ldb: fix standalone build

13 years agos3-ctdb: ctdbd_init_connection() is static to this file.
Günther Deschner [Wed, 1 Sep 2010 08:56:17 +0000 (10:56 +0200)]
s3-ctdb: ctdbd_init_connection() is static to this file.

Guenther

13 years agos3-auth: fix uninitialized error code in get_guest_info3().
Günther Deschner [Wed, 1 Sep 2010 08:51:13 +0000 (10:51 +0200)]
s3-auth: fix uninitialized error code in get_guest_info3().

Guenther

13 years agowinreg: add winreg_RestoreKeyFlags to IDL.
Günther Deschner [Tue, 31 Aug 2010 14:58:23 +0000 (16:58 +0200)]
winreg: add winreg_RestoreKeyFlags to IDL.

Guenther

13 years agos3-auth: remove global include of krb5pac.h.
Günther Deschner [Tue, 31 Aug 2010 21:09:39 +0000 (23:09 +0200)]
s3-auth: remove global include of krb5pac.h.

Guenther

13 years agos3-printing: add debug to get_correct_cversion().
Günther Deschner [Tue, 31 Aug 2010 14:58:54 +0000 (16:58 +0200)]
s3-printing: add debug to get_correct_cversion().

Guenther

13 years agos3-libads: avoid crashing in ads_keytab_list().
Günther Deschner [Tue, 31 Aug 2010 12:27:56 +0000 (14:27 +0200)]
s3-libads: avoid crashing in ads_keytab_list().

Heimdal's krb5_kt_start_seq_get() will leave a non 0 fd in the krb5_kt_cursor
struct when it cannot find a given keytab.

Guenther

13 years agos3-auth: remove unused variable in check_sam_security().
Günther Deschner [Tue, 31 Aug 2010 15:25:18 +0000 (17:25 +0200)]
s3-auth: remove unused variable in check_sam_security().

Guenther

13 years agos3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().
Günther Deschner [Tue, 31 Aug 2010 20:28:00 +0000 (22:28 +0200)]
s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().

Guenther

13 years agos3-kerberos: use smb_get_enctype_from_kt_entry() in
Günther Deschner [Tue, 31 Aug 2010 20:27:32 +0000 (22:27 +0200)]
s3-kerberos: use smb_get_enctype_from_kt_entry() in
get_mem_keytab_from_secrets().

Guenther

13 years agos3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().
Günther Deschner [Tue, 31 Aug 2010 09:04:40 +0000 (11:04 +0200)]
s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().

Guenther

13 years agos3-kerberos: use krb5 compat macros in fill_keytab_from_password().
Günther Deschner [Tue, 31 Aug 2010 09:00:03 +0000 (11:00 +0200)]
s3-kerberos: use krb5 compat macros in fill_keytab_from_password().

Guenther

13 years agos3-kerberos: fix flush_keytab() compile with heimdal.
Günther Deschner [Tue, 31 Aug 2010 09:01:23 +0000 (11:01 +0200)]
s3-kerberos: fix flush_keytab() compile with heimdal.

krb5_kt_cursor is not a pointer in heimdal but a struct.

Guenther

13 years agoRevert "s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday"
Björn Jacke [Tue, 31 Aug 2010 21:03:55 +0000 (23:03 +0200)]
Revert "s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday"

This reverts commit 659829851703797b47d398d3c71ad971b2c5dab7 which later on
needs some tweeks to not break some builds

13 years agos3: messaging_ctdbd_connection() was only called with procid_self()
Volker Lendecke [Tue, 31 Aug 2010 14:52:56 +0000 (16:52 +0200)]
s3: messaging_ctdbd_connection() was only called with procid_self()

Eventually we'll get this right...

13 years agos3: messaging_ctdbd_init potentially modifies my_vnn
Volker Lendecke [Tue, 31 Aug 2010 14:51:28 +0000 (16:51 +0200)]
s3: messaging_ctdbd_init potentially modifies my_vnn

If we call messaging_ctdbd_connection() we end up with the wrong vnn in our
messaging context.

This is a bit of a hack, get_my_vnn() needs to go eventually along with
procid_self()

13 years agos3: Make ctdbd_init_connection static
Volker Lendecke [Tue, 31 Aug 2010 14:11:10 +0000 (16:11 +0200)]
s3: Make ctdbd_init_connection static

13 years agos3: use fine grained time in netprot response
Björn Jacke [Wed, 12 May 2010 08:50:17 +0000 (10:50 +0200)]
s3: use fine grained time in netprot response

13 years agos4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday
Björn Jacke [Tue, 31 Aug 2010 11:11:13 +0000 (13:11 +0200)]
s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday

13 years agos3: use monotonic clock for time deltas in smbget
Björn Jacke [Tue, 31 Aug 2010 11:10:45 +0000 (13:10 +0200)]
s3: use monotonic clock for time deltas in smbget

13 years agotdb/waf: the deps for rt are provided by libreplace
Björn Jacke [Tue, 31 Aug 2010 11:06:39 +0000 (13:06 +0200)]
tdb/waf: the deps for rt are provided by libreplace

13 years agoreplace/waf: add rt to deps at this place
Björn Jacke [Tue, 31 Aug 2010 09:31:19 +0000 (11:31 +0200)]
replace/waf: add rt to deps at this place

13 years agos4: use GetTimeOfDay macro instead of gettimeofday
Björn Jacke [Tue, 31 Aug 2010 09:30:17 +0000 (11:30 +0200)]
s4: use GetTimeOfDay macro instead of gettimeofday

13 years agopackaging: build fixes
Volker Lendecke [Tue, 31 Aug 2010 09:29:55 +0000 (03:29 -0600)]
packaging: build fixes

13 years agos4/torture: use monotonic clock for time deltas in denytest
Björn Jacke [Mon, 30 Aug 2010 16:58:20 +0000 (18:58 +0200)]
s4/torture: use monotonic clock for time deltas in denytest

13 years agos4/ldb: use monotonic clock for time deltas in ldbtest
Björn Jacke [Mon, 30 Aug 2010 16:54:42 +0000 (18:54 +0200)]
s4/ldb: use monotonic clock for time deltas in ldbtest

13 years agos3: use monotonic time in timeout of sys_select_intr()
Björn Jacke [Mon, 30 Aug 2010 16:02:19 +0000 (18:02 +0200)]
s3: use monotonic time in timeout of sys_select_intr()

13 years agolib/util: add nsec_time_diff to calulate diffs from timespecs
Björn Jacke [Mon, 30 Aug 2010 15:56:37 +0000 (17:56 +0200)]
lib/util: add nsec_time_diff to calulate diffs from timespecs

13 years agos3: use monotonic clock for time deltas in namequery functions
Björn Jacke [Mon, 30 Aug 2010 13:46:22 +0000 (15:46 +0200)]
s3: use monotonic clock for time deltas in namequery functions

13 years agos3: use monotonic clock for time deltas in smbtar
Björn Jacke [Mon, 30 Aug 2010 13:44:54 +0000 (15:44 +0200)]
s3: use monotonic clock for time deltas in smbtar

13 years agos3: use monotonic clock for time deltas in smbclient
Björn Jacke [Mon, 30 Aug 2010 10:15:54 +0000 (12:15 +0200)]
s3: use monotonic clock for time deltas in smbclient

13 years agos3: add TspecDiff macro
Björn Jacke [Mon, 30 Aug 2010 13:30:16 +0000 (15:30 +0200)]
s3: add TspecDiff macro

13 years agos4:process_thread: use monotonic time for time deltas
Björn Jacke [Wed, 25 Aug 2010 10:23:50 +0000 (12:23 +0200)]
s4:process_thread: use monotonic time for time deltas

13 years agolib/util: add function to query the monotonic clock with the required fallback to...
Björn Jacke [Mon, 30 Aug 2010 10:10:29 +0000 (12:10 +0200)]
lib/util: add function to query the monotonic clock with the required fallback to the realtime clock

13 years agolibreplace: make a define for a best effort monotonic clock
Björn Jacke [Thu, 26 Aug 2010 10:22:02 +0000 (12:22 +0200)]
libreplace: make a define for a best effort monotonic clock

13 years agos3: we have clock_gettime everywhere, remove ifdefs
Björn Jacke [Tue, 24 Aug 2010 09:14:19 +0000 (11:14 +0200)]
s3: we have clock_gettime everywhere, remove ifdefs

13 years agos3: use clock_gettime() in timespec_current()
Björn Jacke [Mon, 30 Aug 2010 14:51:56 +0000 (16:51 +0200)]
s3: use clock_gettime() in timespec_current()

13 years agolibreplace: add clock_gettime replacement function for systems that don't have it
Björn Jacke [Thu, 19 Aug 2010 17:07:04 +0000 (19:07 +0200)]
libreplace: add clock_gettime replacement function for systems that don't have it

13 years agolibreplace/waf: look for clock_gettime
Björn Jacke [Thu, 26 Aug 2010 22:13:07 +0000 (00:13 +0200)]
libreplace/waf: look for clock_gettime

13 years agolibreplace: move detection of clock_gettime to libreplace
Björn Jacke [Thu, 19 Aug 2010 16:39:45 +0000 (18:39 +0200)]
libreplace: move detection of clock_gettime to libreplace

13 years agolibreplace: move gettimeofday TZ arg check here
Björn Jacke [Mon, 30 Aug 2010 12:35:49 +0000 (14:35 +0200)]
libreplace: move gettimeofday TZ arg check here

13 years agopackaging: cifsutils are no longer part of Samba
Volker Lendecke [Mon, 30 Aug 2010 15:55:44 +0000 (09:55 -0600)]
packaging: cifsutils are no longer part of Samba

13 years agos3-auth Rename NT_USER_TOKEN privileges -> privilege_mask
Andrew Bartlett [Tue, 31 Aug 2010 01:18:11 +0000 (11:18 +1000)]
s3-auth Rename NT_USER_TOKEN privileges -> privilege_mask

This is closer to the struct security_token from security.idl

Andrew Bartlett

13 years agos3-auth Rename NT_USER_TOKEN user_sids -> sids
Andrew Bartlett [Mon, 30 Aug 2010 23:32:52 +0000 (09:32 +1000)]
s3-auth Rename NT_USER_TOKEN user_sids -> sids

This is closer to the struct security_token from security.idl

13 years agos3: Fix a segfault in the printer code using create_conn_struct
Volker Lendecke [Mon, 30 Aug 2010 13:22:29 +0000 (15:22 +0200)]
s3: Fix a segfault in the printer code using create_conn_struct

13 years agos4:lib/messaging: add some const to messaging_send()
Stefan Metzmacher [Mon, 30 Aug 2010 11:42:20 +0000 (13:42 +0200)]
s4:lib/messaging: add some const to messaging_send()

metze

13 years agoDisable gccdeps if -MD is not supported
Thomas Nagy [Mon, 30 Aug 2010 13:02:26 +0000 (15:02 +0200)]
Disable gccdeps if -MD is not supported

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agovfs_smb_traffic_analyzer: fix off by a second bug
Björn Jacke [Mon, 30 Aug 2010 17:49:35 +0000 (19:49 +0200)]
vfs_smb_traffic_analyzer: fix off by a second bug

convert_timespec_to_time_t is rounding but here we keep track of milliseconds
here - so we should use plain the tv_sec.

13 years agos3-auth: The unlock of the account is now done by the get_sampwnam call.
Andreas Schneider [Mon, 23 Aug 2010 21:02:44 +0000 (23:02 +0200)]
s3-auth: The unlock of the account is now done by the get_sampwnam call.

Signed-off-by: Simo Sorce <idra@samba.org>
13 years agos3-passdb: Try to unlock the account if it is locked out.
Andreas Schneider [Mon, 23 Aug 2010 08:08:53 +0000 (10:08 +0200)]
s3-passdb: Try to unlock the account if it is locked out.

Signed-off-by: Simo Sorce <idra@samba.org>
13 years agos3-passdb: Added a pdb_try_account_unlock function.
Andreas Schneider [Mon, 23 Aug 2010 08:08:34 +0000 (10:08 +0200)]
s3-passdb: Added a pdb_try_account_unlock function.

The function checks if the account has been autolocked. If we have a
lockout_duration and a bad password time it checks if we can unlock the
account.

Signed-off-by: Simo Sorce <idra@samba.org>
13 years agos3-auth: Use SamInfo3_for_guest to create guest server_info.
Andreas Schneider [Wed, 18 Aug 2010 15:17:42 +0000 (17:17 +0200)]
s3-auth: Use SamInfo3_for_guest to create guest server_info.

Signed-off-by: Simo Sorce <idra@samba.org>
13 years agopackaging: Build with -O3
Volker Lendecke [Mon, 30 Aug 2010 15:27:24 +0000 (09:27 -0600)]
packaging: Build with -O3

13 years agopackaging: Attempt to fix the RPM build
Volker Lendecke [Mon, 30 Aug 2010 15:26:49 +0000 (09:26 -0600)]
packaging: Attempt to fix the RPM build

13 years agos3-kerberos: try to fix the build w/o kerberos support.
Günther Deschner [Mon, 30 Aug 2010 13:52:27 +0000 (15:52 +0200)]
s3-kerberos: try to fix the build w/o kerberos support.

Guenther

13 years agos3: Fix some uninitialized variable warnings
Volker Lendecke [Mon, 30 Aug 2010 13:56:16 +0000 (15:56 +0200)]
s3: Fix some uninitialized variable warnings

13 years agos3: Fix the build of the nfs4_acl module
Volker Lendecke [Mon, 30 Aug 2010 14:36:51 +0000 (08:36 -0600)]
s3: Fix the build of the nfs4_acl module

13 years agos3-waf: fix the build after gssapi changes.
Günther Deschner [Mon, 30 Aug 2010 12:50:15 +0000 (14:50 +0200)]
s3-waf: fix the build after gssapi changes.

Guenther

13 years agodcerpc-gssapi: include missing dcerpc_krb5.h header.
Günther Deschner [Mon, 30 Aug 2010 12:47:52 +0000 (14:47 +0200)]
dcerpc-gssapi: include missing dcerpc_krb5.h header.

Guenther

13 years agodcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is unavailable.
Günther Deschner [Mon, 30 Aug 2010 12:44:13 +0000 (14:44 +0200)]
dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is unavailable.

Guenther

13 years agos3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server side
Simo Sorce [Fri, 27 Aug 2010 19:23:20 +0000 (15:23 -0400)]
s3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server side

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agodcerpc-gssapi: add function to retrieve client name
Simo Sorce [Wed, 25 Aug 2010 20:21:51 +0000 (16:21 -0400)]
dcerpc-gssapi: add function to retrieve client name

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agodcerpc-gssapi: add function to extract authtime
Simo Sorce [Sat, 21 Aug 2010 14:59:52 +0000 (10:59 -0400)]
dcerpc-gssapi: add function to extract authtime

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agodcerpc-gssapi: add function to extract authorization data (PAC) form gssapi context
Simo Sorce [Fri, 20 Aug 2010 13:30:49 +0000 (09:30 -0400)]
dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi context

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agodcerpc-gssapi: add function to check flags
Simo Sorce [Fri, 20 Aug 2010 13:31:07 +0000 (09:31 -0400)]
dcerpc-gssapi: add function to check flags

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agodcerpc-gssapi: add initial server side code
Simo Sorce [Fri, 20 Aug 2010 08:45:56 +0000 (04:45 -0400)]
dcerpc-gssapi: add initial server side code

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-dcerpc: add krb5 helpers
Simo Sorce [Thu, 19 Aug 2010 15:25:32 +0000 (11:25 -0400)]
s3-dcerpc: add krb5 helpers

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-krb: Reformat and add doxygen comment to decode_pac_data()
Simo Sorce [Sat, 21 Aug 2010 14:50:05 +0000 (10:50 -0400)]
s3-krb: Reformat and add doxygen comment to decode_pac_data()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agorpcclient: support starting sign/seal with krb5/spnego
Simo Sorce [Wed, 25 Aug 2010 20:22:03 +0000 (16:22 -0400)]
rpcclient: support starting sign/seal with krb5/spnego

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-smbd: use make_server_info_krb5() in smb2 too.
Simo Sorce [Thu, 26 Aug 2010 22:49:49 +0000 (18:49 -0400)]
s3-smbd: use make_server_info_krb5() in smb2 too.

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-smbd: use make_server_info_krb5()
Simo Sorce [Thu, 26 Aug 2010 22:49:28 +0000 (18:49 -0400)]
s3-smbd: use make_server_info_krb5()

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-auth: add helper to get server_info out of kerberos info
Simo Sorce [Thu, 26 Aug 2010 22:48:46 +0000 (18:48 -0400)]
s3-auth: add helper to get server_info out of kerberos info

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-smbd: User helper function to resolve kerberos user for smb2
Simo Sorce [Thu, 26 Aug 2010 21:59:17 +0000 (17:59 -0400)]
s3-smbd: User helper function to resolve kerberos user for smb2

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-smbd: Use helper function to resolve kerberos user
Simo Sorce [Thu, 26 Aug 2010 21:58:52 +0000 (17:58 -0400)]
s3-smbd: Use helper function to resolve kerberos user

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-auth: Add helper function to retrieve the unix user from a kerberos ticket
Simo Sorce [Thu, 26 Aug 2010 21:57:26 +0000 (17:57 -0400)]
s3-auth: Add helper function to retrieve the unix user from a kerberos ticket

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agodocs-xml/vfs_gpfs: document 'gpfs:refuse_dacl_protected'
Stefan Metzmacher [Mon, 30 Aug 2010 08:45:52 +0000 (10:45 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:refuse_dacl_protected'

metze

13 years agodocs-xml/vfs_gpfs: document 'gpfs:merge_writeappend'
Stefan Metzmacher [Mon, 30 Aug 2010 08:31:38 +0000 (10:31 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:merge_writeappend'

metze

13 years agodocs-xml/vfs_gpfs: document 'gpfs:winattr'
Stefan Metzmacher [Mon, 30 Aug 2010 08:24:52 +0000 (10:24 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:winattr'

metze

13 years agodocs-xml/vfs_gpfs: document 'gpfs:getrealfilename'
Stefan Metzmacher [Mon, 30 Aug 2010 08:12:41 +0000 (10:12 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:getrealfilename'

metze

13 years agodocs-xml/vfs_gpfs: document 'gpfs:leases'
Stefan Metzmacher [Mon, 30 Aug 2010 07:29:46 +0000 (09:29 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:leases'

metze

13 years agodocs-xml/vfs_gpfs: document 'gpfs:sharemodes'
Stefan Metzmacher [Mon, 30 Aug 2010 07:01:21 +0000 (09:01 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:sharemodes'

metze

13 years agos4-drs-test: Skip a check that may possibly fail
Kamen Mazdrashki [Sun, 29 Aug 2010 23:40:04 +0000 (02:40 +0300)]
s4-drs-test: Skip a check that may possibly fail

This check may fail due to automatic replication between DCs
during the test execution.
Ideally we should block automatic replications (somehow)
during this test. But until then, we need just to skip
this check, it is not *that* important anyway

13 years agos4-util: Print more informative error messages in 'net drs replicate'
Kamen Mazdrashki [Sun, 29 Aug 2010 16:47:40 +0000 (19:47 +0300)]
s4-util: Print more informative error messages in 'net drs replicate'

13 years agos4-drs-test: Use dns hostnames to run 'net drs replicate' command
Kamen Mazdrashki [Sun, 29 Aug 2010 14:17:47 +0000 (17:17 +0300)]
s4-drs-test: Use dns hostnames to run 'net drs replicate' command

13 years agolibrpc/ndr: correctly implement ndr_charset_length()
Stefan Metzmacher [Wed, 25 Aug 2010 08:05:15 +0000 (10:05 +0200)]
librpc/ndr: correctly implement ndr_charset_length()

Before we ignored the charset type.

metze

13 years agos3: Fix an uninitialized variable
Volker Lendecke [Sun, 29 Aug 2010 21:13:46 +0000 (23:13 +0200)]
s3: Fix an uninitialized variable

13 years agos3: Fix the build without cluster
Volker Lendecke [Sun, 29 Aug 2010 21:13:34 +0000 (23:13 +0200)]
s3: Fix the build without cluster

13 years agos3: Remove smbd_server_fd()
Volker Lendecke [Sat, 28 Aug 2010 15:25:22 +0000 (17:25 +0200)]
s3: Remove smbd_server_fd()

This breaks the perfcol_onefs() build.

Tim, Steve, this use of smbd_server_fd is replacable by calls into
substitute.c. I don't have a onefs environment around to build a fix, so I've
decided to insert an #error, making it not compile. The fix should be pretty
obvious, you can get the socket data via "%I" and "%i" substitutions.

13 years agos3: Remove two uses of smbd_server_fd()
Volker Lendecke [Sat, 28 Aug 2010 15:21:07 +0000 (17:21 +0200)]
s3: Remove two uses of smbd_server_fd()

Actually, this is a bit cheating. But those two files depend on
smbd_server_conn anyway, it does not make things worse.

13 years agos3: Remove smbd_server_fd() from srv_netlog_nt
Volker Lendecke [Sat, 28 Aug 2010 15:19:42 +0000 (17:19 +0200)]
s3: Remove smbd_server_fd() from srv_netlog_nt

This is not actually used. If it was to be activated, we'd have to pass in a
pipes_struct.

13 years agos3: Remove smbd_server_fd() from smbd_register_ips
Volker Lendecke [Sat, 28 Aug 2010 15:16:08 +0000 (17:16 +0200)]
s3: Remove smbd_server_fd() from smbd_register_ips

13 years agos3: Lift smbd_server_fd() from msg_release_ip()
Volker Lendecke [Sat, 28 Aug 2010 15:12:43 +0000 (17:12 +0200)]
s3: Lift smbd_server_fd() from msg_release_ip()

13 years agos3: Lift smbd_server_fd() from release_ip()
Volker Lendecke [Sat, 28 Aug 2010 15:09:56 +0000 (17:09 +0200)]
s3: Lift smbd_server_fd() from release_ip()

13 years agos3: Remove a use of smbd_server_fd() in smbd main()
Volker Lendecke [Sat, 28 Aug 2010 14:58:54 +0000 (16:58 +0200)]
s3: Remove a use of smbd_server_fd() in smbd main()

The effect this might have is that we set the socket options a bit later in
inetd mode.

13 years agos3: Pass sconn to check_reload
Volker Lendecke [Sat, 28 Aug 2010 14:57:51 +0000 (16:57 +0200)]
s3: Pass sconn to check_reload

This removes a use of smbd_server_fd()

13 years agos3: Pass sconn instead of msg_ctx to housekeeping_fn
Volker Lendecke [Sat, 28 Aug 2010 14:56:47 +0000 (16:56 +0200)]
s3: Pass sconn instead of msg_ctx to housekeeping_fn

13 years agos3: Set the client_id in substitute.c once
Volker Lendecke [Sat, 28 Aug 2010 14:33:00 +0000 (16:33 +0200)]
s3: Set the client_id in substitute.c once

This never changes during a client connection's life, so we can set it
once.

13 years agos3: Remove some uses of smbd_server_fd()
Volker Lendecke [Sat, 28 Aug 2010 14:19:31 +0000 (16:19 +0200)]
s3: Remove some uses of smbd_server_fd()

The change in behaviour is that we don't detect "socket option" changes anymore
when printers are added or removed.

13 years agos3: Remove a use of smbd_server_fd
Volker Lendecke [Sat, 28 Aug 2010 14:18:07 +0000 (16:18 +0200)]
s3: Remove a use of smbd_server_fd

This disables different socket options per user for ntlmssp authentiation, a
change in behaviour which is exotic enough I believe.

13 years agos4-kcc: Notify dreplsrv that Topology has changed
Kamen Mazdrashki [Sat, 28 Aug 2010 17:02:13 +0000 (20:02 +0300)]
s4-kcc: Notify dreplsrv that Topology has changed