summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Remove can_access_file_acl(). We no longer need this duplicate code (hurrah!).Jeremy Allison2011-11-044-56/+9
|
* Remove can_access_file_data() - make it use the standard ↵Jeremy Allison2011-11-043-60/+7
| | | | smbd_check_access_rights() instead.
* Add const to the smb_filename argument of smbd_check_access_rights().Jeremy Allison2011-11-043-17/+9
|
* Expose smbd_check_access_rights() to other modules.Jeremy Allison2011-11-042-1/+4
|
* Rename smbd_check_open_rights() to smbd_check_access_rights() as we're going ↵Jeremy Allison2011-11-041-15/+15
| | | | to remove the static from this.
* Replace smb1_file_se_access_check() with just se_access_check().Jeremy Allison2011-11-041-30/+21
|
* Move root check out of smb1_file_se_access_check() in preparation for ↵Jeremy Allison2011-11-041-13/+25
| | | | deleting this function.
* smb1_file_se_access_check() is now static to smbd/open.cJeremy Allison2011-11-042-6/+1
|
* Revert "Change function signature of check_parent_access() to take char * ↵Jeremy Allison2011-11-042-10/+6
| | | | | | | | instead of struct smb_filename." This reverts commit a11c0a41a35aa2b1c14333552045a65e3e50df1e. Not needed.
* Revert "Call check_parent_access() on readdir."Jeremy Allison2011-11-041-13/+0
| | | | | | This reverts commit a763edaf9c76afe2546c035fc090370301dd347b. Checking the wrong thing..
* Properly fix bug #8384 - Windows XP clients seem to crash smbd process every ↵Henry Wong2011-11-041-0/+1
| | | | | | | | | once in a while. Ensure we correctly null out the referenced pointer when we decrease the ref. count. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Nov 4 21:12:13 CET 2011 on sn-devel-104
* s3:docs fix a series of typos in wbinfo manpageChristian Ambach2011-11-041-12/+12
| | | | | | | s/choide/choice/ Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Nov 4 19:38:53 CET 2011 on sn-devel-104
* s3:docs: some corrections for wbinfoChristian Ambach2011-11-041-2/+2
| | | | | Parameters for --sid-aliases and --sid-to-fullname were not listed properly in the SYNOPSIS section
* s3:smbd increase a debug levelChristian Ambach2011-11-041-5/+6
| | | | logging disconnected clients with level 1 swamps the logs
* dns: Fix offset check in ndr_pull_componentKai Blin2011-11-041-1/+1
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Nov 4 17:25:16 CET 2011 on sn-devel-104
* nbt: Fix offset check in ndr_pull_componentKai Blin2011-11-041-1/+1
|
* s4 dns: the opcode is called OPCODE_UPDATE in the RFC, not OPCODE_REGISTERKai Blin2011-11-042-2/+2
|
* s4 dns: Handle QCLASS_NONE queriesKai Blin2011-11-041-0/+5
|
* s4 dns: Support DNS_QTYPE_ALL queriesKai Blin2011-11-041-109/+59
|
* dns: Build the python bindingsKai Blin2011-11-042-1/+12
|