summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix RPC-LSA-TRUSTED-DOMAINS for changed IDLSumit Bose2010-08-251-0/+10
|
* s4-trusts: fix trustDomainPasswords drsblobs IDL and server side support.Günther Deschner2010-08-255-194/+69
| | | | | | | Also remove bogus trustCurrentPasswords struct which we just had because our IDL was incorrect. Guenther
* s3-build: Use a wrapper script to run the tests.Andreas Schneider2010-08-252-24/+49
| | | | This fixes the buildfarm and returns the correct exit code of selftest.
* s4-dsdb: make more of the UF_* flags available on pydsdbAndrew Tridgell2010-08-251-0/+28
| | | | this really should be moved to IDL
* s4-rodc: broke up RODC join into separate functionsAndrew Tridgell2010-08-251-186/+194
| | | | this also removes some of the magic constants
* s4-rodc: added REPL_SECRET exop replication of accountsAndrew Tridgell2010-08-251-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>
* s4-dsdb: add more DS flags to the dsdb moduleAndrew Tridgell2010-08-251-0/+15
| | | | | | These are from libds/common/flags.h Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added get_attid_from_lDAPDisplayName() on samdbAndrew Tridgell2010-08-252-0/+49
| | | | | | | This can be used to form the partial_attribute_set list for GetNCChanges Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: next step in RODC join codeAndrew Tridgell2010-08-251-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>
* s4-pynet: added replicate_init() and replicate_chunk() callsAndrew Tridgell2010-08-251-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>
* s4-libnet: added libnet_vampire_replicate_init()Andrew Tridgell2010-08-251-0/+17
| | | | | | this is used to setup for later calls to the replicate chunk functions Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* idl-nbt: fixed typoAndrew Tridgell2010-08-251-1/+1
|
* s3: Make char_flags and base_reverse const arraysVolker Lendecke2010-08-243-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.
* s3: Move "trans_num" to smbd_server_connectionVolker Lendecke2010-08-243-5/+4
|
* s3: Make srv_send_smb take an sconn instead of a sock fdVolker Lendecke2010-08-2410-31/+31
|
* pam: fix unused variable warningBjörn Jacke2010-08-241-1/+1
|
* s4-waf: try to fix the s4 wbinfo build dependencies.Günther Deschner2010-08-241-1/+1
| | | | Guenther
* s3-dcerpc: avoid talloc_move on schannel creds in ↵Günther Deschner2010-08-243-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
* Final part of fix for bug #7636 - winbind internal error, backtrace.Jeremy Allison2010-08-231-11/+18
| | | | | | Ensure cm_get_schannel_creds() returns NTSTATUS. Jeremy.
* s3-dcerpc: Allocate structure members on the right contextSimo Sorce2010-08-231-1/+1
|
* s3: PAM_RHOST and PAM_TTY are enums on FreeBSDVolker Lendecke2010-08-232-3/+26
|
* s4:getncchanges.c - fix some counter variable typesMatthias Dieter Wallnöfer2010-08-231-3/+3
| | | | | They should be "unsigned" since they count LDB objects. And also the SID array can be counted as "unsigned".
* replace: Fix ifndefs for formatting defines.Jelmer Vernooij2010-08-231-3/+3
| | | | Thanks to Michael Brown for pointing this out.
* s4-devel: added a getncchanges developer scriptAndrew Tridgell2010-08-231-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>
* s4-pyrpc: use s4_event_context_init()Andrew Tridgell2010-08-231-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>
* s4-pyregistry: use s4_event_context_init()Andrew Tridgell2010-08-231-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-event: event_context_find() should use s4_event_context_init()Andrew Tridgell2010-08-231-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: role should be case insensitive for joinAndrew Tridgell2010-08-231-1/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: show the user sid that does the GetNCChanges callAndrew Tridgell2010-08-231-2/+3
| | | | | | this is useful when debugging replication Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: removed the warning on WRIT_REP being setAndrew Tridgell2010-08-231-4/+2
| | | | we just need to clear this flag
* s4-net: added initial implemention of RODC joinAndrew Tridgell2010-08-232-6/+311
| | | | | | This does the join using python code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libnet-s4: added replicate() command in pynetAndrew Tridgell2010-08-231-0/+60
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: split libnet_Vampire() into two partsAndrew Tridgell2010-08-232-26/+82
| | | | | | | | | libnet_Replicate() will do just the replication portion of libnet_Vampire(). This will be used by the RODC join, where the join part of the operation happens in python, and behaves quite differently to the libnet_Join() code. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: show the DN when DsAddEntry() failsAndrew Tridgell2010-08-231-1/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: moved the net join command to pythonAndrew Tridgell2010-08-235-108/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: added join type constants to python interfaceAndrew Tridgell2010-08-231-0/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-python: added ndr_print() method in ndrAndrew Tridgell2010-08-231-0/+3
|
* pidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpackAndrew Tridgell2010-08-231-3/+3
|
* libreplace: fixed the strptime() waf testAndrew Tridgell2010-08-231-8/+2
| | | | Thanks to Jelmer for pointing this out
* s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett2010-08-2317-60/+61
| | | | | | | | | struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett
* s3:pdbtest Fix command name of pdbtestAndrew Bartlett2010-08-221-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-build: Add a test-buildfarm target to stay UNIX Makefile compatible.Andreas Schneider2010-08-221-4/+2
|
* s3:param Clarify parameter name on init_globals()Andrew Bartlett2010-08-221-4/+4
| | | | | | | | | This parameter is used with the registry backend to cause the globals table to be re-initialised. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
* s3: Turn two macros into functionsVolker Lendecke2010-08-221-6/+24
|
* s3: Pass the rhost through smb_pam_accountcheckVolker Lendecke2010-08-225-8/+11
|
* s3: Rename auth.c:backends to auth_backendsVolker Lendecke2010-08-221-4/+4
|
* s3: Fix some nonemtpy blank linesVolker Lendecke2010-08-222-12/+11
|
* s4: Only install testparm to /usr/bin/, no longer to /usr/sbin.Jelmer Vernooij2010-08-221-1/+1
|
* s4: Install testparm to /usr/bin, consistent with old behaviour.Jelmer Vernooij2010-08-221-3/+3
|
* s4-waf: re-use SAMBA_LIBRARY() in building shared modulesAndrew Tridgell2010-08-221-35/+15
| | | | | | | make SAMBA_MODULE() call SAMBA_LIBRARY() to do the heavy lifting. This fixes the problem with modules being a bit too slim :-) Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>