summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4-provision: move zone file to dns subdirectoryAndrew Tridgell2010-02-112-14/+54
| | | | | | | | This allows the permissions to be correctly set for bind to write to a journal file. It also sets the right group ownership and permissions on the files that bind needs to access. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:provision Be more polite to long-suffering Samba testers.Andrew Bartlett2010-02-111-2/+3
| | | | | | Our testers put up with a lot of odd things when testing out Samba4. Andrew Bartlett
* test:local added LOCAL-DLINKLIST testsuiteAndrew Tridgell2010-02-102-0/+2
| | | | (cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
* util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1)Andrew Tridgell2010-02-102-61/+112
| | | | | | | | | | | | | | This changes the meaning of the ->prev pointer in our doubly linked lists to point at the end of the list from the front of the list. That allows us to implement DLIST_ADD_END() and related functions in O(1) time, which can be a huge saving in many places in Samba. This also means that the 'type' argument to various DLIST_*() macros is no longer needed, but I have left it in for now to keep the patchset small, which will make it easier to revert if any problems are found. In the future we should remove the 'type' arguments. (jra. Move the one use of DLIST_TAIL over to the new macros).
* s4-ldb: update ldb_tdb to use new DLIST_ macrosAndrew Tridgell2010-02-101-15/+3
| | | | (cherry picked from commit 6ede911654566a7e21ded70dacac68df3b6a1bca)
* s4-dsdb: update repl_meta_data.c to use new DLIST_ macrosJeremy Allison2010-02-101-3/+2
|
* Temporary changes to dlinklist to keep the implementation static whilstJeremy Allison2010-02-101-0/+16
| | | | | | | uses of (list)->prev are moved over to DLIST_PREV. This will be replaced when the final (new) version of the dlinklist.h header is added. Jeremy.
* s4:provision Just 'do the right thing' with empty smb.conf filesAndrew Bartlett2010-02-102-2/+26
| | | | | | | | For some reason, JHT keeps on creating an empty smb.conf file, expecting it to be the same as a non-existant one. It is easier to just realise what he meant. Andrew Bartlett
* s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.Günther Deschner2010-02-102-45/+27
| | | | Guenther
* s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer2010-02-0911-44/+0
| | | | This was needed only by Python 2.3 which we no longer support.
* s4-torture: allow host-only in unc lists in smbtortureAndrew Tridgell2010-02-092-4/+7
| | | | | | | | | | Allow UNC lists like this: 192.168.2.1 192.168.2.2 192.168.2.3 the share name will be taken from the command line
* s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.Günther Deschner2010-02-081-0/+4
| | | | Guenther
* s4:subtree_delete - "NULL" as format string isn't allowed on FreeBSDMatthias Dieter Wallnöfer2010-02-081-2/+3
| | | | | | | I changed the format string into "(objectClass=*)" which should be an equivalent expression for choosing all available objects. Consider bug 7115 for the issue.
* s4:heimdal: regerenate filesStefan Metzmacher2010-02-089-173/+218
| | | | | | | Andrew using cp like in commit ca12e7bc8ff4a91f2044c0a60550fec902e97a78 is wrong as that removes #include "config.h" and breaks the build on AIX. metze
* s4:heimdal_build: allow flex-2.5.35:bison-2.4.1 to regenerate filesStefan Metzmacher2010-02-081-1/+9
| | | | metze
* s4-torture: more useful error message in SMB2-DIRAndrew Tridgell2010-02-081-2/+2
|
* s4-registry: fixed byte order assumptionsAndrew Tridgell2010-02-074-7/+9
| | | | the registry tests were broken on big-endian systems
* tdb: raise version to 1.2.1Simo Sorce2010-02-061-1/+1
| | | | | after recent fixes we need to raise the version to 1.2.1 so that we can require also the right patched version.
* s4-ldb: fixed api.py selftestAndrew Tridgell2010-02-061-1/+1
| | | | | subunitrun seemed to be calling a test from its own source, instead of the samba test. Fix this by calling the test directly.
* s4:UID wrapper - Fix includesMatthias Dieter Wallnöfer2010-02-054-18/+18
| | | | | | | The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
* s4:Heimdal build - never require the NSS wrapper for Heimdal KerberosMatthias Dieter Wallnöfer2010-02-051-5/+5
| | | | | | | Disable the use of it in the heimdal code. Notice: This doesn't need to be ported upstream since it only affects the build in conjunction with s4.
* s4/drs: propagate DRS_ extension flags in code baseKamen Mazdrashki2010-02-053-3/+3
|
* s4-torture: handle NT_STATUS_CONNECTION_RESETAndrew Tridgell2010-02-043-6/+12
| | | | a CONNECTION_RESET is now the normal "client disconnect" status code
* s4:mark the SYSTEM control always as non-criticalMatthias Dieter Wallnöfer2010-02-041-0/+29
| | | | | It is needed to not break the various LDAP backends. For reference look at bug #7040.
* net: Fix python 2.4 compatibility.Jelmer Vernooij2010-02-031-0/+5
|
* Change uint_t to unsigned int in source4Matt Kraai2010-02-0261-290/+290
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:NBT-WINSREPLICATION: don't mark a local variable as staticStefan Metzmacher2010-02-021-1/+1
| | | | | | This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0. metze
* s4:NBT-WINS: test large scopesStefan Metzmacher2010-02-011-0/+37
| | | | metze
* s4:NBT-WINS: pass the expected rcode of the name registration to the test codeStefan Metzmacher2010-02-011-18/+39
| | | | metze
* s4:NBT-WINSREPLICATION: test replication with names including scopesStefan Metzmacher2010-02-011-1/+51
| | | | metze
* s4:NBT-WINSREPLICATION: fix compiler warningsStefan Metzmacher2010-02-011-8/+16
| | | | metze
* s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different namesStefan Metzmacher2010-02-011-10/+7
| | | | metze
* s4:winsserver: reject name registrations with a scope length > 237Stefan Metzmacher2010-02-011-0/+9
| | | | | | This matches Windows 2008 behavior. Name releases are just ignored. metze
* s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as ↵Stefan Metzmacher2010-02-011-0/+14
| | | | | | Windows 2008 does metze
* s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8Kamen Mazdrashki2010-02-011-6/+16
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/ldif: Better control on ldif_write_NDR() errors processingKamen Mazdrashki2010-02-011-6/+21
| | | | | | | Current implementation mask NDR_ errors implicitly. Thus the caller has no opportunity handle such an error. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in ↵Günther Deschner2010-01-311-6/+147
| | | | | | RPC-SPOOLSS-NOTIFY. Guenther
* s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in ↵Günther Deschner2010-01-311-0/+25
| | | | | | RPC-SPOOLSS-NOTIFY. Guenther
* s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.Günther Deschner2010-01-311-19/+31
| | | | Guenther
* s4:kdc streamline context initializationSimo Sorce2010-01-312-37/+58
| | | | | Allow other plugins to init the context without having it try to grab sockets or set samba specific logging.
* s4:kdc Streamline client access verification callSimo Sorce2010-01-313-70/+129
| | | | Move the core to pac-glue so that other plugins can use it.
* s4:kdc Fix netbios name retrievalSimo Sorce2010-01-311-2/+2
| | | | The code was looping but always checking only the first address.
* s4:ldb quiet down rootdse control registrationSimo Sorce2010-01-311-1/+1
|
* s4:ldb Fix check made conditional by mistakeSimo Sorce2010-01-301-7/+11
|
* s4:ldb add support for permissive modify controlSimo Sorce2010-01-301-24/+96
|
* Revert "s4:include/includes.h - Need to include "system/network.h""Matthias Dieter Wallnöfer2010-01-291-1/+0
| | | | | | This reverts commit 97fd03a15a694450e80310fc776a58c6fde58a52. This obviously broke the build. Revert it for now.
* s4:include/includes.h - Need to include "system/network.h"Matthias Dieter Wallnöfer2010-01-291-0/+1
| | | | Otherwise I don't get the definition of "struct in_addr" for "lib/util/util.h" on CentOS 4.
* Fixed a bug caused by a typo. Infrastructure role didn't work.Nadezhda Ivanova2010-01-291-1/+1
|
* s4/ldap: Test to expoit ldb_ildap bug in case of nested search requestsKamen Mazdrashki2010-01-293-1/+205
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4/ldap: Fix nested searches SEGFAULT bugKamen Mazdrashki2010-01-292-0/+15
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>