summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-09s4:torture:smb2: add smb2_generic_create_share() that also takes the ↵Michael Adam1-7/+17
sharemode as parameter
2011-11-09s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to ↵Michael Adam2-54/+57
util.c for re-use
2011-11-09s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for ↵Michael Adam1-38/+38
convenience
2011-11-09s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or intMichael Adam2-6/+6
2011-11-09s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in ↵Michael Adam2-35/+36
util.c for re-use
2011-11-09s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.cMichael Adam2-24/+25
2011-11-09s4:torture:smb2: use common smb2_util_lease_state() in the lease testsMichael Adam1-55/+34
2011-11-09s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().Michael Adam2-24/+25
2011-11-09s4:torture:smb2: fix illegal write/uninitialized data bug in the ↵Michael Adam1-0/+1
lease.multibreak test
2011-11-09s4:torture:smb2: lease.update2: some more reasonable struct names and a commentMichael Adam1-3/+7
2011-11-09s4:torture:smb2: change the test file name in the durable-open.oplock testMichael Adam1-1/+1
to a more reasonable name. This one must have been copied from the durable-open.lease test.
2011-11-09samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner2-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
2011-11-08s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 ↵Günther Deschner1-0/+32
marshalling is... Guenther
2011-11-08s4:samba-tool user command - always initialise the boolean arguments properlyMatthias Dieter Wallnöfer1-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
2011-11-08s4:samba-tool - other fix for Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer1-2/+2
The condition has not been specified correctly since we are expecting a boolean. Pointed out by Jelmer. Reviewed-by: Jelmer
2011-11-08s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326)Stefan Metzmacher1-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
2011-11-08s3:libsmb: correctly parse the LANMAN2.1 negprot response from OS/2 (bug #8584)Stefan Metzmacher1-4/+30
metze
2011-11-08s3:libsmb: key_len is 8bit only in the NT1 caseStefan Metzmacher1-1/+1
metze
2011-11-08s3: Remove two unused variablesVolker Lendecke1-2/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 8 10:14:36 CET 2011 on sn-devel-104
2011-11-08s4-provision: site is passed as an argument to setup_ad_dns()Amitay Isaacs1-1/+0
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 06:07:46 CET 2011 on sn-devel-104
2011-11-08s4-provision Remove options for LDAP backend to reduce user confusionAndrew Bartlett5-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
2011-11-08s4-s3-upgrade Add my copyrightAndrew Bartlett1-0/+1
2011-11-08param: Remove duplicate initialization of 'share backend' parameterAmitay Isaacs1-2/+0
2011-11-08s4-smb_server No longer follow the security=share smb.conf directiveAndrew Bartlett5-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
2011-11-08selftest: Remove the 'all' environment as it is just too slow to start upAndrew Bartlett2-60/+1
Instead we start the 'dc' environment, and other environments are available as: make testenv SELFTEST_TESTENV=fl2003dc Andrew Bartlett
2011-11-08s4-dnsserver: Test forward zones are not listed in reverse zone searchAmitay Isaacs1-2/+15
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 01:26:43 CET 2011 on sn-devel-104
2011-11-08s4-dnsserver: Fix enumeration of zones in ComplexOperation RPC callAmitay Isaacs1-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.
2011-11-07Add the SEC_DIR_LIST check to dptr_create().Jeremy Allison1-0/+27
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 7 21:11:03 CET 2011 on sn-devel-104
2011-11-07s4:samba-tool - fix Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer1-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
2011-11-07Add a --random-password option to user create command.Gémes Géza1-4/+16
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2011-11-07s3-wafbuild: Fix inotify detection (bug 8580)Björn Baumbach1-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
2011-11-07s3-build: Fix inotify detection (bug 8580)Björn Baumbach1-2/+4
Enable inotify if sys or kernel inotify is available. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-07s3:libsmb: return NT_STATUS_OK for if a request is not the last one in the chainStefan Metzmacher1-0/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 7 11:38:05 CET 2011 on sn-devel-104
2011-11-07s3:libsmb: make sure have_andx_command() returns false for non AndX commandsStefan Metzmacher1-3/+7
metze
2011-11-07s3:libsmb: remember the seqnum on all chained requestsStefan Metzmacher1-0/+6
This is needed in order to verify the incoming signature correctly. metze
2011-11-07s3:libsmb: get cmd of the chained request before changing wct_ofsStefan Metzmacher1-2/+1
metze
2011-11-07s4: samba-tool user --help documenation improvementsTheresa Halloran2-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
2011-11-07kcc: fixed program nameAndrew Tridgell1-3/+3
kcccompute -> samba_kcc
2011-11-07kcc: fixed tabs/spaces in kcc python implementationAndrew Tridgell2-18/+18
as spotted by autobuild
2011-11-07samba_kcc addtionDave Craft3-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>
2011-11-07add python KCC utility classes and methodsDave Craft1-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>
2011-11-07python dsdb flag addtions (NTDSSETTINGS, NTDSCONN)Dave Craft1-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>
2011-11-06s3:smb2cli: ignore the NBT/Length header in smb2cli_inbuf_parse_compound()Stefan Metzmacher1-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
2011-11-06Some formatting fixes, remove unused imports.Jelmer Vernooij3-13/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 6 06:22:33 CET 2011 on sn-devel-104
2011-11-06s4-resolver: fix bug with DNS servers returning AAAA records when asked for ↵Matthieu Patou1-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
2011-11-05Move the SEC_DIR_LIST check into dptr_create for SMB2 and now for SMB1.Jeremy Allison2-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
2011-11-04can_write_to_file() does now take share permissions into account. Fix comment.Jeremy Allison1-1/+0
2011-11-04No longer do the pre-check on DELETE_ACCESS - we're correctly checking the ↵Jeremy Allison1-22/+0
ACL every time now.
2011-11-04Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).Jeremy Allison4-56/+9
2011-11-04Remove can_access_file_data() - make it use the standard ↵Jeremy Allison3-60/+7
smbd_check_access_rights() instead.