Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-24 | s4:libnet_join.c - always use LDB constants | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
2010-06-23 | s4:provision Raise default max functional level to 2008R2 | Andrew Bartlett | 1 | -2/+2 | |
We don't support many of the extra features, but that applies across many other parts of AD. Allow the admin to join a 2008R2 domain if he or she wants. This also makes it possible to test 2008R2 domain code in 'make test' Andrew Bartlett | |||||
2010-06-23 | s4:libnet When joining a domain, update msDS-SupportedEncryptionTypes | Andrew Bartlett | 1 | -0/+32 | |
We need this for our DC to have clients use AES keys to us | |||||
2010-06-23 | libds:common Remove DS_DC_* domain functionality flags | Andrew Bartlett | 1 | -1/+1 | |
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set. Andrew Bartlett | |||||
2010-06-16 | s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library. | Stefan Metzmacher | 4 | -4/+3 | |
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-06-16 | s4:libnet Remove 'ads min function level' checks. | Andrew Bartlett | 1 | -23/+0 | |
We support Windows 2000 native now. Andrew Bartlett | |||||
2010-06-15 | s4:dsdb Rework the vampire schema handling to convert 3 times. | Andrew Bartlett | 1 | -57/+117 | |
This seems like a lot of duplicate work, but by the end we should have, in normal LDB format, the remote DRS schema, having bootstrapped it with the locally loaded schema. The multiple steps are to resolve the problems with references to schema items that we don't 'yet' know about. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-15 | s4:provision Allow a specific prefix map to be loaded into a new schema ↵ | Andrew Bartlett | 1 | -1/+24 | |
provision This allows the prefixMap from a DRS server to be used when loading the schema from the local files. This helps us then import other schema with this map in place. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-15 | s4:dsdb Keep the DRS-based prefix map for use in provision-based schema | Andrew Bartlett | 1 | -2/+13 | |
We need to use the remote prefix map for the provision schema, or else we can't decode new, non-standard attributes into OIDs. Then once we decode that schema, we can try again and get them properly translated. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-15 | s4:dsdb Allow the setting an override on the schema | Andrew Bartlett | 1 | -0/+4 | |
The change here is to try and convert a per the previous rules, but if we don't know a particular OID as a attributeID, then store it as an OID (for example). This allows known values to be converted as before, but still copes with unknown values. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-15 | s4:dsdb Use the schema from our local provision to decode the schema | Andrew Bartlett | 1 | -78/+40 | |
This works on the assumption that the schema partition can only contain schema objects. We may need to pass down some kind of 'relax' to the DRS -> LDB conversion code, so that it allows incomplete conversions, so that we don't fail if a new attribute is present, and we can't decode it. This would then be resolved the second time we do the conversion. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-15 | s4:libnet Steal ldb and lp_ctx from python result into correct structures. | Andrew Bartlett | 1 | -2/+2 | |
Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-15 | s4:libnet Make the libnet_vampire default callbacks non-static | Andrew Bartlett | 2 | -40/+71 | |
These are intended to be called from the NET-API-BECOMEDC torture test to avoid duplication of code. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org> | |||||
2010-06-12 | s4:dsdb Add debug | Andrew Bartlett | 1 | -0/+1 | |
2010-05-22 | s4:libnet: use the new generated config from the provision for the self_join | Stefan Metzmacher | 1 | -1/+1 | |
This fixes net vampire with the --target-dir option. metze | |||||
2010-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 5 | -37/+34 | |
2010-05-18 | s4:provision Remove unused 'account_name' parameter | Andrew Bartlett | 2 | -2/+0 | |
The python glue code didn't even de-reference this element in the structure. Andrew Bartlett | |||||
2010-05-18 | pynet: Remove unused credentials argument. | Jelmer Vernooij | 1 | -4/+3 | |
2010-04-29 | s4:libnet Make 'net vampire' more robust to command line arguments | Andrew Bartlett | 1 | -0/+20 | |
When we have just joined a domain, we know a bit about that domain. Use these to override previous guesses as to what domain and realm to use for the rest of the join. Andrew Bartlett | |||||
2010-04-27 | nbt: samlogon/netlogon structures - unify denominations | Matthias Dieter Wallnöfer | 2 | -2/+2 | |
2010-04-27 | s4-libnet: cope with an empty client site name from CLDAP | Andrew Tridgell | 1 | -0/+5 | |
We fall back to the server site name in a vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-04-27 | s4-vampire: show main CLDAP response attributes during vampire | Andrew Tridgell | 1 | -0/+4 | |
2010-04-22 | s4-libnet: fixed two compiler warnings | Andrew Tridgell | 1 | -3/+2 | |
2010-04-21 | s4-pynet: accept None for target_dir in vampire | Andrew Tridgell | 1 | -1/+1 | |
2010-04-20 | pytalloc: ensure talloc_ctx is directly after PyObject_HEAD | Andrew Tridgell | 1 | -1/+1 | |
the talloc python interface for tp_alloc and tp_dealloc relies on a cast to a py_talloc_Object to find the talloc_ctx (see py_talloc_dealloc). This means we rely on the talloc_ctx for the object being directly after the PyObject_HEAD This fixes the talloc free with references bug in samba_dnsupdate The actual problem was the tp_alloc() call in PyCredentialCacheContainer_from_ccache_container() which used a cast from a py_talloc_Object to a PyCredentialCacheContainerObject. That case effectively changed the parent/child relationship between the talloc_ctx and the ccc ptr. This patch changes all the structures that follow this pattern to put the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if anyone else decides to do a dangerous cast like this that it won't cause the same sort of subtle breakage. Pair-Programmed-With: Rusty Russell <rusty@samba.org> | |||||
2010-04-19 | s4-python: PyErr_SetString() will crash on NULL strings | Andrew Tridgell | 1 | -6/+9 | |
use nt_errstr() when no error available | |||||
2010-04-15 | s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for ↵ | Stefan Metzmacher | 1 | -1/+1 | |
SetPassword metze | |||||
2010-04-15 | s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ↵ | Stefan Metzmacher | 1 | -3/+3 | |
ChangePassword calls metze | |||||
2010-04-15 | s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of ↵ | Stefan Metzmacher | 1 | -1/+1 | |
NT_STATUS_NET_WRITE_FAULT metze | |||||
2010-04-15 | s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymore | Stefan Metzmacher | 1 | -49/+20 | |
metze | |||||
2010-04-13 | Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions" | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
We should use the "ldb_get_*_basedn" calls since they are available in the LDB library. | |||||
2010-04-12 | s4/libnet: Allocate mem in supplied mem_ctx | Kamen Mazdrashki | 1 | -2/+2 | |
In this case, 'libnet_Vampire *r' may not be a pointer to a talloced memory. | |||||
2010-04-12 | s4/py_net: Source code formatting fix | Kamen Mazdrashki | 1 | -16/+17 | |
2010-04-12 | s4/libnet: handle errors returned for DsAddEntry_v3 properly | Kamen Mazdrashki | 1 | -4/+3 | |
It turns out ms-docs are little bit misleading - in case of no error, r->out.ctr->ctr3.err_data is not NULL, but error information (r->out.ctr->ctr3.err_data->v1.info) is NULL! | |||||
2010-04-12 | s4/libnet: Add few new lines in the debug log so it is readable again | Kamen Mazdrashki | 1 | -14/+16 | |
2010-04-12 | s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected | Kamen Mazdrashki | 1 | -2/+1 | |
Actually DRSUAPI_DIRERR_OK is not valid error to be returned. I introduce it in the IDL so that I can use it in enum. So it should be dumped as Unexpected error code | |||||
2010-04-09 | s4-net: Convert vampire command over to Python. | Jelmer Vernooij | 1 | -0/+56 | |
2010-04-09 | s4-net: Convert user subcommand to Python. | Jelmer Vernooij | 1 | -0/+70 | |
2010-04-08 | net: Convert time command to python. | Jelmer Vernooij | 1 | -11/+49 | |
2010-04-08 | s4-net: Use new Net() object in net export keytab. | Jelmer Vernooij | 1 | -1/+5 | |
2010-04-08 | pynet: Create a net class. | Jelmer Vernooij | 1 | -69/+83 | |
2010-04-08 | Migrate 'net export keytab' to python. | Jelmer Vernooij | 1 | -12/+55 | |
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -4/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | build: fixed libcli/ndr_netlogon.c dependency rules | Andrew Tridgell | 1 | -0/+1 | |
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 1 | -0/+17 | |
2010-03-29 | s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result | Stefan Metzmacher | 1 | -0/+36 | |
metze | |||||
2010-03-29 | s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-03-29 | s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result | Stefan Metzmacher | 1 | -0/+30 | |
metze | |||||
2010-03-24 | s4/drs: Implement DsAddEntry V3 error handling | Kamen Mazdrashki | 1 | -10/+67 | |