summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* tdb: raise version to 1.2.1tdb-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>
* s4:auth_sam: avoid usage of data_blob_talloc_reference() and copy the ↵Stefan Metzmacher2010-01-291-4/+14
| | | | | | session keys metze
* s4:libcli: remove unneeded talloc_reference() usageStefan Metzmacher2010-01-291-4/+1
| | | | metze
* s4:kdc remove dead code and commentsSimo Sorce2010-01-281-5/+0
|
* s4:kdc Fill in more data fieldsSimo Sorce2010-01-281-4/+8
|
* s4:kdc move db functions in their own fileSimo Sorce2010-01-288-1468/+1621
| | | | | | | | | | Keep all heimdal related plugin code within hdb_samba4.c Move interfaces needed by multiple plugins in db-glue.c Move sequence context in main db context so that we do not depend on db->hdb_dbc in the common code. Remove unnecessary paremeters from function prototypes
* s4:kdc Use a clearer name for the samba kdc entrySimo Sorce2010-01-284-32/+30
| | | | | | Renames hdb_samba4_private to samba_kdc_entry Streamlines members of the entry and the kdc db contextto avoid unnecessary duplication.
* s4:kdc Use better db context structureSimo Sorce2010-01-286-93/+114
| | | | | | | | This allows to use a common structure not tied to hdb_samba4 Also allows to avoid many casts within hdb_samba4 functions This is the first step to abstract samba kdc databse functions so they can be used by the MIT forthcoming plugin.
* s4-ldbtest: fixed python importAndrew Tridgell2010-01-281-2/+2
|
* s4-drs: implementation of some delete test casesEduardo Lima2010-01-282-0/+201
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* cleanup: remove trailing spaces and tabsSimo Sorce2010-01-281-37/+37
|
* s4-drs: Reads uSNUrgent and sets Urgent Replication Bit for DS_ReplicaSync ↵Fernando J V da Silva2010-01-282-7/+24
| | | | | | | | | | | when necessary If an urgent replication is necessary, so the uSNUrgent stored is equal to the uSNHighest stored, then when sending the DS_ReplicaSync message it sets the DRSUAPI_DRS_SYNC_URGENT bit on DRS_OPTIONS. Signed-off-by: Fernando J V da Silva <fernandojvsilva@yahoo.com.br> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:windc move windc plugin in its own fileSimo Sorce2010-01-275-191/+228
| | | | | Keep all heimdal related plugin code within wdc-samba4.c Leave only interfaces common to multiple plugins in pac-glue.c
* s4:PAC make common functions publicSimo Sorce2010-01-272-25/+70
|
* s4:PAC Streamline pac-glue step 2Simo Sorce2010-01-271-55/+113
| | | | | Split functions so that no assumption is made about which plugin is using them
* s4:PAC Streamline pac-glueSimo Sorce2010-01-271-19/+40
| | | | First step, preparing to share the code between multiple plugins.
* Implemented net fsmo command for transferring fsmo rolesNadezhda Ivanova2010-01-272-0/+204
| | | | | | | | | | | | | The command allows the user to transfer a fsmo role to the server to which the connection is established. Roles can be transferred or seized. By default a transfer is attempted even if seize option is chosen, as it is dangerous to seize a role if the current owner is still running. example use: net fsmo show --host=hostnameoraddress --username=username --password=password net fsmo transfer --role=role --host=hostnameoraddress --username=username --password=password net fsmo seize --role=role --host=hostnameoraddress --username=username --password=password [--force] Tested against Win2008. Does not work for samba 4 yet as we are missing the GetNCChanges extensions.
* s4-smbtorture: pick correct last packet while checking backchannel replies ↵Günther Deschner2010-01-271-2/+10
| | | | | | in RPC-SPOOLSS-NOTIFY. Guenther