summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-01-29Remove unused rpc_ds marshalling code that is unused now.Günther Deschner5-294/+2
Guenther (This used to be commit 153253e14f82fc7078e9cc6f12409e6eda7ee7cb)
2008-01-29Finally delete rpccli_ds_enum_domain_trusts() completly.Günther Deschner2-97/+1
Guenther (This used to be commit c420e42adfea9908a93d3eea5688488e5a9062a2)
2008-01-29Remove last caller of rpccli_ds_enum_domain_trusts().Günther Deschner2-26/+1
I added an alias in rpcclient's netlogon command table. Guenther (This used to be commit 1a900e08e92484407d69661517f08e675a3c352a)
2008-01-29Use another pidl generated call to enumerate ds trusted domains in winbindd.Günther Deschner1-26/+23
Guenther (This used to be commit f6397fbeae6668c6d0470f968cb1506b3ce34e4a)
2008-01-29Use pidl generated call to enumerate ds trusted domains in winbindd.Günther Deschner1-12/+19
Guenther (This used to be commit 3a3c1aed9bfc681457aa06f706fc6fe2d9b2e903)
2008-01-29Fix the build. Avoid unrequired ndr_print_ads_struct dependencies.Günther Deschner3-100/+122
Guenther (This used to be commit c832882e49ff0dac6a717819dda24ab814253b2f)
2008-01-29Add ndr_print_ads_auth_flags().Günther Deschner1-2/+17
Guenther (This used to be commit 52bd4ce68d7ff24c480ed350cecfd325e51ba0b4)
2008-01-29Move DS_DOMAIN_FUNCTION defines to ads.h.Günther Deschner2-6/+7
Guenther (This used to be commit 2605c6758ebb2f53c0c91f99d766e3db548e07ce)
2008-01-29Add missing windows 2008 netr_DsR_DcFlags and netr_DsRGetDCName_flags flags.Günther Deschner1-15/+18
Guenther (This used to be commit 1702a1512ece1a9d2bb092cb9bbfc499c081da70)
2008-01-29Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).Günther Deschner6-108/+19
Guenther (This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)
2008-01-28Restrict the enctypes in the generated krb5.conf files to Win2003 types.Gerald W. Carter1-4/+8
This fixes the failure observed on FC8 when joining a Windows 2008 RC1 domain. We currently do not handle user session keys correctly when the KDC uses AES in the ticket replies. (This used to be commit 8039a2518caae54bc876368c73ec493f3cd4eb73)
2008-01-27We need to leave the corepath aroundVolker Lendecke1-1/+0
In case we need to dump core, in line 191 we dereference corepath to be able to chdir there. Jeremy, please check! Volker (This used to be commit 3959b1954b02405ec174497fa17e345ca6d5ee94)
2008-01-27Adding missing calls to va_end().Tim Potter6-6/+39
Just a small commit to get a handle on this git thingy. This patch fixes some missing calls to va_end() to match various calls to va_start() and VA_COPY(). Tim. (This used to be commit ec367f307dff7948722b9ac97beb960efd91991f)
2008-01-27Remove an unused external referenceVolker Lendecke1-1/+0
(This used to be commit 147033b9dff7160ff324fa52aba1f054f962961b)
2008-01-26Fix uninitialized variablesVolker Lendecke1-1/+2
Thanks to Corinna Vinschen (This used to be commit aba8c17599f0be82cff33229bb107814d88faafe)
2008-01-25Add cmd_netlogon_dsr_getforesttrustinfo and deregisterdnsrecords to rpcclient.Günther Deschner1-0/+49
Guenther (This used to be commit 227f5755c8844dbff8d66adec3d7fd94b583358f)
2008-01-25Remove hand-written rpccli_netlogon_dsr_getdcnameex[2].Günther Deschner3-347/+0
Guenther (This used to be commit 3ded8b9b7eee18a3f903e264adfb7fea6a3c0c5f)
2008-01-25Use rpccli_netr_DsRGetDCNameEx and rpccli_netr_DsRGetDCNameEx2 in rpcclient.Günther Deschner1-34/+99
Guenther (This used to be commit 2caed3f816d29bd7dfa36df3ddd6aeba5bbfa252)
2008-01-25Re-run make idl.Günther Deschner7-40/+227
Couldn't we move on doing this during the build?? Guenther (This used to be commit d69cbd009903a8b36c9254a59faa5783fbc737f9)
2008-01-25Fix netr_DsRGetDCNameEx and netr_DsRGetDCNameEx2 IDL.Günther Deschner1-2/+2
Guenther (This used to be commit 46679ddbc3137ac6edcdb1c61e2a7fa65f91341d)
2008-01-25Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).Günther Deschner1-1/+7
Guenther (This used to be commit 454a0711f1614107436ef36ec21ebb8567728bf9)
2008-01-25Fix bogus uninitialized variable warningsVolker Lendecke3-3/+3
(This used to be commit 71d6580c837adcc2cddcdff561f6fb09701501ee)
2008-01-25Fix Coverity IDs 451, 452Volker Lendecke1-1/+1
(This used to be commit d28a537277bedb65d1c2a01c971a3a22b1aa6624)
2008-01-25Tiny simplificationVolker Lendecke1-8/+7
(This used to be commit e78f6872bfc19ce0476b8d79c856a8d9c646a913)
2008-01-25Remove a pointless while loopVolker Lendecke1-11/+7
(This used to be commit f591bd68eafdbaefcaa95510cc4cb9a74cef0562)
2008-01-25Attempt to fix the build on OpenBSDVolker Lendecke1-1/+1
Thanks to metze for pointing this out (This used to be commit c94c04e3e6f6ae243a55534a76654755bff55651)
2008-01-25Always trust the domain flags in the wcache trusted domain cache.Gerald W. Carter1-13/+33
Use the flags stored in the tdb when determining if a domain can be contacted. The tdb should be considered authoratative anyways unless you know the flags in the winbindd_domain are correct (such as when first enumerating trusts). Original suggestion and patch from Steven Danneman <steven.danneman@isilon.com>. Manually rewritten by me for 3.2. (This used to be commit f53658a20de07a29abbe2e90917b328d00fc0024)
2008-01-25Use the correct domain name when looking up the trust password.Gerald W. Carter1-1/+15
On a DC, we always use the domain name given. On a domain member, we use lp_workgroup(). This fixes a bug supporting trusted domains. (This used to be commit 8b063a414149bdf401a8f854d55ed7dc6f94cb60)
2008-01-25Remove more unused LSA marshalling functions.Günther Deschner1-406/+0
Guenther (This used to be commit 95e0fb452bda4c81b26e3dec4953bbba37940467)
2008-01-25Remove some unused structures from rpc_lsa.h.Günther Deschner1-122/+0
Guenther (This used to be commit a52066e6083ff4b0d21b57ba43a812c02c0cbd78)
2008-01-25Add cmd_netlogon_dsr_enumtrustdom() to rpcclient.Günther Deschner1-0/+48
Guenther (This used to be commit cb44c901c1bc66da9f3636020401238ce0005105)
2008-01-25run "make idl".Günther Deschner5-23/+7
Guenther (This used to be commit 5db4310d4c9149dc9d68f7684dc961926f94544a)
2008-01-25Fix netr_DsrEnumerateDomainTrusts IDL.Günther Deschner1-1/+1
Guenther (This used to be commit 527aae96a6c2da822a21996ba4e6f7df1941fdbc)
2008-01-25Add LIBNETAPI_LOCAL_SERVER() macro.Günther Deschner1-0/+5
Guenther (This used to be commit 4bdcf07bcc3aaf7c3f7245cfdda06433bcf4ae60)
2008-01-25No need to close registry on libnetapi_free() anymore.Günther Deschner1-1/+0
Guenther (This used to be commit 6bf75652ef07f5a534cef5034b7aad4fdcbcd265)
2008-01-25Fix winbindd_can_contact_domain() on a samba DC.Michael Adam1-3/+6
The check for inbound trusts is invalid when samba is a DC and has a trust with an active directory domain. This effectively prevented tusts with an AD domain on a samba DC from working (unless using "winbindd rpc only"), because an ads_connect() was never performed. Only the rpc-based winbindd methods were working properly. Jerry: Please check! Michael (This used to be commit dcd42a1e0642c69348adfaeecef7f7f2f074ac30)
2008-01-25Use generated DSSETUP client & server rpc functions and remove the ↵Günther Deschner14-479/+281
hand-written ones. Guenther (This used to be commit d5ebfccebb1f1b56b45673a506fcdb414103c43b)
2008-01-25Add generated dssetup code after make idl.Günther Deschner8-1/+2732
Guenther (This used to be commit 4b3d96be8017a38a6af4ce58ae54a6af005fbe3e)
2008-01-25Adding dssetup.idl from samba4.Günther Deschner1-0/+101
Guenther (This used to be commit d33a5102c294880ae5f6341575f587f32fb14d0c)
2008-01-25Remove rpccli_samr_get_dom_pwinfo() and rpccli_samr_get_usrdom_pwinfo().Günther Deschner2-106/+23
Guenther (This used to be commit 29690d18608ab2d694c23ed7656348c8c71f204e)
2008-01-24Fix the same bug with user -> user_obj.Jeremy Allison1-1/+7
Jeremy. (This used to be commit c5edf7456955471b8590c2cfa67c7f47a387cdf0)
2008-01-24Fix a really subtle old, old bug :-). When canonicalizing theJeremy Allison1-3/+9
NT ACL into a POSIX one, if the group being set is the primary group of the file, map it into a SMB_ACL_GROUP_OBJ, not a SMB_ACL_GROUP. Otherwise we get an extra bogus group entry in the POSIX ACL. Jeremy. (This used to be commit 4d302254fdfce2c267cf6b21f662d5aa2dc9c72c)
2008-01-24Correctly set flags in ACE's inherited from parent. Still one bugJeremy Allison1-3/+35
left to find then I'll back-port to 3.0.28. Jeremy. (This used to be commit 3df2f7ca782e418703d82f7a1f3c035a365f9589)
2008-01-24Fix missing error check that caused crash when winbindd not running.Jeremy Allison1-0/+1
Jeremy. (This used to be commit f5ca241e2c1adf2ae836fae33a4adac916f46416)
2008-01-25Fix lookup_sids to detect unix_groups and unix_users domain sids.Michael Adam1-0/+10
This fixes panics in wbcLookupRids when 1-2-22 was passed as a domain sid. Michael (This used to be commit c0d9732cf4482b0db02c75f316ff2b41f3336425)
2008-01-25Add a debug message: show the sid lookup_sid() was called for.Michael Adam1-0/+2
Michael (This used to be commit 6c7c6c3f85a4bd171c62031b2b8e59d3f7054061)
2008-01-25Add debug message: show which domain_child is being forked.Michael Adam1-0/+7
Michael (This used to be commit 373a00ae0d667d257fa93ab14c773e841f2c4f1a)
2008-01-25Add a debug message to lookup_rids() printing the domain SID.Michael Adam1-0/+3
This is to ease debugging. I sporadically get panics that are apparently due to NULL domain sid passed to lookup_rids somewhere. Michael (This used to be commit 723e877c241dd5a0c8addb89507c9eda75b88ea4)
2008-01-25Add a debug message winbindd_can_contact_domain()Michael Adam1-0/+2
explaining the reason for failure. Michael (This used to be commit ba5373ed7f74d560a9de8620039b596b8938d1dc)
2008-01-25Fix assignment to request->data.init_conn.is_primary in init_child_connection().Michael Adam1-1/+1
The present assignment "request->data.init_conn.is_primary = domain->internal ? False : True" simply feels wrong. This seems to be the thing right to do: "request->data.init_conn.is_primary = domain->primary ? true : false". The question is: Does this have any purpose at all? data.init_conn.is_primary seems to be used nowhere in the whole code at all. Is it (still) needed? Michael (This used to be commit 8bb21b8b3802e7b093a3c4fb41b8550033388878)