Volker Lendecke
0827e52b4e
s3: Simplify the logic of check_access by an early return
2010-08-16 21:33:22 +02:00
Volker Lendecke
13d1e39e47
s3: Fix some type-punned warnings
2010-08-16 13:36:27 +02:00
Volker Lendecke
96ae457023
s3: Remove get_client_fd()
2010-08-16 13:13:10 +02:00
Volker Lendecke
89b4c90577
s3: Remove smbd_messaging_context from dummysmbd
2010-08-08 18:09:33 +02:00
Volker Lendecke
77c63149a3
s3: Remove procid_self() from connections_fetch_entry()
2010-08-07 13:16:48 +02:00
Volker Lendecke
c9b654f581
s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()
2010-08-07 13:16:48 +02:00
Volker Lendecke
4c6fd6043b
s3: Remove an unnecessary NULL check
...
Now that connections.tdb is not used for the broadcast messaging anymore,
connections_fetch_entry is only called for real connections.
2010-08-07 10:12:18 +02:00
Günther Deschner
0f8e032628
s3-netlogon: remove global include of netlogon.h.
...
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
2010-08-06 15:46:16 +02:00
Volker Lendecke
8f0c863732
s3: fail db_open_ctdb if ctdb is not around
2010-08-06 14:15:04 +02:00
Volker Lendecke
1cbe8b85ae
s3: Remove some pointless wrapper functions
2010-08-05 13:57:31 +02:00
Volker Lendecke
6cb5a0d097
s3: Remove some pointless wrapper functions
2010-08-05 13:57:31 +02:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
e7a6a3ec0d
s3: avoid global include of ads.h.
...
Guenther
2010-08-05 00:32:02 +02:00
Volker Lendecke
fb167a6028
s3: Fix a C++ warning
2010-08-01 18:16:19 +02:00
Volker Lendecke
9bf2d260aa
s3: Fix an uninitialized variable
2010-08-01 17:58:01 +02:00
Andreas Schneider
dc87fbcb0f
s3-lib: Remove redefinition of RL_COMPLETION_CAST.
...
This is already defined in replace/system/readline.h.
2010-07-28 10:39:22 +02:00
Andreas Schneider
c3186f22c5
s3-lib: Make the standard_mapping parameter const.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Jeremy Allison
6446c75f70
Fix several places where talloc_asprintf returns were unchecked.
...
Jeremy.
2010-07-27 02:38:14 -07:00
Volker Lendecke
b6c4eb3c52
s3: Log the correct core path on Linux if core_pattern is set
...
Contributions from Bill Hymas, IBM
2010-07-26 16:06:21 +02:00
Jeremy Allison
8df0f0e49e
Fix warning on 64-bit machines.
...
Jeremy.
2010-07-20 15:12:07 -07:00
Volker Lendecke
dc443ee6e9
s3: Fix two uninitialized variables
2010-07-20 20:35:39 +02:00
Günther Deschner
80b47fcb0a
s3-libnet: better separate headers.
...
Guenther
2010-07-13 22:40:46 +02:00
Günther Deschner
0e31a3af94
s3-ldb: fix build warning.
...
Guenther
2010-07-13 16:57:27 +02:00
Matthias Dieter Wallnöfer
915ddf0dc7
samr.idl:UserInfo structures - fix some names according to MS-SAMR documentation
...
See MS-SAMR section "FULL IDL"
2010-07-05 15:35:54 +02:00
Volker Lendecke
9e4ae600b7
s3: Remove procid_self() from ctdb_read_req() and ctdb_handle_message()
2010-07-05 11:06:32 +02:00
Volker Lendecke
1832e38425
s3: Remove some type-punned warnings
2010-07-05 11:06:32 +02:00
Volker Lendecke
2838047657
s3: Put serverid_key and serverid_data together
2010-07-05 11:06:32 +02:00
Volker Lendecke
23790c9a8f
s3: Add sconn_server_id()
2010-07-05 11:06:24 +02:00
Volker Lendecke
0220246c26
s3: Add messaging_server_id
2010-07-05 11:06:24 +02:00
Volker Lendecke
300667e4a9
s3: Pass procid_self() explicitly to messaging_ctdbd_connection()
2010-07-05 11:06:23 +02:00
Volker Lendecke
05237dca11
s3: Remove an unused variable -- thanks, metze!
2010-07-04 21:49:04 +02:00
Volker Lendecke
b0c83d50f9
s3: Replace register_message_flags() with serverid_register_msg_flags()
...
message_send_all is now done by walking the serverid.tdb, not the
connections.tdb anymore.
Günther, Simo, please check!
2010-07-04 21:49:03 +02:00
Volker Lendecke
8cf1cd2d5c
s3: Use msg_ctx->id in messaging
...
This removes some references to procid_self() deep inside the code
2010-07-04 17:29:23 +02:00
Volker Lendecke
7f0e6df883
s3: Pass the new server_id through reinit_after_fork
2010-07-04 17:29:23 +02:00
Volker Lendecke
5a3c64668a
s3: Re-initialize the server_id in messaging_reinit
2010-07-04 17:29:23 +02:00
Volker Lendecke
b01958b0bd
s3: Remove serverid_[de]register_self
...
This removes some deep references to procid_self()
2010-07-04 16:41:14 +02:00
Volker Lendecke
ba57d23c1c
s3: ALWAYS run make test before checkin ....
2010-07-04 14:59:34 +02:00
Volker Lendecke
34558ae945
s3: Slight reshaping of server_exists_parse
...
Doing a copy and then do the compare is a bit pointless, use memcmp
2010-07-04 14:37:10 +02:00
Günther Deschner
b381fba089
s3-registry: avoid using registry_value union.
...
Just pull and push data as is.
Guenther
2010-07-02 10:50:21 +02:00
Günther Deschner
dff7be8ccb
s3-libads: only include libds flags where needed.
...
Guenther
2010-07-01 23:20:40 +02:00
Volker Lendecke
ba0ba4e85b
s3: Make some routines static in smbldap
2010-06-28 16:57:04 +02:00
Andreas Schneider
15bacaf3c5
s3-registry: Convert registry key delimiter from slash to backslash.
...
This is needed to support keynames containing a '/' like TCP/IP. Which
is used in serveral standard paths.
Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-25 17:35:41 +02:00
Jeremy Allison
37264e5917
Fix bug 7528 - Solaris with NIS autohome.
...
Ensure entries containing "\n" are stripped.
Jeremy.
2010-06-22 12:19:05 -07:00
Volker Lendecke
e9e80a36e4
tldap: Fix a type-punned warning
2010-06-21 15:03:59 +02:00
Volker Lendecke
8af446be78
s3: Fix some enum/int mixup warnings
2010-06-21 15:03:59 +02:00
Volker Lendecke
c0ed0bca59
s3: Fix a type-punned warning
2010-06-21 15:03:58 +02:00
Michael Adam
e78f2b2e1e
s3:fix an outdated comment.
2010-06-21 12:38:25 +02:00
Andreas Schneider
a75feeaa23
s3-tdb: Added missing out of memory check in rename_file_with_suffix().
2010-06-16 14:31:40 +02:00
Simo Sorce
5e576a53ab
s3:lib make server contexts generic
...
Pair-programmed-with: Andreas Schneider <asn@samba.org>
2010-06-10 17:30:45 -04:00