Thomas Nagy [Tue, 31 Aug 2010 17:40:25 +0000 (31 19:40 +0200)]
Build error exception lost (without wafcache)
When no WAFCACHE is defined, a return in the finally block eats
the exception, making the error potentially invisible.
Thomas Nagy [Tue, 31 Aug 2010 17:11:13 +0000 (31 19:11 +0200)]
let krb5/time.c compile
git add will not take the changes made afterwards
Thomas Nagy [Tue, 31 Aug 2010 17:05:26 +0000 (31 19:05 +0200)]
fix to get it compiling
Thomas Nagy [Tue, 31 Aug 2010 16:23:16 +0000 (31 18:23 +0200)]
This line should have been removed
Thomas Nagy [Tue, 31 Aug 2010 16:17:57 +0000 (31 18:17 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Volker Lendecke [Tue, 31 Aug 2010 14:52:56 +0000 (31 16:52 +0200)]
s3: messaging_ctdbd_connection() was only called with procid_self()
Eventually we'll get this right...
Volker Lendecke [Tue, 31 Aug 2010 14:51:28 +0000 (31 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()
Volker Lendecke [Tue, 31 Aug 2010 14:11:10 +0000 (31 16:11 +0200)]
s3: Make ctdbd_init_connection static
Björn Jacke [Wed, 12 May 2010 08:50:17 +0000 (12 10:50 +0200)]
s3: use fine grained time in netprot response
Thomas Nagy [Tue, 31 Aug 2010 12:59:50 +0000 (31 14:59 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Björn Jacke [Tue, 31 Aug 2010 11:11:13 +0000 (31 13:11 +0200)]
s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday
Björn Jacke [Tue, 31 Aug 2010 11:10:45 +0000 (31 13:10 +0200)]
s3: use monotonic clock for time deltas in smbget
Thomas Nagy [Tue, 31 Aug 2010 11:08:29 +0000 (31 13:08 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Björn Jacke [Tue, 31 Aug 2010 11:06:39 +0000 (31 13:06 +0200)]
tdb/waf: the deps for rt are provided by libreplace
Björn Jacke [Tue, 31 Aug 2010 09:31:19 +0000 (31 11:31 +0200)]
replace/waf: add rt to deps at this place
Björn Jacke [Tue, 31 Aug 2010 09:30:17 +0000 (31 11:30 +0200)]
s4: use GetTimeOfDay macro instead of gettimeofday
Volker Lendecke [Tue, 31 Aug 2010 09:29:55 +0000 (31 03:29 -0600)]
packaging: build fixes
Björn Jacke [Mon, 30 Aug 2010 16:58:20 +0000 (30 18:58 +0200)]
s4/torture: use monotonic clock for time deltas in denytest
Björn Jacke [Mon, 30 Aug 2010 16:54:42 +0000 (30 18:54 +0200)]
s4/ldb: use monotonic clock for time deltas in ldbtest
Björn Jacke [Mon, 30 Aug 2010 16:02:19 +0000 (30 18:02 +0200)]
s3: use monotonic time in timeout of sys_select_intr()
Björn Jacke [Mon, 30 Aug 2010 15:56:37 +0000 (30 17:56 +0200)]
lib/util: add nsec_time_diff to calulate diffs from timespecs
Björn Jacke [Mon, 30 Aug 2010 13:46:22 +0000 (30 15:46 +0200)]
s3: use monotonic clock for time deltas in namequery functions
Björn Jacke [Mon, 30 Aug 2010 13:44:54 +0000 (30 15:44 +0200)]
s3: use monotonic clock for time deltas in smbtar
Björn Jacke [Mon, 30 Aug 2010 10:15:54 +0000 (30 12:15 +0200)]
s3: use monotonic clock for time deltas in smbclient
Björn Jacke [Mon, 30 Aug 2010 13:30:16 +0000 (30 15:30 +0200)]
s3: add TspecDiff macro
Björn Jacke [Wed, 25 Aug 2010 10:23:50 +0000 (25 12:23 +0200)]
s4:process_thread: use monotonic time for time deltas
Björn Jacke [Mon, 30 Aug 2010 10:10:29 +0000 (30 12:10 +0200)]
lib/util: add function to query the monotonic clock with the required fallback to the realtime clock
Björn Jacke [Thu, 26 Aug 2010 10:22:02 +0000 (26 12:22 +0200)]
libreplace: make a define for a best effort monotonic clock
Björn Jacke [Tue, 24 Aug 2010 09:14:19 +0000 (24 11:14 +0200)]
s3: we have clock_gettime everywhere, remove ifdefs
Björn Jacke [Mon, 30 Aug 2010 14:51:56 +0000 (30 16:51 +0200)]
s3: use clock_gettime() in timespec_current()
Björn Jacke [Thu, 19 Aug 2010 17:07:04 +0000 (19 19:07 +0200)]
libreplace: add clock_gettime replacement function for systems that don't have it
Björn Jacke [Thu, 26 Aug 2010 22:13:07 +0000 (27 00:13 +0200)]
libreplace/waf: look for clock_gettime
Björn Jacke [Thu, 19 Aug 2010 16:39:45 +0000 (19 18:39 +0200)]
libreplace: move detection of clock_gettime to libreplace
Björn Jacke [Mon, 30 Aug 2010 12:35:49 +0000 (30 14:35 +0200)]
libreplace: move gettimeofday TZ arg check here
Volker Lendecke [Mon, 30 Aug 2010 15:55:44 +0000 (30 09:55 -0600)]
packaging: cifsutils are no longer part of Samba
Andrew Bartlett [Tue, 31 Aug 2010 01:18:11 +0000 (31 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
Andrew Bartlett [Mon, 30 Aug 2010 23:32:52 +0000 (31 09:32 +1000)]
s3-auth Rename NT_USER_TOKEN user_sids -> sids
This is closer to the struct security_token from security.idl
Volker Lendecke [Mon, 30 Aug 2010 13:22:29 +0000 (30 15:22 +0200)]
s3: Fix a segfault in the printer code using create_conn_struct
Thomas Nagy [Mon, 30 Aug 2010 20:49:56 +0000 (30 22:49 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Conflicts:
buildtools/wafsamba/wscript
Stefan Metzmacher [Mon, 30 Aug 2010 11:42:20 +0000 (30 13:42 +0200)]
s4:lib/messaging: add some const to messaging_send()
metze
Thomas Nagy [Mon, 30 Aug 2010 13:02:26 +0000 (30 15:02 +0200)]
Disable gccdeps if -MD is not supported
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Björn Jacke [Mon, 30 Aug 2010 17:49:35 +0000 (30 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.
Andreas Schneider [Mon, 23 Aug 2010 21:02:44 +0000 (23 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>
Andreas Schneider [Mon, 23 Aug 2010 08:08:53 +0000 (23 10:08 +0200)]
s3-passdb: Try to unlock the account if it is locked out.
Signed-off-by: Simo Sorce <idra@samba.org>
Andreas Schneider [Mon, 23 Aug 2010 08:08:34 +0000 (23 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>
Andreas Schneider [Wed, 18 Aug 2010 15:17:42 +0000 (18 17:17 +0200)]
s3-auth: Use SamInfo3_for_guest to create guest server_info.
Signed-off-by: Simo Sorce <idra@samba.org>
Volker Lendecke [Mon, 30 Aug 2010 15:27:24 +0000 (30 09:27 -0600)]
packaging: Build with -O3
Volker Lendecke [Mon, 30 Aug 2010 15:26:49 +0000 (30 09:26 -0600)]
packaging: Attempt to fix the RPM build
Thomas Nagy [Mon, 30 Aug 2010 14:32:24 +0000 (30 16:32 +0200)]
One more check for gccdeps
Günther Deschner [Mon, 30 Aug 2010 13:52:27 +0000 (30 15:52 +0200)]
s3-kerberos: try to fix the build w/o kerberos support.
Guenther
Volker Lendecke [Mon, 30 Aug 2010 13:56:16 +0000 (30 15:56 +0200)]
s3: Fix some uninitialized variable warnings
Thomas Nagy [Mon, 30 Aug 2010 13:47:56 +0000 (30 15:47 +0200)]
Make certain CC_VERSION is defined
Volker Lendecke [Mon, 30 Aug 2010 14:36:51 +0000 (30 08:36 -0600)]
s3: Fix the build of the nfs4_acl module
Thomas Nagy [Mon, 30 Aug 2010 13:19:14 +0000 (30 15:19 +0200)]
Indentation problems
Thomas Nagy [Mon, 30 Aug 2010 13:17:06 +0000 (30 15:17 +0200)]
Use the gcc version to check for gccdeps
Thomas Nagy [Mon, 30 Aug 2010 13:02:26 +0000 (30 15:02 +0200)]
Disable gccdeps if -MD is not supported
Günther Deschner [Mon, 30 Aug 2010 12:50:15 +0000 (30 14:50 +0200)]
s3-waf: fix the build after gssapi changes.
Guenther
Günther Deschner [Mon, 30 Aug 2010 12:47:52 +0000 (30 14:47 +0200)]
dcerpc-gssapi: include missing dcerpc_krb5.h header.
Guenther
Günther Deschner [Mon, 30 Aug 2010 12:44:13 +0000 (30 14:44 +0200)]
dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is unavailable.
Guenther
Simo Sorce [Fri, 27 Aug 2010 19:23:20 +0000 (27 15:23 -0400)]
s3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server side
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 25 Aug 2010 20:21:51 +0000 (25 16:21 -0400)]
dcerpc-gssapi: add function to retrieve client name
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Sat, 21 Aug 2010 14:59:52 +0000 (21 10:59 -0400)]
dcerpc-gssapi: add function to extract authtime
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 20 Aug 2010 13:30:49 +0000 (20 09:30 -0400)]
dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi context
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 20 Aug 2010 13:31:07 +0000 (20 09:31 -0400)]
dcerpc-gssapi: add function to check flags
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Fri, 20 Aug 2010 08:45:56 +0000 (20 04:45 -0400)]
dcerpc-gssapi: add initial server side code
Signed-off-by: Günther Deschner <gd@samba.org>
Thomas Nagy [Mon, 30 Aug 2010 12:28:22 +0000 (30 14:28 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Simo Sorce [Thu, 19 Aug 2010 15:25:32 +0000 (19 11:25 -0400)]
s3-dcerpc: add krb5 helpers
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Sat, 21 Aug 2010 14:50:05 +0000 (21 10:50 -0400)]
s3-krb: Reformat and add doxygen comment to decode_pac_data()
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Wed, 25 Aug 2010 20:22:03 +0000 (25 16:22 -0400)]
rpcclient: support starting sign/seal with krb5/spnego
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 26 Aug 2010 22:49:49 +0000 (26 18:49 -0400)]
s3-smbd: use make_server_info_krb5() in smb2 too.
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 26 Aug 2010 22:49:28 +0000 (26 18:49 -0400)]
s3-smbd: use make_server_info_krb5()
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 26 Aug 2010 22:48:46 +0000 (26 18:48 -0400)]
s3-auth: add helper to get server_info out of kerberos info
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 26 Aug 2010 21:59:17 +0000 (26 17:59 -0400)]
s3-smbd: User helper function to resolve kerberos user for smb2
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 26 Aug 2010 21:58:52 +0000 (26 17:58 -0400)]
s3-smbd: Use helper function to resolve kerberos user
Signed-off-by: Günther Deschner <gd@samba.org>
Simo Sorce [Thu, 26 Aug 2010 21:57:26 +0000 (26 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>
Stefan Metzmacher [Mon, 30 Aug 2010 08:45:52 +0000 (30 10:45 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:refuse_dacl_protected'
metze
Stefan Metzmacher [Mon, 30 Aug 2010 08:31:38 +0000 (30 10:31 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:merge_writeappend'
metze
Stefan Metzmacher [Mon, 30 Aug 2010 08:24:52 +0000 (30 10:24 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:winattr'
metze
Stefan Metzmacher [Mon, 30 Aug 2010 08:12:41 +0000 (30 10:12 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:getrealfilename'
metze
Stefan Metzmacher [Mon, 30 Aug 2010 07:29:46 +0000 (30 09:29 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:leases'
metze
Stefan Metzmacher [Mon, 30 Aug 2010 07:01:21 +0000 (30 09:01 +0200)]
docs-xml/vfs_gpfs: document 'gpfs:sharemodes'
metze
Kamen Mazdrashki [Sun, 29 Aug 2010 23:40:04 +0000 (30 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
Kamen Mazdrashki [Sun, 29 Aug 2010 16:47:40 +0000 (29 19:47 +0300)]
s4-util: Print more informative error messages in 'net drs replicate'
Kamen Mazdrashki [Sun, 29 Aug 2010 14:17:47 +0000 (29 17:17 +0300)]
s4-drs-test: Use dns hostnames to run 'net drs replicate' command
Stefan Metzmacher [Wed, 25 Aug 2010 08:05:15 +0000 (25 10:05 +0200)]
librpc/ndr: correctly implement ndr_charset_length()
Before we ignored the charset type.
metze
Volker Lendecke [Sun, 29 Aug 2010 21:13:46 +0000 (29 23:13 +0200)]
s3: Fix an uninitialized variable
Volker Lendecke [Sun, 29 Aug 2010 21:13:34 +0000 (29 23:13 +0200)]
s3: Fix the build without cluster
Volker Lendecke [Sat, 28 Aug 2010 15:25:22 +0000 (28 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.
Volker Lendecke [Sat, 28 Aug 2010 15:21:07 +0000 (28 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.
Volker Lendecke [Sat, 28 Aug 2010 15:19:42 +0000 (28 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.
Volker Lendecke [Sat, 28 Aug 2010 15:16:08 +0000 (28 17:16 +0200)]
s3: Remove smbd_server_fd() from smbd_register_ips
Volker Lendecke [Sat, 28 Aug 2010 15:12:43 +0000 (28 17:12 +0200)]
s3: Lift smbd_server_fd() from msg_release_ip()
Volker Lendecke [Sat, 28 Aug 2010 15:09:56 +0000 (28 17:09 +0200)]
s3: Lift smbd_server_fd() from release_ip()
Volker Lendecke [Sat, 28 Aug 2010 14:58:54 +0000 (28 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.
Volker Lendecke [Sat, 28 Aug 2010 14:57:51 +0000 (28 16:57 +0200)]
s3: Pass sconn to check_reload
This removes a use of smbd_server_fd()
Volker Lendecke [Sat, 28 Aug 2010 14:56:47 +0000 (28 16:56 +0200)]
s3: Pass sconn instead of msg_ctx to housekeeping_fn
Volker Lendecke [Sat, 28 Aug 2010 14:33:00 +0000 (28 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.
Volker Lendecke [Sat, 28 Aug 2010 14:19:31 +0000 (28 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.
Volker Lendecke [Sat, 28 Aug 2010 14:18:07 +0000 (28 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.
Thomas Nagy [Sun, 29 Aug 2010 12:08:11 +0000 (29 14:08 +0200)]
Remove ENFORCE_GROUP_ORDERING (added in waf 1.5.18)