summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-dns: Added support for multiple DNS_RPC_RECORDS structuresAmitay Isaacs2011-10-204-3/+93
| | | | | | | | | | Windows returns multiple DNS_RPC_RECORDS structures, but there is no well defined structure in [MS-DNSP] doc. Added hand-written code to parse ndr. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dns: Added more data types for dnsserver implementationAmitay Isaacs2011-10-201-376/+547
| | | | | | Windows uses WERROR on dnsserver pipe. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb-samba: Added handler to decode dnsProperty attributeAmitay Isaacs2011-10-202-0/+22
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* dnsp: Added typedefs to interpret dnsProperty attribute for dnsZone objectclassAmitay Isaacs2011-10-201-3/+123
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-test: added test suite for common.py codeAndrew Tridgell2011-10-201-0/+42
| | | | | | | | | this tests the dsdb_Dn() class Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 05:51:28 CEST 2011 on sn-devel-104
* s4-dsdb: moved dsdb_Dn() into common.pyAndrew Tridgell2011-10-202-26/+43
| | | | | | this gives a method for dealing with binary DNs from python Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* subunitrun: give more useful helpAndrew Tridgell2011-10-201-2/+25
| | | | | | give some examples and more useful description for subunitrun command Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* Fix a boatload of warnings in the examples.Jeremy Allison2011-10-2015-163/+48
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 20 02:29:52 CEST 2011 on sn-devel-104
* Fix error return to be NT_STATUS_NOT_A_DIRECTORY.Jeremy Allison2011-10-201-2/+2
|
* Make use of the "dir_exists" we already have on directory open.Jeremy Allison2011-10-201-8/+28
|
* dsdb: improve debug messageAndrew Tridgell2011-10-206-11/+10
| | | | | | | show the reply type in "Invalid reply type" messages Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 00:57:05 CEST 2011 on sn-devel-104
* s3-waf: make sure we always compile (not install) our libsmbclient testcode.Günther Deschner2011-10-193-0/+88
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 19 20:42:52 CEST 2011 on sn-devel-104
* s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static thereStefan Metzmacher2011-10-193-14/+13
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104
* s3:libsmb/smb_seal: s/uint16/uint16_tStefan Metzmacher2011-10-192-5/+5
| | | | metze
* s3:include: move smb_seal.c prototypes to smb_crypt.hStefan Metzmacher2011-10-193-9/+10
| | | | metze
* s3:libsmb/smb_seal: make common_ntlm_[en|de]crypt_buffer staticStefan Metzmacher2011-10-192-7/+2
| | | | metze
* s4:libcli/raw: remove unused smb_len(), _smb_setlen() and _smb2_setlen() macrosStefan Metzmacher2011-10-191-6/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 17:15:23 CEST 2011 on sn-devel-104
* s4:smb_server/smb2: make use of _smb_setlen_tcp()Stefan Metzmacher2011-10-191-1/+1
| | | | metze
* s4:smb_server/smb: make use of _smb_setlen_nbt()Stefan Metzmacher2011-10-191-1/+1
| | | | metze
* s4:libcli/smb2: make use of _smb_setlen_tcp()Stefan Metzmacher2011-10-191-2/+2
| | | | metze
* s4:libcli/raw: make use of _smb_setlen_nbt()Stefan Metzmacher2011-10-192-2/+2
| | | | metze
* s4:lib/stream: make use of smb_len_tcp()Stefan Metzmacher2011-10-191-1/+7
| | | | metze
* s3:include: use smb_[set]len_[nbt|tcp]() macrosStefan Metzmacher2011-10-191-4/+4
| | | | metze
* libcli/smb: add smb_[set]len_[nbt|tcp]() macrosStefan Metzmacher2011-10-191-0/+6
| | | | metze
* s3: remove duplicate fsctl fn definitionsDavid Disseldorp2011-10-192-13/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli: Move smb2 fsctl fn defs into common codeDavid Disseldorp2011-10-191-1/+14
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Remove duplicate fsctl function definitionsDavid Disseldorp2011-10-195-52/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* libcli: move ioctl function field defs to smb_constantsDavid Disseldorp2011-10-1910-67/+46
| | | | | | | Currently there are a lot of duplicate ioctl function field definitions between source3 and source4. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-s3-upgrade rename samba-tool domain samba3upgrade --libdir to --dbdir for ↵Andrew Bartlett2011-10-193-18/+18
| | | | | | | | | | | | clarity The things pointed at are not typically in a directory called lib, so avoid confusing our administrators. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Oct 19 15:43:04 CEST 2011 on sn-devel-104
* s4-s3-upgrade fix format string for secrets.tdb exceptionAndrew Bartlett2011-10-191-1/+1
|
* s4-s3-upgrade test upgrade without a wins.datAndrew Bartlett2011-10-191-0/+3
|
* s4-s3-upgrade Fix samba3upgrade code to cope with a missing wins.datAndrew Bartlett2011-10-191-1/+10
|
* s4-smb_server do not set credentials on gensec twiceAndrew Bartlett2011-10-191-4/+0
| | | | | | | The samba_server_gensec_start() has already set the credentials on the gensec_security context. Andrew Bartlett
* build: added deletion of stale .so and .o filesAndrew Tridgell2011-10-191-2/+16
| | | | | | | | | | | | | | | when we change our build rules to move a C file, we need to remove the old ('stale') .so and .o files from the build directory, or they may be used as part of the new build, which means that old code will be linked in. This expands the list of stale files that we remove on rule changes to include .so and .o files Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 19 09:02:23 CEST 2011 on sn-devel-104
* samba.getopt: Add some basic tests.Jelmer Vernooij2011-10-192-0/+58
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
* samba.getopt: Keep exception message when setting a lp option fails.Jelmer Vernooij2011-10-191-4/+5
|
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-4/+5
| | | | | | Modified code to handle -k and --kerberos options to: 1. Throw the correct exception 2. On error, display the correct user's specified option
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-1/+5
| | | | Throw an exception when the --option value is invalid
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-2/+1
| | | | Throw an exception when --option value is not in the form "a=b"
* samba-tool: Improve getopt.py error handlingGiampaolo Lauria2011-10-191-0/+3
| | | | Raise exception when -d or --debuglevel value is <0
* s3-docs: Add a clarification note for nss_info primary group membership ↵Günther Deschner2011-10-192-1/+5
| | | | | | | | | calculation. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 19 03:10:40 CEST 2011 on sn-devel-104
* s3-docs: Document Services for Unix 2.0 (sfu20) nss_info ldap schema support.Günther Deschner2011-10-192-3/+6
| | | | Guenther
* s3: Avoid a winbind 100% cpu loopVolker Lendecke2011-10-191-0/+8
| | | | | | | | | | | | When a DC goes down hard, winbind can end up in a 100% CPU loop. The next (small) RPC request to the DC ends up as a trans2 request. If the connection goes down, we end up trying to discard the request via the loop in cli_state_notify_pending(). Because this is a trans2 request, cli_smb_req_unset_pending will not kick in. Thus the pending array will always remain at length 1. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 19 01:39:35 CEST 2011 on sn-devel-104
* vfs_netatalk should be using strstr_m, not strstr to find .AppleDouble paths.Jeremy Allison2011-10-191-5/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 19 00:05:45 CEST 2011 on sn-devel-104
* The last argument to atalk_build_paths() is always false, remove it.Jeremy Allison2011-10-181-12/+9
|
* lib/util: skip single hex digit at the end of the input sting - fix ↵Michael Adam2011-10-181-1/+2
| | | | | | | | | | | potential segfault The second of two digits was read without checking for the length of the input string. For a non-zero-terminated input string, this might have caused a segfault. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Oct 18 22:32:59 CEST 2011 on sn-devel-104
* lib/util: fix function header comment to strhex_to_str()Michael Adam2011-10-181-9/+8
| | | | The description did not match the function's behaviour.
* lib/util: untangle assignent from check in strhex_to_str()Michael Adam2011-10-181-2/+6
|
* s3-util: dbwrap_tool: add fetch fuctions for hex and stringBjörn Baumbach2011-10-181-0/+61
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-util: dbwrap_tool: add store hex functionBjörn Baumbach2011-10-181-3/+43
| | | | | | Allows the user to store hex blobs in a tdb. Signed-off-by: Michael Adam <obnox@samba.org>