summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-rpc_client: add cli_rpc_pipe_open_noauth_transport.Günther Deschner2009-09-112-14/+30
| | | | Guenther
* s3-schannel: remove last schannel hand-marshalling function.Günther Deschner2009-09-112-34/+0
| | | | Guenther
* s3-schannel: use NL_AUTH_SIGNATURE for schannel sign & seal (client & server).Günther Deschner2009-09-115-83/+118
| | | | Guenther
* s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.Günther Deschner2009-09-111-0/+1
| | | | Guenther
* s3-schannel: remove unused code.Günther Deschner2009-09-113-75/+0
| | | | Guenther
* s3-schannel: use NL_AUTH_MESSAGE for schannel bind reply.Günther Deschner2009-09-111-10/+17
| | | | Guenther
* s3-nterr: add NT_STATUS_RPC_NT_PROTOCOL_ERROR to nt_errstr().Günther Deschner2009-09-111-0/+1
| | | | Guenther
* s3-util: add get/set_cmdline_auth_info_domain to user_auth_info struct.Günther Deschner2009-09-113-0/+22
| | | | Guenther
* s3-rpcclient: add lookupnames4 command.Günther Deschner2009-09-111-0/+52
| | | | Guenther
* s3-rpcclient: add ncacn transport handling for rpcclient.Günther Deschner2009-09-111-5/+88
| | | | Guenther
* s3-rpc_client: add enum dcerpc_transport_t to rpc_cli_transport struct.Günther Deschner2009-09-112-0/+10
| | | | Guenther
* Fix bug 6707 - 3.4.1 segfault in parsing configs.Marc Aurele La France2009-09-101-4/+4
| | | | Fixes an occasional segfault caused by an out-of-bounds reference in config file parsing.
* Fix compile in a usually non-selected define.Jeremy Allison2009-09-091-1/+1
| | | | Jeremy.
* s3:smbd: Add a "hidden" parameter "share:fake_fscaps"Volker Lendecke2009-09-091-0/+3
| | | | | | | | | | | This is needed to support some special app I've just come across where I had to set the SPARSE_FILES bit (0x40) to make it work against Samba at all. There might be others to fake. This is definitely a "Don't touch if you don't know what you're doing" thing, so I decided to make this an undocumented parametric parameter. I know this sucks, so feel free to beat me up on this. But I don't think it will hurt.
* s3-winbindd: Fix Bug #6700: Use dns domain name when needing to guess server ↵Günther Deschner2009-09-091-1/+1
| | | | | | | | | | principal. Patch from Robert LeBlanc <robert@leblancnet.us>. Thanks! Guenther
* s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.Günther Deschner2009-09-081-0/+1
| | | | Guenther
* s3:smbd: Fix bug 6690, wrong error checkAndrew Klosterman2009-09-081-1/+1
|
* s3: remove unused RPC_AUTH_SCHANNEL_NEG struct and parsing functions.Günther Deschner2009-09-083-55/+0
| | | | Guenther
* s3-rpc_server: use NL_AUTH_MESSAGE in pipe_schannel_auth_bind().Günther Deschner2009-09-081-6/+23
| | | | Guenther
* s3-rpc_client: use NL_AUTH_MESSAGE in create_schannel_auth_rpc_bind_req().Günther Deschner2009-09-081-7/+24
| | | | Guenther
* schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.Günther Deschner2009-09-081-0/+1
| | | | | | | These actually belong netlogon but we for now want to keep netlogon as a security providor separate. Guenther
* s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.Günther Deschner2009-09-082-2/+2
| | | | | | | | The Schannel verifier (aka NL_AUTH_SIGNATURE) structure (32 byte) sent from a W2k8r2 DC is passed in a buffer with the size of a NL_AUTH_SHA2_SIGNATURE (56 byte). We should just ignore the remaining 12 zeroed bytes and proceed. Guenther
* Add read() to socketwrapper. Metze please check.Jeremy Allison2009-09-071-1/+1
| | | | Jeremy.
* Fix bug 6673 - smbpasswd does not work with "unix password sync = yes".Jeremy Allison2009-09-065-22/+30
| | | | | | | | | | Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed from sys_read() to sys_recv(). read_socket_with_timeout() is called with non-fd's (with a pty in chgpasswd.c and with a disk file in lib/dbwrap_file.c via read_data()). recv works for the disk file, but not the pty. Change the name of read_socket_with_timeout() to read_fd_with_timeout() to make this clear (and add comments). Jeremy.
* s3:winbind: Convert WINBINDD_SET_HWM to the new APIVolker Lendecke2009-09-0715-128/+454
|
* s3:winbind: Convert WINBINDD_REMOVE_MAPPING to the new APIVolker Lendecke2009-09-0715-108/+488
|
* s3:winbind: Convert WINBINDD_SET_MAPPING to the new APIVolker Lendecke2009-09-0715-106/+538
|
* s3:winbind: Convert WINBINDD_CHECK_MACHACC to the new APIVolker Lendecke2009-09-0715-76/+451
|
* s3:smbd: Add the ntstatus to the smb_panic in share_mode_lock_destructorVolker Lendecke2009-09-071-2/+18
| | | | This might help finding why bug 6518 happens
* Tell newbie devs about ./configure.developerRusty Russell2009-09-061-1/+1
| | | | | | Enhances the outputs in autogen.sh for both s3 and s4. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* Check we read off the compelte event from inotifySimo Sorce2009-09-051-2/+8
| | | | | | | The kernel may return a short read, so we must use read_data() to make sure we read off the full buffer. If somethign bad happens we also need to kill the inotify watch because the filedescriptor will return out of sync structures if we read only part of the data.
* Save and report the correct errno value.Simo Sorce2009-09-051-8/+12
|
* s3:winbind: Use fstr_sprintf, it is simpler than talloc_asprintf->fstrcpyVolker Lendecke2009-09-051-8/+5
|
* s3:winbind: Remove pointless <cond> ? true : false;Volker Lendecke2009-09-051-4/+4
|
* s3:winbind: Make the pam_auth subfunctions staticVolker Lendecke2009-09-052-18/+9
|
* s3:libsmb: Convert (state->received) to (state->received != 0)Volker Lendecke2009-09-051-1/+1
| | | | This confused me for a second, this should not happen a second time :-)
* s3:winbind: Fix Coverity ID 933: FORWARD_NULLVolker Lendecke2009-09-041-0/+1
|
* s3:smbd: Fix Coverity ID 937, REVERSE_INULLVolker Lendecke2009-09-041-2/+2
|
* s3:winbind: Fix Coverity ID 940: Resource LeakVolker Lendecke2009-09-041-0/+1
|
* s3-ntlm_auth: fix two segfaults in diagnostics mode.Günther Deschner2009-09-041-2/+2
| | | | Guenther
* Hopefully last part of the fix for bug 6651 - smbd SIGSEGV when breaking ↵Jeremy Allison2009-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | oplocks. This one is subtle. There is a race condition where a signal can be queued for oplock break, and then the file can be closed by the client before the signal can be processed. Currently if this occurs we panic (we can't match an incoming signal fd with a fsp pointer). Simply log the error (at debug level 10 right now, might be too much) and then return without processing the break request. It looks like there is another race condition with this fix, but here's why it won't happen. If the signal was pending (caused by a kernel oplock break from a local file open), and the client closed the file and then re-opened another file which happened to use the same file descriptor as the file just closed, then theoretically the oplock break requests could be processed on the wrong fd. Here's why this should be very rare.. Processing a pending signal always take precedence over an incoming network request, so as long as the client close request is non-chained then the break signal should always be harmlessly processed *before* the open can be called. If the open is chained onto the close, and the fd on the new open is the same as the old closed fd, then it's possible this race will occur. However, all that will happen is that we'll lose the oplock on this file. A shame, but not a fatal event. Jeremy.
* s3:libsmb: Attempt to fix bug 6665Volker Lendecke2009-09-031-0/+6
| | | | | | Before the async libsmb rewrites, we sent tid==0 on negprot. With the rewrite, we send 0xffff. This *should* not matter, but this is one difference in the sniffs I see.
* s3-net: allow to exit "net rpc sh" with "q" as well.Günther Deschner2009-09-021-1/+3
| | | | Guenther
* s3-netlogon: use WERRORs in NETLOGON_INFO structures.Günther Deschner2009-09-021-60/+20
| | | | Guenther
* Do not redefine struprMatt Kraai2009-09-022-0/+3
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ldap: Fix bug #4296: Clean up group membership while deleting a user.Günther Deschner2009-09-021-0/+46
| | | | | | Note that this only is tried with editposix=yes. Guenther
* s3-netlogon: implement _netr_ServerPasswordSet2.Günther Deschner2009-09-021-11/+55
| | | | Guenther
* s3-netlogon: rework _netr_ServerPasswordSet.Günther Deschner2009-09-021-62/+123
| | | | Guenther
* s3-netlogon: implement _netr_LogonSamLogonWithFlags().Günther Deschner2009-09-021-18/+40
| | | | Guenther
* s3-smbpasswd: Fix Bug #6584: allow DOM\user when changing passwords remotely.Simo Sorce2009-09-021-3/+16
| | | | Signed-off-by: Günther Deschner <gd@samba.org>