summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-08-25s3-waf: only link in drsuapi client code where needed.Günther Deschner1-3/+5
Guenther
2010-08-25s3-build: only link in ntsvcs client code where needed.Günther Deschner1-3/+5
Guenther
2010-08-25s3-waf: only link in ntsvcs client code where needed.Günther Deschner1-2/+4
Guenther
2010-08-25s3-build: only link in winreg client code where needed.Günther Deschner1-5/+7
Guenther
2010-08-25s3-waf: only link in winreg client code where needed.Günther Deschner1-2/+5
Guenther
2010-08-25s3-build: only link in eventlog client code where needed.Günther Deschner1-3/+5
Guenther
2010-08-25s3-build: only link in spoolss client code where needed.Günther Deschner2-10/+16
Shrinks a lot of binaries by 1 MB each. Guenther
2010-08-25s3-waf: only link in spoolss client code where needed.Günther Deschner1-5/+8
Shrinks a lot of binaries by 1 MB each. Guenther
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner21-7/+25
Guenther
2010-08-25s4-pynet: some systems don't have Py_TYPE()Andrew Tridgell1-0/+4
we need a better method than this ....
2010-08-25s4-pyrpc: added a test for talloc behaviour in pidl python codeAndrew Tridgell2-0/+57
2010-08-25s4-pyglue: added talloc_total_blocks() python callAndrew Tridgell2-2/+23
2010-08-25s4-rodc: removed python memory workaroundAndrew Tridgell1-2/+1
we can now assign pidl generates structures directly without errors
2010-08-25s4-python: reference substructures onto the parent structureAndrew Tridgell1-15/+23
when a python object that is part of a parent structure is created, we should reference it on the parent structure. This ensures that when the child object goes out of scope that the parent structure is still valid
2010-08-25pytalloc: fixed py_talloc_steal()Andrew Tridgell2-1/+9
py_talloc_steal() was implemented as a macro which evaluated it's 2nd argument twice. It was often called via a macro with a 2nd argument that was a function call, for example an allocation in py_talloc_new(). This meant it allocated memory twice, and leaked one of them. This re-implements py_talloc_steal() as a function, so that it only does the allocation once.
2010-08-25s4-pyglue: pyglue now depends on pytallocAndrew Tridgell1-1/+1
2010-08-25s4-rodc: setup secrets database at end of RODC joinAndrew Tridgell1-5/+33
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()Andrew Tridgell2-0/+32
these are useful for tracking down leaks and bugs in python scripts Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-25s4-repl: load RODC partitions using msDS-hasFullReplicaNCsAndrew Tridgell2-4/+28
we mark these as incoming_only Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-pytalloc: use better names for python talloc objectsAndrew Tridgell1-0/+2
2010-08-25s3:smbd: add nfs quota support to the linux-non-sysquota codeMichael Adam1-0/+198
This is based on the implementation for solaris and FreeBSD. It makes rpc calls out to the nfs server to retrieve quota information.
2010-08-25s3:smbd: add a nfs backend for sysquotas.Michael Adam5-0/+303
This module is based on the Solaris/FreeBSD implementation of NFS quotas in the quotas.c module. It implements the SMB_USER_QUOTA_TYPE query of the get_quotas call. The other types and the set_quota call are not implemented.
2010-08-25s4-smbtorture: Added a torture test for forest trustsSumit Bose5-2/+841
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25s4-smbtorture: Make test_SetupCredentials3 publicSumit Bose2-1/+25
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.Günther Deschner1-7/+35
Guenther
2010-08-25Fix RPC-LSA-TRUSTED-DOMAINS for changed IDLSumit Bose1-0/+10
2010-08-25s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.Günther Deschner5-194/+69
Also remove bogus trustCurrentPasswords struct which we just had because our IDL was incorrect. Guenther
2010-08-25s3-build: Use a wrapper script to run the tests.Andreas Schneider2-24/+49
This fixes the buildfarm and returns the correct exit code of selftest.
2010-08-25s4-dsdb: make more of the UF_* flags available on pydsdbAndrew Tridgell1-0/+28
this really should be moved to IDL
2010-08-25s4-rodc: broke up RODC join into separate functionsAndrew Tridgell1-186/+194
this also removes some of the magic constants
2010-08-25s4-rodc: added REPL_SECRET exop replication of accountsAndrew Tridgell1-11/+58
During a RODC join, we need to fetch the secrets for the machine account and krbtgt account using GetNCChanges DRSUAPI_EXOP_REPL_SECRET calls Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-dsdb: add more DS flags to the dsdb moduleAndrew Tridgell1-0/+15
These are from libds/common/flags.h Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-dsdb: added get_attid_from_lDAPDisplayName() on samdbAndrew Tridgell2-0/+49
This can be used to form the partial_attribute_set list for GetNCChanges Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-rodc: next step in RODC join codeAndrew Tridgell1-126/+218
a RODC net join can now replicate the schame, config and base partitions, by calling the net.replicate*() python hooks, and driving the GetNCChanges calls from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-pynet: added replicate_init() and replicate_chunk() callsAndrew Tridgell1-35/+134
these calls allow python code to pass chunks from DRS replication calls into the code that applies the chunks to a database Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-libnet: added libnet_vampire_replicate_init()Andrew Tridgell1-0/+17
this is used to setup for later calls to the replicate chunk functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25idl-nbt: fixed typoAndrew Tridgell1-1/+1
2010-08-24s3: Make char_flags and base_reverse const arraysVolker Lendecke3-74/+178
This moves those arrays from dynamic to static, shared memory, removing them from globals.c. I did it by dumping the result of init_tables() with dump_data(). Some massage by an editor macro made it the initializer.
2010-08-24s3: Move "trans_num" to smbd_server_connectionVolker Lendecke3-5/+4
2010-08-24s3: Make srv_send_smb take an sconn instead of a sock fdVolker Lendecke10-31/+31
2010-08-24pam: fix unused variable warningBjörn Jacke1-1/+1
2010-08-24s4-waf: try to fix the s4 wbinfo build dependencies.Günther Deschner1-1/+1
Guenther
2010-08-24s3-dcerpc: avoid talloc_move on schannel creds in ↵Günther Deschner3-4/+54
cli_rpc_pipe_open_schannel_with_key(). Initially, the schannel creds were talloc memduped, then, during the netlogon creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9) talloc_moved. The issue with using talloc_move here is that users of that function in winbind will only be able to have two schanneled connections, as the cached schannel credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy of the struct instead. Guenther
2010-08-23Final part of fix for bug #7636 - winbind internal error, backtrace.Jeremy Allison1-11/+18
Ensure cm_get_schannel_creds() returns NTSTATUS. Jeremy.
2010-08-23s3-dcerpc: Allocate structure members on the right contextSimo Sorce1-1/+1
2010-08-23s3: PAM_RHOST and PAM_TTY are enums on FreeBSDVolker Lendecke2-3/+26
2010-08-23s4:getncchanges.c - fix some counter variable typesMatthias Dieter Wallnöfer1-3/+3
They should be "unsigned" since they count LDB objects. And also the SID array can be counted as "unsigned".
2010-08-23replace: Fix ifndefs for formatting defines.Jelmer Vernooij1-3/+3
Thanks to Michael Brown for pointing this out.
2010-08-23s4-devel: added a getncchanges developer scriptAndrew Tridgell1-0/+120
this allows for command line access to getncchanges it also provides a good example of calling DRSUAPI interfaces from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23s4-pyrpc: use s4_event_context_init()Andrew Tridgell1-1/+1
This fixes a crash when using kerberos and the python dcercpc interface, which requires event nesting Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>