Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s4-libnet: Remove libnet_Join and create libnet_Join_member | Andrew Bartlett | 2011-05-18 | 1 | -31/+5 |
| | | | | | | | | libnet_Join conflicts with a function in the source3 netapi of the same name, and the ability to join as a DC via this particular method is unused. Andrew Bartlett | ||||
* | s4/ldb - remove now superflous "ldb_dn_validate" checks | Matthias Dieter Wallnöfer | 2011-03-04 | 1 | -1/+1 |
| | | | | | | | If we immediately afterwards perform an LDB base operation then we don't need an explicit "ldb_dn_validate" check anymore (only OOM makes sense). Reviewed by: Tridge | ||||
* | ldb: use #include <ldb.h> for ldb | Andrew Tridgell | 2011-02-10 | 1 | -2/+2 |
| | | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4:libnet_JoinADSDomain - move away from "samdb_msg_add_string" | Matthias Dieter Wallnöfer | 2010-12-03 | 1 | -7/+7 |
| | | | | | These calls can be substituted by "ldb_msg_add_string" without any problems - only the allocation contexts of the SPNs and the DNS hostnames have to adapted. | ||||
* | s4:param/secrets.h - fix "enum netr_SchannelType" include correctly | Matthias Dieter Wallnöfer | 2010-11-27 | 1 | -1/+0 |
| | |||||
* | s4:libnet_join.c - only write the really essential SPNs | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -8/+7 |
| | | | | | | If we are a DC then the others are added by the "samba_spnupdate" script. This fixes bug #7614. | ||||
* | s4:dsdb - use the more safe "samdb_msg_add_(u)int*" calls always where possible | Matthias Dieter Wallnöfer | 2010-10-24 | 1 | -3/+2 |
| | | | | This should prevent all possible integer storage problems in future. | ||||
* | s4:"util_ldb" - remove some really unused dependancies | Matthias Dieter Wallnöfer | 2010-10-18 | 1 | -1/+0 |
| | |||||
* | Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵ | Matthias Dieter Wallnöfer | 2010-10-17 | 1 | -0/+1 |
| | | | | | | | | | | | | in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104 | ||||
* | s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵ | Matthias Dieter Wallnöfer | 2010-10-17 | 1 | -1/+0 |
| | | | | | | | | | "dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104 | ||||
* | s4-rpc: added target_principal binding handle option | Andrew Tridgell | 2010-10-01 | 1 | -1/+1 |
| | | | | | | this allows you to specify a target SPN for a connection Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-libnet_join Use header constant for 'all encryption types' in ↵ | Andrew Bartlett | 2010-09-24 | 1 | -4/+3 |
| | | | | msDS-SupportedEncryptionTypes | ||||
* | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 2010-07-16 | 1 | -4/+4 |
| | | | | | | | 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> | ||||
* | s4:libnet_join Fix typo in msDS-SupportedEncryptionTypes | Andrew Bartlett | 2010-06-29 | 1 | -1/+1 |
| | |||||
* | s4:libnet_join.c - always use LDB constants | Matthias Dieter Wallnöfer | 2010-06-24 | 1 | -5/+5 |
| | |||||
* | s4:libnet When joining a domain, update msDS-SupportedEncryptionTypes | Andrew Bartlett | 2010-06-23 | 1 | -0/+32 |
| | | | | We need this for our DC to have clients use AES keys to us | ||||
* | s4:provision Remove unused 'account_name' parameter | Andrew Bartlett | 2010-05-18 | 1 | -1/+0 |
| | | | | | | | The python glue code didn't even de-reference this element in the structure. Andrew Bartlett | ||||
* | s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymore | Stefan Metzmacher | 2010-04-15 | 1 | -49/+20 |
| | | | | metze | ||||
* | s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result | Stefan Metzmacher | 2010-03-29 | 1 | -0/+30 |
| | | | | metze | ||||
* | s4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 2010-03-12 | 1 | -13/+13 |
| | | | | metze | ||||
* | s4:libnet - change variables to "unsigned" where needed | Matthias Dieter Wallnöfer | 2010-03-10 | 1 | -1/+1 |
| | |||||
* | s4/drs: DsCrackNames - Propagating IDL changes to source code | Kamen Mazdrashki | 2010-03-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s4:libnet: use generate_random_password() | Stefan Metzmacher | 2010-02-26 | 1 | -1/+1 |
| | | | | metze | ||||
* | More spelling fixes across source4/ | Brad Hards | 2010-02-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | ||||
* | s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flags | Andrew Tridgell | 2010-02-16 | 1 | -1/+1 |
| | | | | This allows for controls to be added easily where they are needed. | ||||
* | s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect() | Andrew Tridgell | 2009-10-23 | 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. | ||||
* | s4:provision Use code to store domain join in 'net join' as well | Andrew Bartlett | 2009-09-20 | 1 | -266/+20 |
| | | | | | | | | This ensures we only have one codepath to store the secret, and therefore that we have a single choke point for setting the saltPrincipal, which we were previously skipping. Andrew Bartlett | ||||
* | s4: fixed the secrets.ldb construction in libnet | Andrew Tridgell | 2009-09-07 | 1 | -8/+8 |
| | | | | | on a vampire join we were not putting the right attributes and objectclass on the secrets.ldb record | ||||
* | s4:libnet: use talloc_strdup() instead of talloc_reference() | Stefan Metzmacher | 2009-07-31 | 1 | -1/+1 |
| | | | | metze | ||||
* | use the new talloc_reparent in two places | Andrew Tridgell | 2009-07-01 | 1 | -1/+1 |
| | |||||
* | s4:libnet Allow 'net password change' to work on expired passwords | Andrew Bartlett | 2009-06-18 | 1 | -1/+1 |
| | | | | | | | | | We need to pass down flags to the DCE/RPC layer to allow fallback to anonymous connections, as we can't log in with an expired password. The anonymous connection can then change the password with SAMR. Andrew Bartlett | ||||
* | Fix compiler warnings in libnet. | Jelmer Vernooij | 2008-12-23 | 1 | -0/+2 |
| | |||||
* | s4-samr: merge samr_QueryUserInfo{2} from s3 idl. (fixme: python) | Günther Deschner | 2008-11-10 | 1 | -3/+5 |
| | | | | Guenther | ||||
* | s4-samr: merge samr_LookupDomain from s3 idl. (fixme: python) | Günther Deschner | 2008-11-10 | 1 | -1/+3 |
| | | | | Guenther | ||||
* | s4-samr: merge samr_LookupNames from s3 idl. (fixme: python) | Günther Deschner | 2008-11-10 | 1 | -3/+6 |
| | | | | Guenther | ||||
* | s4-samr: merge samr_GetUserPwInfo from s3 idl. (fixme: python) | Günther Deschner | 2008-11-10 | 1 | -1/+3 |
| | | | | Guenther | ||||
* | s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl. | Günther Deschner | 2008-10-18 | 1 | -23/+37 |
| | | | | Guenther | ||||
* | Fix include paths to new location of libutil. | Jelmer Vernooij | 2008-10-11 | 1 | -1/+1 |
| | |||||
* | Merge ldb_search() and ldb_search_exp_fmt() into a simgle function. | Simo Sorce | 2008-09-23 | 1 | -4/+2 |
| | | | | | The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful. | ||||
* | Make up the right dependencies now that ldb depends on libevents | Simo Sorce | 2008-06-14 | 1 | -1/+1 |
| | | | | (This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0) | ||||
* | Specify event_context to ldb_wrap_connect explicitly. | Jelmer Vernooij | 2008-04-17 | 1 | -1/+1 |
| | | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91) | ||||
* | Factor out filling in the secrets database. | Andrew Bartlett | 2008-04-09 | 1 | -80/+116 |
| | | | | | | | | This allows the vampire code to start with a join, but fill in the secrets only when the process is compleated. Andrew Bartlett (This used to be commit c90751040e941d10234131852815e1cec1a54efe) | ||||
* | libnet: Rename a variable so it does not shadow a global. | Kai Blin | 2008-01-11 | 1 | -4/+5 |
| | | | | (This used to be commit a5b9d2f33279e0f96a36acbf3da7c018aadf08c9) | ||||
* | r26409: Pass smb ports along. | Jelmer Vernooij | 2007-12-21 | 1 | -1/+1 |
| | | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f) | ||||
* | r26328: remove more uses of global_loadparm. | Jelmer Vernooij | 2007-12-21 | 1 | -5/+5 |
| | | | | (This used to be commit 40ae12c08647c47a9c504d39ee6f61c32b4e5748) | ||||
* | r26327: Explicit loadparm_context for RPC client functions. | Jelmer Vernooij | 2007-12-21 | 1 | -2/+3 |
| | | | | (This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07) | ||||
* | r26205: Pass loadparm_context to secrets_db_connect() rather than using ↵ | Jelmer Vernooij | 2007-12-21 | 1 | -1/+1 |
| | | | | | | global context. (This used to be commit 5718b6cfee86ddfc9cf405c98c68ba848df4d9d7) | ||||
* | r26135: Remove samdb_add(), samdb_delete() and samdb_modify(), which were just | Andrew Bartlett | 2007-12-21 | 1 | -1/+1 |
| | | | | | | | | wrappers to ldb_add() etc. samdb_replace() remains, as it sets flags on all entries as 'replace'. Andrew Bartlett (This used to be commit 09c0faa5b7e1a560bf13b99a2584012a47377bb6) | ||||
* | r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. | Jelmer Vernooij | 2007-12-21 | 1 | -1/+2 |
| | | | | (This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555) | ||||
* | r25554: Convert last instances of BOOL, True and False to the standard types. | Jelmer Vernooij | 2007-10-10 | 1 | -1/+1 |
| | | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9) |