summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-02-24s3-ntlm_auth: Convert ntlm_auth to use gensec_ntlmssp server-sideAndrew Bartlett3-99/+340
This uses the common gensec_ntlmssp server code for ntlm_auth, removing the last non-gensec use of the NTLMSSP server. Andrew Bartlett
2012-02-24s3-auth: Provide helper routine to check password and return session_infoAndrew Bartlett2-0/+31
2012-02-24auth: Rename some elements of auth4_contextAndrew Bartlett4-23/+23
These operate on NTLM authentication, so make that clear. Andrew Bartlett
2012-02-24s3-auth: Add a way to get an auth4_context from the auth stackAndrew Bartlett5-12/+114
This will allow us to use the same layer that auth_ntlmssp does in the non-SPNEGO session setup, which will in turn make the authentication code more consistent in the AD server case. Andrew Bartlett
2012-02-23waf: Make sure libraries are installed with the execute flag set.Andreas Schneider1-1/+2
There are two reasons for that. The first is that libraries are executables and can have main functions (see libc). The second reason is that rpm script to extract debuginfo are looking for executables and then check if it is the right file to extract the info. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 23 20:57:11 CET 2012 on sn-devel-104
2012-02-23s4-heimdal: Remove the execute flag of cfx.c.Andreas Schneider1-0/+0
The scripts which are extracting debuginfo are looking for files with the executable bit and find cfx.c which isn't a executable.
2012-02-23s3:smbd/utmp.c - fix the build on FreeBSD 9 without utmp.hMatthias Dieter Wallnöfer1-0/+2
https://bugzilla.samba.org/show_bug.cgi?id=8709 Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Feb 23 19:17:25 CET 2012 on sn-devel-104
2012-02-23dcerpc_server: Add 'modulesdir' variable to pkg-config file.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Feb 23 16:26:25 CET 2012 on sn-devel-104
2012-02-23s3: smb_request->vwv can be constVolker Lendecke2-2/+2
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Feb 23 12:37:23 CET 2012 on sn-devel-104
2012-02-23selftest: Do not skip environments that fail to start upAndrew Bartlett2-3/+7
This is a regression in 70f4a96c68e91e407651e2487cc3c66a80262fa2. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Feb 23 10:55:20 CET 2012 on sn-devel-104
2012-02-23s4-provision: Fix typo in 9b9fdeefb47f2657c9bb4c2f48318550da510209Andrew Bartlett1-3/+3
This was not found to to a bug in the selftest system. Andrew Bartlett
2012-02-23s3-libads: Remove unused ads_set_machine_password()Andrew Bartlett2-33/+0
Found by callcatcher. Andrew Bartlett
2012-02-23s3-libads: Remove unused ads_pull_sids_from_extendeddn()Andrew Bartlett2-62/+0
Found by callcatcher. Andrew Bartlett
2012-02-23s3-utils: Remove unused connect_to_ipc_krb5()Andrew Bartlett2-57/+0
Found by callcatcher. Andrew Bartlett
2012-02-23wintest: Change to a new Win2008R2 VMAndrew Bartlett1-6/+6
2012-02-23s3-libsmb: Remove unused spnego functionsAndrew Bartlett2-120/+0
2012-02-23s3-rpc_server Remove unused function auth_generic_server_start()Andrew Bartlett2-63/+0
2012-02-23s4:smbcli:smb2: add a random GUID to the transport connection in ↵Michael Adam1-1/+5
smb2_transport_init() This GUID is used in the smb2 negprot when max protocol is bigger than 0x0202. According to section 2.2.3 of the MS-SMB2 document, the Client GUID filed in the SMB2 negotiate request must be filled with a (non-zero) GUID if there are other dialects than 0x0202 in the dialects field. http://msdn.microsoft.com/en-us/library/cc246543%28v=prot.13%29.aspx Apart from corresponding to the docs, this change makes some of our durable-open tests (e.g reopen2 and open-oplock) _not_ hang when running against windows 8 preview (which might be still buggy). Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 23 03:23:57 CET 2012 on sn-devel-104
2012-02-23s3:wscript_build - fix TDB dependency for source3/lib/util.cMatthias Dieter Wallnöfer1-3/+1
https://bugzilla.samba.org/show_bug.cgi?id=8708 Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 23 01:43:04 CET 2012 on sn-devel-104
2012-02-22examples/testsmbc.c - substitute deprecated function "bzero" with "memset"Matthias Dieter Wallnöfer1-1/+1
Here we do not make any use of libreplace and hence it would be overkill to include the right headers for Solaris. This fixes bug: https://bugzilla.samba.org/show_bug.cgi?id=8767 Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22examples/testsmbc.c - quiet implicit cast warnings on OpenSolarisMatthias Dieter Wallnöfer1-2/+2
https://bugzilla.samba.org/show_bug.cgi?id=8767 Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22examples/testsmbc.c - remove unused function "print_list_fn"Matthias Dieter Wallnöfer1-16/+0
It does not get referenced from anywhere. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22examples/testsmbc.c - remove unused variablesMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-02-22s3-vfstest: Return an error code if cmd failedVolker Lendecke1-4/+5
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 23:56:18 CET 2012 on sn-devel-104
2012-02-22Honor SeTakeOwnershiPrivilege when client asks for SEC_STD_WRITE_OWNER but ↵Richard Sharpe1-0/+5
has no permission for that, but token has SeTakeOwnershipPrivilege Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Wed Feb 22 19:19:32 CET 2012 on sn-devel-104
2012-02-22s3-vfstest: Fake smb_requestsVolker Lendecke2-0/+28
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 22 17:32:28 CET 2012 on sn-devel-104
2012-02-22s3-vfstest: Initialize some moreVolker Lendecke1-0/+4
2012-02-22s3: Add an error msg when a share mode entry is discardedVolker Lendecke1-0/+2
2012-02-21s4:torture:smb2: add a durable-open.open-oplock testMichael Adam1-0/+85
this is a variant of the open-lease test that does the initial durable open with a batch oplock instead of a RH lease. This is e.g. useful do analyse a (mis?) behaviour with current windows 8 preview versions, compared to w2k8r2 Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 21 19:51:21 CET 2012 on sn-devel-104
2012-02-21s4:torture:smb2: extend and prettify comment for durable-open.open-lease testMichael Adam1-8/+8
2012-02-21s4:torture:smb2:durable-open: rename the open test to open-leaseMichael Adam1-5/+7
2012-02-21s4:torture:smb2: move some initialization and call to smb2_create together ↵Michael Adam1-2/+2
in durable-open.open test
2012-02-21s4:torture:smb2: fix a typo in the durable-open.open test file nameMichael Adam1-1/+1
2012-02-21s3: Fix smbd -iVolker Lendecke1-0/+1
We end up in a nested event loop without this. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Feb 21 17:24:28 CET 2012 on sn-devel-104
2012-02-21s3: Fix typosVolker Lendecke1-2/+2
2012-02-21upgradedns: Upgrade DNS provision from BIND9_FLATFILE to AD based DNSAmitay Isaacs3-2/+411
This script can be used to convert provision from BIND9_FLATFILE to BIND9_DLZ or SAMBA_INTERNAL dns backends. In addition, the script migrates the DNS data in zone file (if available). Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 21 14:50:10 CET 2012 on sn-devel-104
2012-02-21s4-provision: dns: Add txt DNS recordAmitay Isaacs1-0/+9
2012-02-21s4-provision: dns: Do not re-calculate ntdsguid, use from namesAmitay Isaacs1-15/+1
2012-02-21s4-provision: dns: Refactor population of dns data codeAmitay Isaacs1-56/+98
Code is split in 4 functions - create_dns_legacy - fill_dns_data_legacy - create_dns_partitions - fill_dns_data_partitions This is useful to upgrade dns provision from file based DNS backend to AD based DNS backend.
2012-02-21dlz_bind9: Fix the log message levelAmitay Isaacs1-5/+5
2012-02-21samba-tool: dns: Update the copyrightAmitay Isaacs1-1/+1
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Feb 21 09:55:07 CET 2012 on sn-devel-104
2012-02-21samba-tool: dns: Fix the output display of DNS recordsAmitay Isaacs1-2/+3
2012-02-21samba-tool: dns: Add extra references for string objects as workaroundAmitay Isaacs1-8/+17
This is a workaround for bug in pidl generated python bindings, where C object hold a pointer to python string without increasing reference count in python. So when the python string goes out of scope, the C pointer loses the value.
2012-02-21samba-tool: dns: Add support to add/update/delete MX and SRV recordsAmitay Isaacs1-44/+47
2012-02-21samba-tool: dns: Convert dns data into a dns record for comparisonAmitay Isaacs1-5/+33
and compare two dns records directly. Refactor dns name comparision as dns_name_equal().
2012-02-21samba-tool: dns: Convert dns data in a string to DNS recordAmitay Isaacs1-0/+48
2012-02-21samba-tool: dns: Add MXRecord type to add/update mx recordsAmitay Isaacs1-0/+14
2012-02-21dlz_bind9: Do not remove LDB record in subrdataset and delrdatasetAmitay Isaacs1-13/+8
This fixes the problem of large number of deleted records in DNS partitions due to frequent dynamic dns updates from windows clients. The typical pattern for dynamic update get converted into subrdataset() followed by addrdataset(). If there are no dnsRecord attributes left as a result of sub/delrdataset(), leave the LDB entry for dns name as is. The subsequent addrdataset() would add the dnsRecord attribute without re-creating the same entry.
2012-02-21lib/tdb2: 2.0.0 ABIAmitay Isaacs1-0/+40
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Feb 21 07:43:55 CET 2012 on sn-devel-104
2012-02-21lib/tdb2: Convert tdb2 to a standalone libraryAmitay Isaacs4-0/+99
Adds a Makefile, configure script, and tdb2.pc.in. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>