Volker Lendecke
ac317eba25
s3: Remove unused nss_info_adex_init()
2010-09-02 22:14:55 +02:00
Andrew Tridgell
4ca96834f3
s3-param: added lp_set_cmdline() and --option= parameter
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-02 13:37:08 +10:00
Volker Lendecke
5b875a83a9
s3: Print the IP of the server that stopped responding
2010-09-01 12:57:16 +02:00
Günther Deschner
5568ceda47
s3-ctdb: ctdbd_init_connection() is static to this file.
...
Guenther
2010-09-01 10:56:17 +02:00
Günther Deschner
7afa6675ee
s3-auth: fix uninitialized error code in get_guest_info3().
...
Guenther
2010-09-01 10:51:13 +02:00
Günther Deschner
95f9542e05
s3-auth: remove global include of krb5pac.h.
...
Guenther
2010-08-31 23:17:40 +02:00
Günther Deschner
16c2d9182d
s3-printing: add debug to get_correct_cversion().
...
Guenther
2010-08-31 23:17:40 +02:00
Günther Deschner
bf3912be46
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
2010-08-31 23:17:39 +02:00
Günther Deschner
d5436c650c
s3-auth: remove unused variable in check_sam_security().
...
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
d8c9756d53
s3-kerberos: use more krb5 compat macros in get_mem_keytab_from_secrets().
...
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
765bee9d7a
s3-kerberos: use smb_get_enctype_from_kt_entry() in
...
get_mem_keytab_from_secrets().
Guenther
2010-08-31 23:17:39 +02:00
Günther Deschner
e26a936333
s3-kerberos: use get_kerberos_allowed_etypes in fill_keytab_from_password().
...
Guenther
2010-08-31 23:17:39 +02:00
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
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
b4ae2efa96
s3: use monotonic clock for time deltas in smbget
2010-08-31 13:10:45 +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
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
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
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
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
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
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