summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* s4-resolve: added resolve_name_multiple_recv()Andrew Tridgell2010-09-151-0/+34
| | | | | | this allows for multiple replies to a SRV lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: fixed lookup of SRV records using dns_exAndrew Tridgell2010-09-151-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: fixed some printf format errorsAndrew Tridgell2010-09-153-3/+3
|
* s4-libnet: converted finddcs call to tevent_reqAndrew Tridgell2010-09-154-89/+128
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-secrets: fetch secure channel type with domain SIDAndrew Tridgell2010-09-154-4/+27
| | | | | | The secure channel type is needed to work out what DC to connect to Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: when we are a DC enable winbind authAndrew Tridgell2010-09-151-1/+3
| | | | | | As a RODC we need to forward some auth requests to a writable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: set the RODC bit for RODC schannelAndrew Tridgell2010-09-152-1/+5
| | | | | | | | When we are using SEC_CHAN_RODC we need to set the NETLOGON_NEG_RODC_PASSTHROUGH bit in the negotiated flags in ServerAuthenticate2 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-schannel: fixed reference to context after freeAndrew Tridgell2010-09-151-2/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth: allow multiple active auth backendsAndrew Tridgell2010-09-151-35/+43
| | | | | | | | | | when we are an RODC we need to be able to allow multiple auth backends to process a single auth request. First the sam backend will try to authenticate, using locally stored passwords. If this backend can't find local passwords then it will try the winbind backend and authenticate via a writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-smb: serialise session setup operationsAndrew Tridgell2010-09-152-0/+16
| | | | | | | the mixture of async and sync code in gensec makes a EOF on a socket during a session setup cause a crash. The simplest solution is to stop processing events on the socket until the session setup is complete.
* talloc: fixed spelling errors in commentAndrew Tridgell2010-09-151-2/+2
|
* s4-rodc: add a trigger message for REPL_SECRET to auth_samAndrew Tridgell2010-09-153-0/+73
| | | | | | | | | when an RODC tries to authenticate against an account and the account has no password information it needs to send a message to the drepl server to tell it to try and replicate the secret information from a writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-messaging: add support for no_reply in irpc messagesAndrew Tridgell2010-09-152-0/+8
| | | | | | | | | | | | It can be useful for a irpc message to be one-way, where the client sends a messages and the server does not reply. This will be used for things like a triger message from an auth context to the drepl server to tell it to try a REPL_SECRET on a user in a RODC. Previously we've used raw messaging for messages that have no reply, but that doesn't allow us to use messages described by IDL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kcc: removed redundent loop check Andrew Tridgell2010-09-151-1/+1
| | | | el has already been checked for NULL
* s4-smb: smbsrv_blob_push_string() can return -1Andrew Tridgell2010-09-151-8/+11
| | | | need to use ssize_t, not size_t for error handling
* s4-dsdb: check for invalid backend typeAndrew Tridgell2010-09-151-0/+2
|
* s4-rootdse: setup length after NULL checkAndrew Tridgell2010-09-151-2/+2
|
* s4-dsdb: fixed use after free for RODCAndrew Tridgell2010-09-151-2/+1
|
* s4-dsdb: free right context on failureAndrew Tridgell2010-09-151-1/+1
| | | | down_req is not initialised yet
* s4-dsdb: defer ac->msg after check for NULL acAndrew Tridgell2010-09-151-1/+3
|
* s4-anr: check for allocation failure before useAndrew Tridgell2010-09-151-1/+1
|
* s4: Fix two typosVolker Lendecke2010-09-141-2/+2
|
* Allows changing the maximum number of simultaneous clients in winbindd ↵Pierre Carrier2010-09-145-9/+30
| | | | | | through an smb.conf option. Signed-off-by: Jeremy Allison <jra@samba.org>
* Ensure incoming timespec values correctly wrap at nsecs.Jeremy Allison2010-09-142-0/+11
| | | | Jeremy.
* Fix string_to_sid() to allow non '\0' termination of the string - allowsJeremy Allison2010-09-141-11/+6
| | | | | | string_to_sid() to be used in formatted strings like FOO/S-1-5-XXXX-YYYY/BAR. Jeremy.
* s3-torture Add tests to show that the dom_sid parsing was faulty.Andrew Bartlett2010-09-141-0/+98
| | | | Andrew Bartlett
* s3-util_sid Use the NDR parser to parse struct dom_sidAndrew Bartlett2010-09-141-14/+8
| | | | | | | The manual parser failed to constrain the maximum number of sub-authorities to 15, allowing an overflow of the array. Andrew Bartlett
* libcli/security Use sid_append_rid() in dom_sid_append_rid()Andrew Bartlett2010-09-141-5/+5
| | | | | | | This ensures that the maximum number of sub-authorities is respected, otherwise we may run off the end of the array. Andrew Bartlett
* libcli/security Merge source3/ string_to_sid() to common codeAndrew Bartlett2010-09-142-143/+92
| | | | | | | | The source3 code repsects the limit of a maximum of 15 subauths, while the source4 code does not, creating a security issue as we parse string-form SIDs from clients. Andrew Bartlett
* s3-util_sid use ARRAY_SIZE() to ensure we never overflow the dom_sidAndrew Bartlett2010-09-141-1/+1
| | | | | | | This ensures that this, unlike the MAXSUBAUTHS macro, can't get out of sync with the structure. Andrew Bartlett
* s3-util_sid Accept S-1-5 as a SIDAndrew Bartlett2010-09-141-2/+10
|
* s3-dom_sid Use C99 types in dom_sid handlingAndrew Bartlett2010-09-141-7/+7
| | | | Andrew Bartlett
* s3/profile: remove the magical clock initialization from the profile codeBjörn Jacke2010-09-142-64/+3
| | | | | | there's no point in not profiling times if no monotonic clock is found - monotonic and realtime clock are equally fast. Just use clock_gettime_mono instead.
* s3/profiling: don't use CLOCK_PROCESS_CPUTIME_IDBjörn Jacke2010-09-143-36/+0
| | | | that clock is a CPU burnometer but we need a chronometer for profiling.
* libreplace: use CLOCK_HIGHRES when availableBjörn Jacke2010-09-141-3/+5
| | | | in Solaris 8 CLOCK_HIGHRES was the (only) name for CLOCK_MONOTONIC
* ntlmssp: when pushing an ntlmssp NEGOTIATE_MESSAGE deal with NULL strings.Günther Deschner2010-09-141-2/+2
| | | | Guenther
* rpc_server: Remove unnecessary dependency on server modules, buildJelmer Vernooij2010-09-141-1/+1
| | | | system will take care of that.
* waf: work around circular dependency finder erroneously removing dependency ↵Jelmer Vernooij2010-09-141-1/+4
| | | | of gensec on dcerpc.
* selftest: Error out rather than die() when setting up an environmentJelmer Vernooij2010-09-141-55/+117
| | | | fails.
* selftest: If setting up environment fails, mark testsuites that use it asJelmer Vernooij2010-09-141-12/+5
| | | | errorring, don't skip it.
* s4-smbtorture: try to fix spoolss winreg Form tests on bigendian machines.Günther Deschner2010-09-141-15/+36
| | | | Guenther
* tdb: add ABI/tdb-1.2.4.sigsStefan Metzmacher2010-09-141-0/+60
| | | | metze
* nss_winbind: Fix soname.Jelmer Vernooij2010-09-141-1/+1
|
* subunit: Use RemoteError when passing errors to upstream subunit.Jelmer Vernooij2010-09-142-19/+26
|
* param: Add prototype for lpcfg_private_dir(), used by openchange.Jelmer Vernooij2010-09-141-0/+1
|
* subunit.pm: Fold Subunit::Filter into Subunit, trim further.Jelmer Vernooij2010-09-143-111/+11
|
* subunit.pm: Remove output_msg/control_msg functions.Jelmer Vernooij2010-09-142-15/+1
|
* selftest: Remove testsuite parsing.Jelmer Vernooij2010-09-142-40/+10
|
* subunit.pm: Simplify subunit handling in perl.Jelmer Vernooij2010-09-144-159/+19
|
* subunit.pm: Pass through milliseconds in time reports.Jelmer Vernooij2010-09-143-12/+10
|