Günther Deschner
9986d25ed1
s3-kerberos: use krb5 compat macros in fill_keytab_from_password().
...
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
3d78279fd4
s3-kerberos: fix flush_keytab() compile with heimdal.
...
krb5_kt_cursor is not a pointer in heimdal but a struct.
Guenther
2010-08-31 23:17:39 +02:00
Björn Jacke
a20e94bb0e
Revert "s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday"
...
This reverts commit 6598298517
which later on
needs some tweeks to not break some builds
2010-08-31 23:03:55 +02:00
Volker Lendecke
5648c3f67e
s3: messaging_ctdbd_connection() was only called with procid_self()
...
Eventually we'll get this right...
2010-08-31 17:07:41 +02:00
Volker Lendecke
808ceac9f5
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()
2010-08-31 17:07:41 +02:00
Volker Lendecke
301bf22eab
s3: Make ctdbd_init_connection static
2010-08-31 17:07:41 +02:00
Björn Jacke
079baa7688
s3: use fine grained time in netprot response
2010-08-31 15:51:11 +02:00
Björn Jacke
6598298517
s4/heimdal_build: use GetTimeOfDay macro instead of gettimeofday
2010-08-31 13:11:13 +02:00
Björn Jacke
b4ae2efa96
s3: use monotonic clock for time deltas in smbget
2010-08-31 13:10:45 +02:00
Björn Jacke
20254221d2
tdb/waf: the deps for rt are provided by libreplace
2010-08-31 13:06:39 +02:00
Björn Jacke
7c88ccde30
replace/waf: add rt to deps at this place
2010-08-31 11:33:22 +02:00
Björn Jacke
f222387533
s4: use GetTimeOfDay macro instead of gettimeofday
2010-08-31 11:33:22 +02:00
Volker Lendecke
7eff519703
packaging: build fixes
2010-08-31 11:19:15 +02:00
Björn Jacke
4c8531b642
s4/torture: use monotonic clock for time deltas in denytest
2010-08-31 10:26:40 +02:00
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