summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as ↵Michael Adam2011-11-091-2/+8
| | | | parameter
* s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as ↵Michael Adam2011-11-091-2/+12
| | | | parameter
* s4:torture:smb2: add smb2_generic_create_share() that also takes the ↵Michael Adam2011-11-091-7/+17
| | | | sharemode as parameter
* s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to ↵Michael Adam2011-11-092-54/+57
| | | | util.c for re-use
* s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for ↵Michael Adam2011-11-091-38/+38
| | | | convenience
* s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or intMichael Adam2011-11-092-6/+6
|
* s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in ↵Michael Adam2011-11-092-35/+36
| | | | util.c for re-use
* s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.cMichael Adam2011-11-092-24/+25
|
* s4:torture:smb2: use common smb2_util_lease_state() in the lease testsMichael Adam2011-11-091-55/+34
|
* s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().Michael Adam2011-11-092-24/+25
|
* s4:torture:smb2: fix illegal write/uninitialized data bug in the ↵Michael Adam2011-11-091-0/+1
| | | | lease.multibreak test
* s4:torture:smb2: lease.update2: some more reasonable struct names and a commentMichael Adam2011-11-091-3/+7
|
* s4:torture:smb2: change the test file name in the durable-open.oplock testMichael Adam2011-11-091-1/+1
| | | | | to a more reasonable name. This one must have been copied from the durable-open.lease test.
* samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner2011-11-092-1/+3
| | | | | | | | | | | | | The entire marshalling of samr_ChangePasswordUser3 broke with c2685cdedb430ae75a94e86f34484292b4269363. Matthias, the bad effect of this change was that actually all failed password change attempts will always return NT_STATUS_OK because the last 4 bytes (the resulting status code) were not marshalled anymore. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 9 00:41:13 CET 2011 on sn-devel-104
* s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 ↵Günther Deschner2011-11-081-0/+32
| | | | | | marshalling is... Guenther
* s4:samba-tool user command - always initialise the boolean arguments properlyMatthias Dieter Wallnöfer2011-11-081-3/+3
| | | | | | | | | It they haven't been specified. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 8 22:28:38 CET 2011 on sn-devel-104
* s4:samba-tool - other fix for Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer2011-11-081-2/+2
| | | | | | | The condition has not been specified correctly since we are expecting a boolean. Pointed out by Jelmer. Reviewed-by: Jelmer
* s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)Stefan Metzmacher2011-11-081-4/+15
| | | | | | | | | | Print shares doesn't support CAP_LARGE_WRITEX, while it's negotiated by the file server part. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 8 17:01:36 CET 2011 on sn-devel-104
* s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher2011-11-081-4/+30
| | | | metze
* s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher2011-11-081-1/+1
| | | | metze
* s3: Remove two unused variablesVolker Lendecke2011-11-081-2/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 8 10:14:36 CET 2011 on sn-devel-104
* s4-provision: site is passed as an argument to setup_ad_dns()Amitay Isaacs2011-11-081-1/+0
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 06:07:46 CET 2011 on sn-devel-104
* s4-provision Remove options for LDAP backend to reduce user confusionAndrew Bartlett2011-11-085-48/+21
| | | | | | | | | | | | We do not support the LDAP backend any more, but keep the code in case someone comes up with an interesting use case that could leverage this in a very particular situation. In order to keep the code, we must test it, so we keep just this much of the support around. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 8 04:33:49 CET 2011 on sn-devel-104
* s4-s3-upgrade Add my copyrightAndrew Bartlett2011-11-081-0/+1
|
* param: Remove duplicate initialization of 'share backend' parameterAmitay Isaacs2011-11-081-2/+0
|
* s4-smb_server No longer follow the security=share smb.conf directiveAndrew Bartlett2011-11-085-24/+2
| | | | | | | | By ignoring the value of security= from the smb.conf, we can allow this to instead set the value of 'server role' in a manner compatible with the Samba 3.x release stream. Andrew Bartlett
* selftest: Remove the 'all' environment as it is just too slow to start upAndrew Bartlett2011-11-082-60/+1
| | | | | | | Instead we start the 'dc' environment, and other environments are available as: make testenv SELFTEST_TESTENV=fl2003dc Andrew Bartlett
* s4-dnsserver: Test forward zones are not listed in reverse zone searchAmitay Isaacs2011-11-081-2/+15
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 01:26:43 CET 2011 on sn-devel-104
* s4-dnsserver: Fix enumeration of zones in ComplexOperation RPC callAmitay Isaacs2011-11-081-49/+84
| | | | | | zone_request_flags are interpreted in different groups rather than a single group. This correctly returns 0 zones when there are no reverse zones and DNS_ZONE_REQUEST_REVERSE is set in zone_request_flags.
* Add the SEC_DIR_LIST check to dptr_create().Jeremy Allison2011-11-071-0/+27
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 7 21:11:03 CET 2011 on sn-devel-104
* s4:samba-tool - fix Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer2011-11-071-4/+5
| | | | | | | The new "random-password" parameter has not been evaluated correctly. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 7 19:35:05 CET 2011 on sn-devel-104
* Add a --random-password option to user create command.Gémes Géza2011-11-071-4/+16
| | | | | Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s3-wafbuild: Fix inotify detection (bug 8580)Björn Baumbach2011-11-071-2/+3
| | | | | | | | | Enable inotify if sys or kernel inotify is available. Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 16:28:38 CET 2011 on sn-devel-104
* s3-build: Fix inotify detection (bug 8580)Björn Baumbach2011-11-071-2/+4
| | | | | | Enable inotify if sys or kernel inotify is available. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chainStefan Metzmacher2011-11-071-0/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104
* s3:libsmb: make sure have_andx_command() returns false for non AndX commandsStefan Metzmacher2011-11-071-3/+7
| | | | metze
* s3:libsmb: remember the seqnum on all chained requestsStefan Metzmacher2011-11-071-0/+6
| | | | | | | This is needed in order to verify the incoming signature correctly. metze
* s3:libsmb: get cmd of the chained request before changing wct_ofsStefan Metzmacher2011-11-071-2/+1
| | | | metze
* s4: samba-tool user --help documenation improvementsTheresa Halloran2011-11-072-7/+146
| | | | | | | Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 7 01:39:25 CET 2011 on sn-devel-104
* kcc: fixed program nameAndrew Tridgell2011-11-071-3/+3
| | | | kcccompute -> samba_kcc
* kcc: fixed tabs/spaces in kcc python implementationAndrew Tridgell2011-11-072-18/+18
| | | | as spotted by autobuild
* samba_kcc addtionDave Craft2011-11-073-1/+705
| | | | | | | | | | Scaffolding and initial implementations of portions of the KCC in python. This code currently properly computes the graph nodes for the intrasite topology as well as enumerating all steps for a full run of the KCC. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* add python KCC utility classes and methodsDave Craft2011-11-071-0/+890
| | | | | | | | | | | | | | New file source4/scripting/python/samba/kcc_utils.py contains classes and methods for: DirectoryServiceAgent NTDSConnection GraphNode NamingContext NCReplica These are consumed by a new samba_kcc python script for KCC topology computation Signed-off-by: Andrew Tridgell <tridge@samba.org>
* python dsdb flag addtions (NTDSSETTINGS, NTDSCONN)Dave Craft2011-11-071-0/+27
| | | | | | | | | | | Add missing flags present in C code base to python code base dsdb/pydsdb.c INSTANCE_TYPE... DS_NTDSSETTINGS_OPT... NTDSCONN_OPT... These are consumed by the python KCC scripts Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3:smb2cli: ignore the NBT/Length header in smb2cli_inbuf_parse_compound()Stefan Metzmacher2011-11-061-7/+7
| | | | | | | | | | This is not needed and in future we want to support SMBDirect, which add a different header. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 6 17:17:04 CET 2011 on sn-devel-104
* Some formatting fixes, remove unused imports.Jelmer Vernooij2011-11-063-13/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 6 06:22:33 CET 2011 on sn-devel-104
* s4-resolver: fix bug with DNS servers returning AAAA records when asked for ↵Matthieu Patou2011-11-061-2/+4
| | | | | | | A records Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 6 03:18:00 CET 2011 on sn-devel-104
* Move the SEC_DIR_LIST check into dptr_create for SMB2 and now for SMB1.Jeremy Allison2011-11-052-5/+6
| | | | | | | The pathname check still needs fixing. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Nov 5 01:38:00 CET 2011 on sn-devel-104
* can_write_to_file() does now take share permissions into account. Fix comment.Jeremy Allison2011-11-041-1/+0
|
* No longer do the pre-check on DELETE_ACCESS - we're correctly checking the ↵Jeremy Allison2011-11-041-22/+0
| | | | ACL every time now.