summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-01-28s4:kdc remove dead code and commentsSimo Sorce1-5/+0
2010-01-28s4:kdc Fill in more data fieldsSimo Sorce1-4/+8
2010-01-28s4:kdc move db functions in their own fileSimo Sorce8-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
2010-01-28s4:kdc Use a clearer name for the samba kdc entrySimo Sorce4-32/+30
Renames hdb_samba4_private to samba_kdc_entry Streamlines members of the entry and the kdc db contextto avoid unnecessary duplication.
2010-01-28s4:kdc Use better db context structureSimo Sorce6-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.
2010-01-28s4-ldbtest: fixed python importAndrew Tridgell1-2/+2
2010-01-28s4-drs: implementation of some delete test casesEduardo Lima2-0/+201
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-28cleanup: remove trailing spaces and tabsSimo Sorce1-37/+37
2010-01-28s4-drs: Reads uSNUrgent and sets Urgent Replication Bit for DS_ReplicaSync ↵Fernando J V da Silva2-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>
2010-01-27s4:windc move windc plugin in its own fileSimo Sorce5-191/+228
Keep all heimdal related plugin code within wdc-samba4.c Leave only interfaces common to multiple plugins in pac-glue.c
2010-01-27s4:PAC make common functions publicSimo Sorce2-25/+70
2010-01-27s4:PAC Streamline pac-glue step 2Simo Sorce1-55/+113
Split functions so that no assumption is made about which plugin is using them
2010-01-27s4:PAC Streamline pac-glueSimo Sorce1-19/+40
First step, preparing to share the code between multiple plugins.
2010-01-27Implemented net fsmo command for transferring fsmo rolesNadezhda Ivanova2-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.
2010-01-27s4-smbtorture: pick correct last packet while checking backchannel replies ↵Günther Deschner1-2/+10
in RPC-SPOOLSS-NOTIFY. Guenther
2010-01-27s4:torture: refactor querying of domain info out into ↵Michael Adam1-52/+40
test_QueryDomainInfo2_level() Used in several places. (Note: The _level suffix in the function name is just because test_QueryDomainInfo2() already exists as an overall test for all levels.) Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: create new test_SetDomainInfo_ntstatus()Michael Adam1-12/+26
for checking for SetDomainInfo giving a desired return code. Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: refactor setting of domain inf out into test_SetDomainInfo()Michael Adam1-101/+56
and use it in several places. Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: refactor setting account flags out into ↵Michael Adam1-50/+46
test_SetUserInfo_acct_flags() and use this in four places (enabling/disabling accounts). Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-26s4-libcli: Fixed a talloc_reference error.Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@redhat.com> Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-26s4:winsrepl.idl: add random interface uuidStefan Metzmacher1-1/+4
This is needed to include the wrepl interface into ndrdump. metze
2010-01-26s4:smbtorture: add BASE-BENCH-HOLDOPENStefan Metzmacher2-0/+64
This is useful for manual performance testing with a large number of share mode entries. metze
2010-01-26s4-smbtorture: also test smbc_getOptionUseCCacheGünther Deschner2-1/+3
2010-01-25s4-python: Fix formatting.Jelmer Vernooij3-33/+27
2010-01-25upgrade_from_s3: Remove unused imports.Jelmer Vernooij1-2/+0
2010-01-25pyxattr: Move to the same directory as the xattr code.Jelmer Vernooij4-21/+11
2010-01-25s4 includes: Include system/locale.h to get access to <ctype.h>Kai Blin1-0/+1
2010-01-25s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into ↵Günther Deschner1-73/+108
smaller parts. Guenther
2010-01-23s4-provision: Added msDS-NcType into samba4Top object classEndi S. Dewata1-0/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23s4-provision: Fixed typos and redundant codeEndi S. Dewata1-10/+10
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-23s4-provision: Disable populating FDS during instance creation.Endi S. Dewata1-0/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-22s4:kdc Simplify header filesSimo Sorce4-39/+14
2010-01-21s4:rpc-server:samr: fix setting of lockout duration < lockout windowMichael Adam1-1/+22
This should return NT_STATUS_INVALID_PARAMETER. This makes samba pass the first part of the samr-lockout test. This constraint is documented here for the samr server: http://msdn.microsoft.com/en-us/library/cc245667%28PROT.10%29.aspx MS-SAMR 3.1.1.6 Attribute Constraints for Originating Updates and here for the ldap backend: http://msdn.microsoft.com/en-us/library/cc223462(PROT.10).aspx MS-ADTS 3.1.1.5.3.2 Constraints So the check should actually be moved down into the backend, i.e. under dsdb/samdb/ldb_modules - TODO.. Michael
2010-01-21pyxattr: Factor out helper functions.Jelmer Vernooij1-24/+24
2010-01-21pyxattr: Simplify tests.Jelmer Vernooij2-57/+62
2010-01-21pyxattr: Fix tests by not opening tdb files multiple times.Jelmer Vernooij1-2/+0
2010-01-21pyxattr: Fix tests by avoiding opening tdb files multiple times.Jelmer Vernooij1-8/+8
2010-01-21pyxattr: Fix memory leaks.Jelmer Vernooij3-9/+21
2010-01-21pyxattr: Simplify tests.Jelmer Vernooij1-80/+50
2010-01-21pyxattr: Fix return value, raise exception, fix memory leak.Jelmer Vernooij1-1/+6
2010-01-21pyxattr: Use standard functions for error handling.Jelmer Vernooij2-21/+23
2010-01-21pyxattr: Remove unnecessary hacks.Jelmer Vernooij2-26/+1
2010-01-21s4: Fix a few warnings.Jelmer Vernooij6-4/+7
2010-01-21s4: Include Python.h early to avoid double definition errors.Jelmer Vernooij1-1/+1
2010-01-20s4-winbind: Migrated winbind connection to tsocket.Andreas Schneider3-78/+191
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-21s4-python: add some helper for converting ldb_flag to textMatthieu Patou1-0/+33
2010-01-21upgradeprovision: forbid running upgradeprovision when there is more than 1 DCMatthieu Patou1-0/+20
2010-01-21upgradeprovision: mark rIDAvailablePool never upgradedMatthieu Patou1-16/+121
handle properly the fact that missing object might depend on some other in order to be correctly created debug change also if we are in debugall mode
2010-01-21upgradeprovision: reformat + add groupType as possibly overwrittenMatthieu Patou1-9/+12
2010-01-21upgradeprovision: improve info messagesMatthieu Patou1-7/+5