summaryrefslogtreecommitdiffstats
path: root/source4/libnet/libnet_join.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-libnet: Remove libnet_Join and create libnet_Join_memberAndrew Bartlett2011-05-181-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" checksMatthias Dieter Wallnöfer2011-03-041-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 ldbAndrew Tridgell2011-02-101-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öfer2010-12-031-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 correctlyMatthias Dieter Wallnöfer2010-11-271-1/+0
|
* s4:libnet_join.c - only write the really essential SPNsMatthias Dieter Wallnöfer2010-10-311-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 possibleMatthias Dieter Wallnöfer2010-10-241-3/+2
| | | | This should prevent all possible integer storage problems in future.
* s4:"util_ldb" - remove some really unused dependanciesMatthias Dieter Wallnöfer2010-10-181-1/+0
|
* Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer2010-10-171-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öfer2010-10-171-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 optionAndrew Tridgell2010-10-011-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 Bartlett2010-09-241-4/+3
| | | | msDS-SupportedEncryptionTypes
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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-SupportedEncryptionTypesAndrew Bartlett2010-06-291-1/+1
|
* s4:libnet_join.c - always use LDB constantsMatthias Dieter Wallnöfer2010-06-241-5/+5
|
* s4:libnet When joining a domain, update msDS-SupportedEncryptionTypesAndrew Bartlett2010-06-231-0/+32
| | | | We need this for our DC to have clients use AES keys to us
* s4:provision Remove unused 'account_name' parameterAndrew Bartlett2010-05-181-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 anymoreStefan Metzmacher2010-04-151-49/+20
| | | | metze
* s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.resultStefan Metzmacher2010-03-291-0/+30
| | | | metze
* s4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-121-13/+13
| | | | metze
* s4:libnet - change variables to "unsigned" where neededMatthias Dieter Wallnöfer2010-03-101-1/+1
|
* s4/drs: DsCrackNames - Propagating IDL changes to source codeKamen Mazdrashki2010-03-101-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:libnet: use generate_random_password()Stefan Metzmacher2010-02-261-1/+1
| | | | metze
* More spelling fixes across source4/Brad Hards2010-02-221-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flagsAndrew Tridgell2010-02-161-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 Tridgell2009-10-231-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 wellAndrew Bartlett2009-09-201-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 libnetAndrew Tridgell2009-09-071-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 Metzmacher2009-07-311-1/+1
| | | | metze
* use the new talloc_reparent in two placesAndrew Tridgell2009-07-011-1/+1
|
* s4:libnet Allow 'net password change' to work on expired passwordsAndrew Bartlett2009-06-181-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 Vernooij2008-12-231-0/+2
|
* s4-samr: merge samr_QueryUserInfo{2} from s3 idl. (fixme: python)Günther Deschner2008-11-101-3/+5
| | | | Guenther
* s4-samr: merge samr_LookupDomain from s3 idl. (fixme: python)Günther Deschner2008-11-101-1/+3
| | | | Guenther
* s4-samr: merge samr_LookupNames from s3 idl. (fixme: python)Günther Deschner2008-11-101-3/+6
| | | | Guenther
* s4-samr: merge samr_GetUserPwInfo from s3 idl. (fixme: python)Günther Deschner2008-11-101-1/+3
| | | | Guenther
* s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.Günther Deschner2008-10-181-23/+37
| | | | Guenther
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2008-09-231-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 libeventsSimo Sorce2008-06-141-1/+1
| | | | (This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
* Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-1/+1
| | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
* Factor out filling in the secrets database.Andrew Bartlett2008-04-091-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 Blin2008-01-111-4/+5
| | | | (This used to be commit a5b9d2f33279e0f96a36acbf3da7c018aadf08c9)
* r26409: Pass smb ports along.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
* r26328: remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-5/+5
| | | | (This used to be commit 40ae12c08647c47a9c504d39ee6f61c32b4e5748)
* r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij2007-12-211-2/+3
| | | | (This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
* r26205: Pass loadparm_context to secrets_db_connect() rather than using ↵Jelmer Vernooij2007-12-211-1/+1
| | | | | | global context. (This used to be commit 5718b6cfee86ddfc9cf405c98c68ba848df4d9d7)
* r26135: Remove samdb_add(), samdb_delete() and samdb_modify(), which were justAndrew Bartlett2007-12-211-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 Vernooij2007-12-211-1/+2
| | | | (This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)