1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

30855 Commits

Author SHA1 Message Date
Björn Jacke
e172b219ee ѕ3:configure: use gettimeofday check from lib/util/ 2010-01-06 18:28:16 +01:00
Björn Jacke
350db0bf25 vfs_commit: print warning when no fsync support is there
this one was part of an old patch from jpeach.
2010-01-06 18:28:16 +01:00
Jeremy Allison
f6bd654a6c Fix bug #7020 - smbd using 2G memory.
When deferring an async pipe writeX and readX transfer
the outstanding request struct onto the conn struct. This
needs freeing after the packet is finally processed.

Jeremy.
2010-01-05 14:34:00 -08:00
Bo Yang
d06fb8e027 s3: List trusted domains from wcache when domain is offline.
Signed-off-by: Bo Yang <boyang@samba.org>
2010-01-06 19:19:52 +08:00
Bo Yang
133638c8ae s3: Make winbindd_cache.c aware of domain offline to avoid unnecessary backend query.
Signed-off-by: Bo Yang <boyang@samba.org>
2010-01-06 19:19:43 +08:00
Bo Yang
36493bf2f6 s3: Fix infinite loop in NCACN_IP_TCP asa there is no timeout. Assume lsa_pipe_tcp is ok but network is down, then send request is ok, but select() on writeable fds loops forever since there is no response.
Signed-off-by: Bo Yang <boyang@samba.org>
2010-01-06 19:19:35 +08:00
Kai Blin
da41f23bda s3 net: Fix up a share type translation and translate some more strings 2010-01-05 09:55:52 +01:00
Kai Blin
9a9d737070 s3 net: Add a few missing gettext calls.
Many many thanks to Adi Roiban from #ubuntu-translators for helping me find
and fix my problems with the translations.
2010-01-05 09:55:52 +01:00
Stefan Metzmacher
2ed51fbc4c s3: Happy New Year 2010
metze
2010-01-04 08:42:03 +01:00
Volker Lendecke
283a73ca9f s3: Trim down smbcontrol a bit 2010-01-03 21:14:58 +01:00
Volker Lendecke
ac5b090a41 s3: Fix a shadowed variable warning 2010-01-03 21:14:58 +01:00
Volker Lendecke
675d5fe981 s3: Fix an uninitialized variable warning 2010-01-03 21:14:58 +01:00
Volker Lendecke
37ac16a88f s3: Convert cli_ulogoff to the async API 2010-01-03 21:14:57 +01:00
Volker Lendecke
99f292479f s3: Convert cli_tdis to the async API 2010-01-03 21:14:57 +01:00
Volker Lendecke
41a5149981 s3: Slightly simplify winbindd_dual_ccache_ntlm_auth
data_blob_const can't fail
2010-01-03 11:38:22 +01:00
Volker Lendecke
e2f361d05e s3: Fix some nonempty blank lines 2010-01-03 11:38:22 +01:00
Volker Lendecke
6edfbbd79b s3: Remove some unused code 2010-01-03 11:38:22 +01:00
Volker Lendecke
2d75aa04da s3: Convert cli_sesssetup_ntlmssp to the async API 2010-01-03 11:38:22 +01:00
Volker Lendecke
3f25fb5677 s3: NT_STATUS_MORE_PROCESSING_REQUIRED is a valid sesssetup return value 2010-01-03 11:38:22 +01:00
Volker Lendecke
a321dd91a4 s3: Convert cli_session_setup_kerberos to the async API
This is still cheated, acquiring the ticket is not async yet, but the SMB
part is
2010-01-03 11:38:22 +01:00
Volker Lendecke
063900ae63 s3: Fix a typo 2010-01-02 12:09:05 +01:00
Volker Lendecke
a66341b993 s3: simplify find_root_domain, find_our_domain() never fails 2010-01-02 12:09:05 +01:00
Volker Lendecke
133f023d58 s3: Use global_sid_Builtin in find_builtin_domain 2010-01-02 12:09:05 +01:00
Volker Lendecke
92345f49e3 s3: Avoid adding a domain twice
If we found a match with sid==NULL, we ended up adding the domain twice
2010-01-02 12:09:05 +01:00
Volker Lendecke
22a4a000ce s3: Make free_domain_list() static 2010-01-02 12:09:05 +01:00
Volker Lendecke
583d192e47 s3: Adapt sid_dup_talloc to README.Coding 2010-01-02 12:09:05 +01:00
Volker Lendecke
d05e17f875 s3: Introduce domain_is_forest_root() helper function
Hopefully this makes the flag tests a bit more understandable
2010-01-02 12:09:05 +01:00
Jim McDonough
3a271a89b5 Prevent NULL dereference if group has no members 2009-12-30 15:06:07 -05:00
André Hentschel
b0dd364cdd net: Add some German translation
Signed-off-by: Kai Blin <kai@samba.org>
2009-12-30 02:21:48 +01:00
Stefan Metzmacher
c9b6ad2500 s3:ntlmssp: change get_challange() to return NTSTATUS
metze
2009-12-29 17:06:22 +01:00
Stefan Metzmacher
4afb211f4f s3:ntlmssp: remove unused p24 variable from ntlmssp_sign_init()
metze
2009-12-29 08:46:19 +01:00
Stefan Metzmacher
9d5f41ca01 s3:ntlmssp: move some indentation in ntlmssp_sign.c
metze
2009-12-29 08:46:18 +01:00
Stefan Metzmacher
05f7a86a99 s3:ntlmssp: remove unused ntlmssp_stored_response()
metze
2009-12-29 08:46:12 +01:00
Stefan Metzmacher
7cff7d937e s3:ntlmssp: remove unused ref_count from ntlmssp_state
metze
2009-12-29 08:19:01 +01:00
Stefan Metzmacher
e78558a45b s3:ntlmssp: fix whitespace in ntlmssp.h
metze
2009-12-29 08:19:00 +01:00
Stefan Metzmacher
5541a91dff s3:ntlmssp: fix spelling
metze
2009-12-29 08:19:00 +01:00
Stefan Metzmacher
5ff127b641 s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_type
metze
2009-12-29 08:19:00 +01:00
Volker Lendecke
e5fbff0963 s3: Check for lp_winbind_trusted_domains_only in wb_gettoken()
This avoids one walk of the domain list
2009-12-28 23:35:07 +01:00
Volker Lendecke
c0289d63c3 s3: Move a lp_winbind_trusted_domains_only() check to wb_getgrsid()
winbindd_getgrgid was not protected by this.
2009-12-28 23:20:02 +01:00
Volker Lendecke
b8fcba9cb8 s3: Pass netr_DomainTrustList instead of names and sids through (*trusted_domains) 2009-12-28 15:54:13 +01:00
Volker Lendecke
0aa8946ce0 s3: Simplify winbindd_ads.c:trusted_domains()
No real code change, this just removes an indentation by turning

if ( NT_STATUS_IS_OK(result) && trusts.count) {

into

if (!NT_STATUS_IS_OK(result)) {
        return result;
}
if (trusts.count == 0) {
        return NT_STATUS_OK;
}
2009-12-28 15:28:43 +01:00
Volker Lendecke
2c49678ce5 s3: Remove some unused code
Watch the #if 0 -- we never stored this in the cache anymore
2009-12-28 14:59:46 +01:00
Volker Lendecke
d53cfb7675 s3: Simplify winbindd_list_trusted_domains() slightly 2009-12-28 14:59:45 +01:00
Volker Lendecke
2daa084da4 s3: Simplify "setup_domain_child" slightly 2009-12-28 14:59:45 +01:00
Volker Lendecke
ff0f8bd9e6 s3:winbind Make the normal client exit message a bit more understandable 2009-12-26 18:00:47 +01:00
Volker Lendecke
0a6a13dd07 s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw@samba.org> -- thanks :-) 2009-12-26 15:21:09 +01:00
Volker Lendecke
7e66145560 s3: Fix a bogus uninitialized variable warning 2009-12-26 12:26:07 +01:00
Volker Lendecke
634d084517 s3: Replace IS_DOMAIN_OFFLINE by a function 2009-12-26 12:26:07 +01:00
Volker Lendecke
50e5f9dc51 s3: Fix some nonempty blank lines 2009-12-26 12:26:06 +01:00
Volker Lendecke
03617df24d s3: winbindd_cli_state->getgrent_state is no longer used 2009-12-26 12:26:06 +01:00