summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-01-24Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison22-192/+321
v3-2-test (This used to be commit ef2913a66c3888d4813d8b778ddd63b2c7e48f3e)
2008-01-24Make explicit in debug we're ignoring flags from the parent SD.Jeremy Allison1-6/+10
Jeremy (This used to be commit 58cfa4b1bdc1ce30cc3befb342cc98ac0e283585)
2008-01-25Trying to avoid defining new SAMR acct creation flags when we already have ↵Günther Deschner6-50/+35
them with different names. Matt, Jeremy, please check. Guenther (This used to be commit d4a9e46edf7336f673c001c559af96eb0ecf9f6f)
2008-01-25Re-run make idl.Günther Deschner4-76/+64
Guenther (This used to be commit c0bf3af692bee5bc5a3405feb405e67d35d77a16)
2008-01-25Rename samr_*AccessMask bitfields to start with SAMR_.Günther Deschner1-32/+32
Guenther (This used to be commit 6226f2294e83501d01d18a954bb36efec37aea75)
2008-01-24Add WERR_INVALID_COMPUTER_NAME.Günther Deschner2-0/+2
Guenther (This used to be commit cb1ff32eff06031150a6821658152e02a4077bbd)
2008-01-24Add cmd_netlogon_gettrustrid() to rpcclient.Günther Deschner1-0/+42
Guenther (This used to be commit 231a4d051f24af7cf5bf13d7dd613f33dc06f21a)
2008-01-24make idl.Günther Deschner7-33/+141
Guenther (This used to be commit 212f6fc000d093bad9f78307743639b391db3fe5)
2008-01-24Add IDL for netr_LogonGetTrustRid.Günther Deschner1-1/+5
Guenther (This used to be commit 6f38c2f06080943bb64ce24115ec2164b6c21b95)
2008-01-24Add debug messages to trace this if needed.Jeremy Allison1-0/+14
Jeremy. (This used to be commit b628269b3260661cb4eeeab8c533b3129827ba62)
2008-01-24The checks for OI and CI were just wrong.... Fix them. Thanks toJeremy Allison1-9/+4
Jim for testing this. Jeremy. (This used to be commit e898789e0d819df05b14bcedfa1d230c7a983440)
2008-01-24First part of fix for bug #4929 - worked out by jmcd.Jeremy Allison1-80/+29
Cope with protected ACL set correctly. Jeremy. (This used to be commit f5e50f42e7c79b4f8857602457db5b97886bd19e)
2008-01-24Fix winbindd build w/o ADS.Günther Deschner1-3/+7
Guenther (This used to be commit 40daef4c3d822a28467ff521efca6a55a0370050)
2008-01-24Fix Coverity ID 454Volker Lendecke1-1/+8
(This used to be commit 902d1d6709e47fbc8b538f28cb4364b006c431f8)
2008-01-24Fix Coverity ID 463Volker Lendecke1-1/+3
(This used to be commit 21d126c56a633d2d72ffad08db7331ecc0ee3c0c)
2008-01-24Fix Coverity ID 465Volker Lendecke1-0/+2
(This used to be commit 8629a0e1c3da7c2d2b0c1d99224177c54bbae930)
2008-01-24Add winbind_msg_dump_domain_list to winbindd.Günther Deschner2-0/+88
Guenther (This used to be commit 54ad97bd8364c393de2c9471a4c14ca5b880b318)
2008-01-24Add winbindd debugging ndr_print helpers.Günther Deschner2-0/+150
Guenther (This used to be commit 4389e4dadbf07c176d9102b74c06e62ecfc242be)
2008-01-24Add dump-domain-list command for debugging winbindd's domain_list.Günther Deschner2-0/+58
Guenther (This used to be commit 10fa43f2840899c0854763e55b9174827c522a5b)
2008-01-24rerun 'make idl'Stefan Metzmacher11-113/+45
metze (This used to be commit 37b95450518419e2153e9930b63f894b68096d3d)
2008-01-24netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32Stefan Metzmacher2-5/+10
metze (cherry picked from commit 7222edb9cde5cdeb9d065e890775a7254b26648f) (This used to be commit 503082e15e03def33434d3e5ff4fbe750873aab0)
2008-01-24Re-run make idl and use generated ndr based on samba4 security.idl (except ↵Günther Deschner10-1157/+1410
for DOM_SID). Guenther (This used to be commit 1781a57b18f681f1bc03873330147a813f10eba2)
2008-01-24Merge over security.idl from samba4.Günther Deschner1-2/+19
Guenther (This used to be commit 57f2b8d0a8d8987a62419e9852ac9a9cf39c3109)
2008-01-24Fix samr_EnumDomainUsers in samba3, must not be a ref pointer here.Günther Deschner4-14/+22
Guenther (This used to be commit 3b87c5ce4f74f8dd01bfdf8859c6c832da15cd24)
2008-01-24netlogon.idl: make use of bitmap samr_GroupAttrsStefan Metzmacher1-1/+2
metze (from v4-0-test 6d68161e676d381600c77c3f862bd7e013968724) (This used to be commit 9b5f69cb1f7d22174b2cd67ebf02a271d4bf6e2f)