summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-selftest: add testparm tests to selftest.Günther Deschner2010-08-131-0/+1
| | | | Guenther
* Fix bug #7617 - smbd coredump due to uninitialized variables in the ↵Jeremy Allison2010-08-121-2/+2
| | | | | | | | | | | | | | | | | | performance counter code. In the file rpc_server.c, function _winreg_QueryValue() uint8_t *outbuf Should be : uint8_t *outbuf = NULL; As it is later freed by if (free_buf) SAFE_FREE(outbuf); in some cases, this frees the unintialized outbuf, which causes a coredump.
* s3-libnet: fix bug #6364: Pull realm from supplied username on libnet joinJim McDonough2010-08-121-0/+7
|
* s3-waf: fix the build.Günther Deschner2010-08-121-0/+21
| | | | Guenther
* s3: fall back to cups-config for underlinked libsBjörn Jacke2010-08-121-4/+10
| | | | | | some OpenBSD systems have underlinked cups libraries. If linking against cups alone fails, try to link against all the cups-config --libs cruft, which we usually don't want. (bugzila #7244)
* Revert "s3: Use cups-config --libs"Björn Jacke2010-08-121-1/+1
| | | | | This reverts commit 911db761148. This was introduced in 18f1f5b56b140 intentionally.
* ntlmssp: fix unitialized variable in ntlmssp_server_postauth().Günther Deschner2010-08-121-1/+1
| | | | Guenther
* pidl:Samba3/ClientNDR: implement rpccli_ stubs on top of dcerpc_ stubsStefan Metzmacher2010-08-123-169/+62
| | | | metze
* s3:Makefile: link in dcerpc client stubsStefan Metzmacher2010-08-121-0/+20
| | | | metze
* s3:winbindd: add wbint dcerpc_binding_handle backendStefan Metzmacher2010-08-121-0/+262
| | | | metze
* s3:rpc_server: add rpc_pipe_open_internal dcerpc_binding_handle backendStefan Metzmacher2010-08-121-0/+272
| | | | metze
* s3:rpc_client: add dcerpc_binding_handle backendStefan Metzmacher2010-08-124-0/+376
| | | | metze
* s4:librpc/rpc: make struct dcerpc_binding_handle privateStefan Metzmacher2010-08-122-10/+9
| | | | metze
* pidl:Samba4/NDR/Client: add sync dcerpc_pipe based stubs as compat for ↵Stefan Metzmacher2010-08-121-0/+60
| | | | | | | | | | | | | | | OpenChange This will activate the compat wrappers for all functions of an interface: #define DCERPC_IFACE_MYPROTO_COMPAT 1 #include <ndr_myproto_c.h> This will activates the compat wrappers just for specific functions: #define DCERPC_CALL_MYFN1_COMPAT 1 #define DCERPC_CALL_MYFN2_COMPAT 1 #include <ndr_myproto_c.h> metze
* pidl:Samba4/NDR/Client: add non struct base dcerpc_binding_handle client stubsStefan Metzmacher2010-08-121-2/+460
| | | | metze
* pidl:Samba4/NDR/Client: convert code to $self->pidl()Stefan Metzmacher2010-08-122-163/+192
| | | | metze
* pidl:Samba4/NDR/Client: s/interface/if/Stefan Metzmacher2010-08-121-22/+22
| | | | metze
* pidl:Samba4/NDR/Client: make use of the new dcerpc_binding_handle_call() ↵Stefan Metzmacher2010-08-121-94/+15
| | | | | | infrastructure metze
* pidl:Samba4/NDR/Client: remove old dcerpc_pipe based sync stubsStefan Metzmacher2010-08-121-42/+0
| | | | | | | They're unused in Samba and only used by OpenChange. I'll add a compat functions for OpenChange later. metze
* s4:librpc/rpc: add dcerpc_binding_handle dcerpc_pipe backendStefan Metzmacher2010-08-123-4/+411
| | | | metze
* librpc/rpc: add dcerpc_binding_handle abstrationStefan Metzmacher2010-08-123-3/+588
| | | | metze
* s4:librpc/rpc: fix dcerpc_log_packet() prototypeStefan Metzmacher2010-08-122-6/+6
| | | | metze
* s4:librpc/rpc: autodetect the need of async call logicStefan Metzmacher2010-08-122-8/+6
| | | | metze
* pidl:Samba3/ClientNDR: ignore "todo" functionsStefan Metzmacher2010-08-121-3/+4
| | | | metze
* testprogs/midltests: add some example IDL files and there midltests.exe outputStefan Metzmacher2010-08-1211-1/+221
| | | | metze
* s3: Reduce the load on the echo handlerVolker Lendecke2010-08-121-0/+2
| | | | | | | If the parent is fast enough, the echo handler should not step in. When the socket becomes readable, the echo handler goes to sleep for a second. If within that second, the parent has picked up the SMB request from the net, the echo handler will just go back to select().
* s3: Slightly simplify the logic in smbd_server_echo_handlerVolker Lendecke2010-08-121-1/+4
|
* s3: Slightly simplify the logic in smbd_server_connection_handlerVolker Lendecke2010-08-121-1/+4
|
* s3: ?true:false is a *bit* pointless :-)Volker Lendecke2010-08-121-1/+1
|
* Fix a typoVolker Lendecke2010-08-121-1/+1
|
* smbtorture: Don't crash RAW-QFILEINFO if there's no alternate name.James Peach2010-08-111-0/+5
|
* smbtorture: Make BASE-OPENATTR report a failure if it fails.James Peach2010-08-111-2/+4
|
* s3-waf: fix the waf build with more recent MIT krb5 libs.Günther Deschner2010-08-112-1/+4
| | | | | | | | | | (such as MIT krb5 1.7.1 on fedora 13). This whole area needs more work and love later, for now it builds at least. Kai, please check. Guenther
* s4-test: Implement DRS-RPC-msDSIntId test caseKamen Mazdrashki2010-08-114-1/+647
|
* s4-dsdb: fix attributes_by_msDS_IntId index sortingKamen Mazdrashki2010-08-111-1/+5
|
* s4-test: Move dsdb_schema loading into public functionKamen Mazdrashki2010-08-112-60/+96
| | | | I will use this function for tests implementation later
* s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki2010-08-115-4/+5
|
* s4-test: Move dssync.c to torture/drs/rpcKamen Mazdrashki2010-08-111-0/+0
|
* s4-test: strip trailing white-spacesKamen Mazdrashki2010-08-111-21/+21
|
* s4:objectclass LDB module - weak the check for the "rIDSet" delete constraintMatthias Dieter Wallnöfer2010-08-101-8/+10
| | | | | Perform it only when a "rIDSet" does exist. Requested by ekacnet for "upgradeprovision".
* s4:dsdb/common/util.c - provide a call which returns the forest function levelMatthias Dieter Wallnöfer2010-08-101-2/+15
| | | | | Sooner or later we'll need this too since not all operations depend only on the current's domain function level (see the MS-ADTS docs).
* libds/common/flags.h - fix a comment's typoMatthias Dieter Wallnöfer2010-08-101-1/+1
|
* s4:dsdb/common/util.c - use LDB constants whenever possibleMatthias Dieter Wallnöfer2010-08-101-8/+8
|
* libcli/auth Make the source3/ implementation of the NTLMSSP server commonAndrew Bartlett2010-08-104-1047/+531
| | | | | | | | | This means that the core logic (but not the initialisation) of the NTLMSSP server is in common, but uses different authentication backends. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp Split the NTLMSSP server into before and after authenticationAndrew Bartlett2010-08-101-62/+148
| | | | | | | | | | | | | | | This allows for a future where the auth subsystem is async, and the session key generation needs to happen in a callback. This code is originally reworked into this style by metze for the source4/ implementation. The other change here is to introduce an 'out_mem_ctx', which makes the API match that used in source4. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp Always call ntlmssp_sign_init()Andrew Bartlett2010-08-101-3/+1
| | | | | | | | | There is no code path that sets nt_status before this point, without a return. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp Don't use talloc_tos() for NTLMSSP blobs for nowAndrew Bartlett2010-08-101-2/+2
| | | | | | | | | | This code will, I hope, soon be merged in common, and the Samba4 use case does not currently support talloc_tos() properly. Use another context for now. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp Don't permit LM_KEY in combination with NTLMv2Andrew Bartlett2010-08-101-1/+4
| | | | | | | | | This is another 'belts and braces' check to avoid the use of the weak 'LM_KEY' encryption when the client has chosen NTLMv2. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp Don't reply with the LM_KEY negotiation flag when not availableAndrew Bartlett2010-08-101-0/+15
| | | | | | | | | This ensures the client isn't confused and we don't enter this weaker authentication scheme when we don't really, really need to. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:ntlmssp Don't use the lm key if the user didn't supply one.Andrew Bartlett2010-08-101-3/+3
| | | | | | | | | | | This may help to avoid a number of possible MITM attacks where LM_KEY is spoofed into the session. If the login wasn't with lanman (and so the user chose to disclose their lanman response), don't disclose back anything based on their lanman password. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>