Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-16 | s4:dsdb - fix unsigned integer save problems using the "%u" specifier | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
The issue here is that we have not yet first cast to int32_t explicitly, before we cast to an signed int to printf() into the %d or cast to a int64_t before we then cast to a long long to printf into a %lld. There are *no* unsigned integers in Active Directory LDAP, even the RID allocations and ms-DS-Secondary-KrbTgt-Number are *signed* quantities. (See the schema, and the syntax definitions in schema_syntax.c). The failure has been detected by Matthieu Patou on the buildfarm host "tridge" due to a malformed "groupType" attribute. The solution is to use the "%d" specifier. Either to use it directly - or better (when possible) use the call "samdb_msg_add_uint" (which encapsulates it). This patch changes such problematic situations. | |||||
2010-10-15 | s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵ | Matthias Dieter Wallnöfer | 1 | -10/+10 | |
"samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-23 | s4-libnet: show the DN when DsAddEntry() fails | Andrew Tridgell | 1 | -1/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 1 | -5/+5 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
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 | 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 | 1 | -1/+1 | |
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-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 1 | -25/+23 | |
2010-04-27 | nbt: samlogon/netlogon structures - unify denominations | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
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-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: 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-03-24 | s4/drs: Implement DsAddEntry V3 error handling | Kamen Mazdrashki | 1 | -10/+67 | |
2010-03-24 | s4/drs: Refactor error handling for DsAddEntry V3 replies | Kamen Mazdrashki | 1 | -15/+43 | |
Dumping for specific error classes are to be implemented properly in the near future. | |||||
2010-03-24 | s4/drs: drsuapi_DsAddEntry_ErrData propagate structure def in source code | Kamen Mazdrashki | 1 | -7/+7 | |
2010-03-24 | s4/drs: DsAddEntry - extending error handling for V2 replies | Kamen Mazdrashki | 1 | -2/+15 | |
After having more complete definition for DsAddEntryReply V2 structure, we can now handle error state in more robust way, not just counting on number of objects returned. | |||||
2010-03-24 | s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source code | Kamen Mazdrashki | 1 | -2/+2 | |
2010-03-24 | s4/drs: DsAddEntry - Propagating unsigned switches to source code | Kamen Mazdrashki | 1 | -1/+1 | |
2010-03-12 | s4:libnet_become_dc: make use of use tevent_req based dcerpc_binding_handle ↵ | Stefan Metzmacher | 1 | -53/+80 | |
stubs metze | |||||
2010-03-10 | s4:libnet_become_dc - change counter variables to "unsigned" where they ↵ | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
count LDB objects | |||||
2010-03-10 | s4/drs: DsGetNCChanges - Propagating IDL changes to source code | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-01 | s4:libnet_become_dc: don't look at the internals of 'struct rpc_request' | Stefan Metzmacher | 1 | -7/+21 | |
metze | |||||
2010-03-01 | s4:libnet_become_dc: make use of explicit dcerpc_*_recv functions | Stefan Metzmacher | 1 | -71/+9 | |
metze | |||||
2010-03-01 | s4/libnet: Fix misleading comment | Anatoliy Atanasov | 1 | -1/+1 | |
2010-02-26 | s4:libnet: use a connected CLDAP socket. | Stefan Metzmacher | 1 | -3/+15 | |
This is needed because we don't (want) to specify an explicit local address. And the socket family (ipv4 vs. ipv6) needs to be autodetected based on the remote address before the socket() syscall. Otherwise we would try to connect to a ipv4 address through an ipv6only socket. metze | |||||
2010-02-17 | s4/rodc: change the libnet_become_dc code to do RODC join | Anatoliy Atanasov | 1 | -5/+54 | |
2010-02-05 | s4/drs: propagate DRS_ extension flags in code base | Kamen Mazdrashki | 1 | -1/+1 | |
2010-01-18 | idl: switched to using the WSPP names for the 'neighbour' DRS options | Andrew Tridgell | 1 | -18/+18 | |
The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations. | |||||
2010-01-14 | s4-torture: switch to generic DRS options flags | Andrew Tridgell | 1 | -3/+2 | |
2010-01-09 | s4-libnet: dsdb_wellknown_dn() in vampire code | Andrew Tridgell | 1 | -60/+17 | |
2009-12-11 | s4:libnet/libnet_become_dc - Fix a small glitch in ↵ | Matthias Dieter Wallnöfer | 1 | -4/+1 | |
"becomeDC_drsuapi1_add_entry_send" We shouldn't use the now uninitialised "status" variable anymore. | |||||
2009-12-10 | s4-libnet: use GUID_to_ndr_blob() | Andrew Tridgell | 1 | -3/+3 | |
2009-11-24 | s4:libnet_become_dc - fix typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-11-12 | s4:vampire Print error message when we fail on the CLDAP ping | Andrew Bartlett | 1 | -2/+7 | |
Andrew Bartlett | |||||
2009-10-23 | s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect() | Andrew Tridgell | 1 | -1/+1 | |
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context. | |||||
2009-10-02 | s4-libnet: give sane error messages when functional levels don't match | Andrew Tridgell | 1 | -8/+12 | |
It is nice to tell the user why their command failed :-) | |||||
2009-10-02 | s4:libnet_become_dc - add checks for valid domain/forest function levels | Matthias Dieter Wallnöfer | 1 | -10/+52 | |
Add checks to make sure that we join only supported AD domains (we agreed that those are >= (Windows) 2003 Native per default - this is changeable with the "ads:function level" option). Add also checks to make sure that we cannot join domains which have a bigger function level than our DC capable function level (e.g. a (Windows) 2008 DC cannot join a (Windows) 2008 R2 domain). | |||||
2009-09-24 | s4-libnet: allow the functional level of becomeDC to be specified | Andrew Tridgell | 1 | -1/+2 | |
Use ads:functional level = 4 for DS_DC_FUNCTION_2008_R2 See libds/common/flags.h | |||||
2009-09-21 | s4:libnet_become_dc - bump down the level requested by abartlet | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-09-17 | s4:libnet_become_dc - Fix some uninitialised variables | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
2009-09-17 | s4/domain behaviour flags: Fix them up in various locations | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Additional notes: - Bump the level to Windows Server 2008 R2 (we should support always the latest version - if we provision ourself) - In "descriptor.c" the check for the "domainFunctionality" level shouldn't be needed: ACL owner groups (not owner user) are supported since Windows 2000 Server (first AD edition) - I took the argument from: http://support.microsoft.com/kb/329194 | |||||
2009-09-09 | s4: allow repl:RODC=true/false to set ourselves as a RODC | Andrew Tridgell | 1 | -2/+6 | |
I think this is what windows DCs use to see that we are read-only, but I am not sure. Needs more testing. | |||||
2009-09-08 | s4: fixed updaterefs options bitmap | Andrew Tridgell | 1 | -1/+1 | |
2009-07-13 | libds: share UF_ flags between samba3 and 4. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-03-19 | s4:cldap: rewrite the cldap library based on tsocket | Stefan Metzmacher | 1 | -11/+13 | |
metze |