Björn Jacke
60002600b8
s4/ldb: use monotonic clock for time deltas in ldbtest
2010-08-31 10:26:36 +02:00
Björn Jacke
8aa0b709d4
s3: use monotonic time in timeout of sys_select_intr()
2010-08-31 10:26:28 +02:00
Björn Jacke
73ad77f20a
lib/util: add nsec_time_diff to calulate diffs from timespecs
2010-08-31 10:26:23 +02:00
Björn Jacke
0ca6a73d01
s3: use monotonic clock for time deltas in namequery functions
2010-08-31 10:26:13 +02:00
Björn Jacke
5728b0fb5f
s3: use monotonic clock for time deltas in smbtar
2010-08-31 10:26:09 +02:00
Björn Jacke
fc67675028
s3: use monotonic clock for time deltas in smbclient
2010-08-31 10:26:04 +02:00
Björn Jacke
6e9747c1ce
s3: add TspecDiff macro
2010-08-31 10:25:59 +02:00
Björn Jacke
4b09919f70
s4:process_thread: use monotonic time for time deltas
2010-08-31 10:25:54 +02:00
Björn Jacke
c091b3344b
lib/util: add function to query the monotonic clock with the required fallback to the realtime clock
2010-08-31 10:25:03 +02:00
Björn Jacke
63b1f2ee81
libreplace: make a define for a best effort monotonic clock
2010-08-31 10:24:37 +02:00
Björn Jacke
8c6ca6e25a
s3: we have clock_gettime everywhere, remove ifdefs
2010-08-31 09:07:42 +02:00
Björn Jacke
8589f46b86
s3: use clock_gettime() in timespec_current()
2010-08-31 09:07:36 +02:00
Björn Jacke
3df1037a74
libreplace: add clock_gettime replacement function for systems that don't have it
2010-08-31 09:07:29 +02:00
Björn Jacke
9f87bc4588
libreplace/waf: look for clock_gettime
2010-08-31 09:07:22 +02:00
Björn Jacke
4e104f185e
libreplace: move detection of clock_gettime to libreplace
2010-08-31 09:07:13 +02:00
Björn Jacke
e8662248c8
libreplace: move gettimeofday TZ arg check here
2010-08-31 09:07:08 +02:00
Volker Lendecke
c2e2be51a6
packaging: cifsutils are no longer part of Samba
2010-08-31 09:01:00 +02:00
Andrew Bartlett
eee63b7e75
s3-auth Rename NT_USER_TOKEN privileges -> privilege_mask
...
This is closer to the struct security_token from security.idl
Andrew Bartlett
2010-08-31 11:25:41 +10:00
Andrew Bartlett
8c15cf54ae
s3-auth Rename NT_USER_TOKEN user_sids -> sids
...
This is closer to the struct security_token from security.idl
2010-08-31 10:20:14 +10:00
Volker Lendecke
6beb5563f3
s3: Fix a segfault in the printer code using create_conn_struct
2010-08-30 23:06:32 +02:00
Stefan Metzmacher
b4610cdb3b
s4:lib/messaging: add some const to messaging_send()
...
metze
2010-08-30 21:01:19 +02:00
Thomas Nagy
734677292f
Disable gccdeps if -MD is not supported
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-08-30 21:01:19 +02:00
Björn Jacke
a8d8cf00ea
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.
2010-08-30 19:52:10 +02:00
Andreas Schneider
20e7b4ec74
s3-auth: The unlock of the account is now done by the get_sampwnam call.
...
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-30 10:43:54 -04:00
Andreas Schneider
c5cfad142c
s3-passdb: Try to unlock the account if it is locked out.
...
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-30 10:43:41 -04:00
Andreas Schneider
2ab0b63bd8
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>
2010-08-30 10:43:34 -04:00
Andreas Schneider
9dd7e7fc2d
s3-auth: Use SamInfo3_for_guest to create guest server_info.
...
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-30 10:43:20 -04:00
Volker Lendecke
5f419eaa32
packaging: Build with -O3
2010-08-30 16:40:28 +02:00
Volker Lendecke
ebf05a1db3
packaging: Attempt to fix the RPM build
2010-08-30 16:40:28 +02:00
Günther Deschner
85b8d7c605
s3-kerberos: try to fix the build w/o kerberos support.
...
Guenther
2010-08-30 16:03:17 +02:00
Volker Lendecke
1d3bd5b1c0
s3: Fix some uninitialized variable warnings
2010-08-30 15:57:14 +02:00
Volker Lendecke
4ccf3a05af
s3: Fix the build of the nfs4_acl module
2010-08-30 15:38:12 +02:00
Günther Deschner
9b704e4b9a
s3-waf: fix the build after gssapi changes.
...
Guenther
2010-08-30 14:50:52 +02:00
Günther Deschner
9697687e25
dcerpc-gssapi: include missing dcerpc_krb5.h header.
...
Guenther
2010-08-30 14:47:52 +02:00
Günther Deschner
d524f58518
dcerpc-gssapi: fix "shadows a global declaration" warning when gssapi is unavailable.
...
Guenther
2010-08-30 14:44:13 +02:00
Simo Sorce
2a2557075e
s3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server side
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:35:02 +02:00
Simo Sorce
36fdb211a6
dcerpc-gssapi: add function to retrieve client name
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:34:01 +02:00
Simo Sorce
d15d76af5f
dcerpc-gssapi: add function to extract authtime
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:33:14 +02:00
Simo Sorce
6c80e04120
dcerpc-gssapi: add function to extract authorization data (PAC) form gssapi context
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:33:01 +02:00
Simo Sorce
fb1aef085e
dcerpc-gssapi: add function to check flags
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:32:47 +02:00
Simo Sorce
e6ed1dc249
dcerpc-gssapi: add initial server side code
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:32:33 +02:00
Simo Sorce
b31f75d8f6
s3-dcerpc: add krb5 helpers
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:27:48 +02:00
Simo Sorce
26e24928b3
s3-krb: Reformat and add doxygen comment to decode_pac_data()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:26:37 +02:00
Simo Sorce
43d0ef1175
rpcclient: support starting sign/seal with krb5/spnego
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:26:02 +02:00
Simo Sorce
f3501cf848
s3-smbd: use make_server_info_krb5() in smb2 too.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:24:46 +02:00
Simo Sorce
a413a86daa
s3-smbd: use make_server_info_krb5()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:24:38 +02:00
Simo Sorce
08a8e25d6b
s3-auth: add helper to get server_info out of kerberos info
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:24:30 +02:00
Simo Sorce
ce60d6d9cf
s3-smbd: User helper function to resolve kerberos user for smb2
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:22:13 +02:00
Simo Sorce
94adbf3726
s3-smbd: Use helper function to resolve kerberos user
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:21:53 +02:00
Simo Sorce
b9772a4886
s3-auth: Add helper function to retrieve the unix user from a kerberos ticket
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-30 14:17:06 +02:00