1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

25116 Commits

Author SHA1 Message Date
Günther Deschner
1a7583dd0b Remove unused rpc_ds marshalling code that is unused now.
Guenther
(This used to be commit 153253e14f)
2008-01-29 15:51:19 +01:00
Günther Deschner
5a89a4674e Finally delete rpccli_ds_enum_domain_trusts() completly.
Guenther
(This used to be commit c420e42adf)
2008-01-29 15:23:38 +01:00
Günther Deschner
e7b2be804b Remove last caller of rpccli_ds_enum_domain_trusts().
I added an alias in rpcclient's netlogon command table.

Guenther
(This used to be commit 1a900e08e9)
2008-01-29 15:20:59 +01:00
Günther Deschner
e629f50a51 Use another pidl generated call to enumerate ds trusted domains in winbindd.
Guenther
(This used to be commit f6397fbeae)
2008-01-29 15:18:41 +01:00
Günther Deschner
53c6009928 Use pidl generated call to enumerate ds trusted domains in winbindd.
Guenther
(This used to be commit 3a3c1aed9b)
2008-01-29 15:17:42 +01:00
Günther Deschner
7cab0f5c0c Fix the build. Avoid unrequired ndr_print_ads_struct dependencies.
Guenther
(This used to be commit c832882e49)
2008-01-29 15:17:02 +01:00
Günther Deschner
b6529b6f6d Add ndr_print_ads_auth_flags().
Guenther
(This used to be commit 52bd4ce68d)
2008-01-29 15:16:44 +01:00
Günther Deschner
0adf8621cd Move DS_DOMAIN_FUNCTION defines to ads.h.
Guenther
(This used to be commit 2605c6758e)
2008-01-29 15:15:28 +01:00
Günther Deschner
5e9be79330 Add missing windows 2008 netr_DsR_DcFlags and netr_DsRGetDCName_flags flags.
Guenther
(This used to be commit 1702a1512e)
2008-01-29 15:14:39 +01:00
Günther Deschner
5ab43ae0d8 Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).
Guenther
(This used to be commit fd490d236b)
2008-01-29 15:09:56 +01:00
Günther Deschner
d9a1282cc5 Dump msDS-SupportedEncryptionTypes in adssearch.
Guenther
(This used to be commit bc0b68709c)
2008-01-28 19:22:17 +01:00
Gerald W. Carter
c0c93dc2ba Restrict the enctypes in the generated krb5.conf files to Win2003 types.
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 8039a2518c)
2008-01-28 11:32:09 -06:00
Volker Lendecke
fe478af26a We need to leave the corepath around
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 3959b1954b)
2008-01-27 10:24:31 +01:00
Tim Potter
54db183987 Adding missing calls to va_end().
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 ec367f307d)
2008-01-27 09:33:42 +01:00
Volker Lendecke
47e1251f72 Remove an unused external reference
(This used to be commit 147033b9df)
2008-01-27 00:35:14 +01:00
Volker Lendecke
5398dd641c Fix uninitialized variables
Thanks to Corinna Vinschen
(This used to be commit aba8c17599)
2008-01-26 21:29:18 +01:00
Günther Deschner
4fd374f063 Add cmd_netlogon_dsr_getforesttrustinfo and deregisterdnsrecords to rpcclient.
Guenther
(This used to be commit 227f5755c8)
2008-01-25 21:44:02 +01:00
Günther Deschner
a6ce6c5649 Remove hand-written rpccli_netlogon_dsr_getdcnameex[2].
Guenther
(This used to be commit 3ded8b9b7e)
2008-01-25 21:43:55 +01:00
Günther Deschner
504813e445 Use rpccli_netr_DsRGetDCNameEx and rpccli_netr_DsRGetDCNameEx2 in rpcclient.
Guenther
(This used to be commit 2caed3f816)
2008-01-25 21:43:49 +01:00
Günther Deschner
10c7aac3cc Re-run make idl.
Couldn't we move on doing this during the build??

Guenther
(This used to be commit d69cbd0099)
2008-01-25 21:43:36 +01:00
Günther Deschner
bd0b283fcd Fix netr_DsRGetDCNameEx and netr_DsRGetDCNameEx2 IDL.
Guenther
(This used to be commit 46679ddbc3)
2008-01-25 21:43:25 +01:00
Günther Deschner
9dee9fcb11 Add IDL for netr_DsrDeregisterDNSHostRecords (just for completion).
Guenther
(This used to be commit 454a0711f1)
2008-01-25 21:43:17 +01:00
Volker Lendecke
b679dda6c9 Fix bogus uninitialized variable warnings
(This used to be commit 71d6580c83)
2008-01-25 21:20:39 +01:00
Volker Lendecke
6d387037b1 Fix Coverity IDs 451, 452
(This used to be commit d28a537277)
2008-01-25 20:55:51 +01:00
Volker Lendecke
e2ad28509c Tiny simplification
(This used to be commit e78f6872bf)
2008-01-25 20:55:51 +01:00
Volker Lendecke
31a6f80784 Remove a pointless while loop
(This used to be commit f591bd68ea)
2008-01-25 20:55:51 +01:00
Volker Lendecke
0b10c67c0c Attempt to fix the build on OpenBSD
Thanks to metze for pointing this out
(This used to be commit c94c04e3e6)
2008-01-25 20:53:21 +01:00
Gerald W. Carter
235deb1b66 Always trust the domain flags in the wcache trusted domain cache.
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 f53658a20d)
2008-01-25 12:29:47 -06:00
Gerald W. Carter
fda9247770 Use the correct domain name when looking up the trust password.
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 8b063a4141)
2008-01-25 12:27:16 -06:00
Günther Deschner
7bcf0b0262 Remove more unused LSA marshalling functions.
Guenther
(This used to be commit 95e0fb452b)
2008-01-25 17:22:09 +01:00
Günther Deschner
f1193f6603 Remove some unused structures from rpc_lsa.h.
Guenther
(This used to be commit a52066e608)
2008-01-25 17:22:04 +01:00
Günther Deschner
a059d24488 Add cmd_netlogon_dsr_enumtrustdom() to rpcclient.
Guenther
(This used to be commit cb44c901c1)
2008-01-25 17:21:57 +01:00
Günther Deschner
e49650ea90 run "make idl".
Guenther
(This used to be commit 5db4310d4c)
2008-01-25 17:21:50 +01:00
Günther Deschner
c72caca4a2 Fix netr_DsrEnumerateDomainTrusts IDL.
Guenther
(This used to be commit 527aae96a6)
2008-01-25 17:21:38 +01:00
Günther Deschner
c04b738a13 Add LIBNETAPI_LOCAL_SERVER() macro.
Guenther
(This used to be commit 4bdcf07bcc)
2008-01-25 17:21:29 +01:00
Günther Deschner
a30361ede3 No need to close registry on libnetapi_free() anymore.
Guenther
(This used to be commit 6bf75652ef)
2008-01-25 17:21:19 +01:00
Michael Adam
3ca606731b Fix winbindd_can_contact_domain() on a samba DC.
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 dcd42a1e06)
2008-01-25 16:43:21 +01:00
Günther Deschner
05ff7fd46e Use generated DSSETUP client & server rpc functions and remove the hand-written ones.
Guenther
(This used to be commit d5ebfccebb)
2008-01-25 15:30:43 +01:00
Günther Deschner
d7d4f1c132 Add generated dssetup code after make idl.
Guenther
(This used to be commit 4b3d96be80)
2008-01-25 15:25:12 +01:00
Günther Deschner
c19d01fedf Adding dssetup.idl from samba4.
Guenther
(This used to be commit d33a5102c2)
2008-01-25 15:25:05 +01:00
Günther Deschner
242a57b624 Remove rpccli_samr_get_dom_pwinfo() and rpccli_samr_get_usrdom_pwinfo().
Guenther
(This used to be commit 29690d1860)
2008-01-25 15:24:27 +01:00
Jeremy Allison
51f62beabd Fix the same bug with user -> user_obj.
Jeremy.
(This used to be commit c5edf74569)
2008-01-24 18:22:43 -08:00
Jeremy Allison
fccae57310 Fix a really subtle old, old bug :-). When canonicalizing the
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 4d302254fd)
2008-01-24 18:13:22 -08:00
Jeremy Allison
dd67913a99 Correctly set flags in ACE's inherited from parent. Still one bug
left to find then I'll back-port to 3.0.28.
Jeremy.
(This used to be commit 3df2f7ca78)
2008-01-24 17:50:07 -08:00
Jeremy Allison
4ee9d715a0 Fix missing error check that caused crash when winbindd not running.
Jeremy.
(This used to be commit f5ca241e2c)
2008-01-24 17:40:35 -08:00
Michael Adam
76e5c1f79a Fix lookup_sids to detect unix_groups and unix_users domain sids.
This fixes panics in wbcLookupRids when 1-2-22 was passed as a
domain sid.

Michael
(This used to be commit c0d9732cf4)
2008-01-25 01:42:22 +01:00
Michael Adam
60daaeeb34 Add a debug message: show the sid lookup_sid() was called for.
Michael
(This used to be commit 6c7c6c3f85)
2008-01-25 01:42:22 +01:00
Michael Adam
9912f82067 Add debug message: show which domain_child is being forked.
Michael
(This used to be commit 373a00ae0d)
2008-01-25 01:42:22 +01:00
Michael Adam
d682e04828 Add a debug message to lookup_rids() printing the domain SID.
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 723e877c24)
2008-01-25 01:42:22 +01:00
Michael Adam
2a542ce772 Add a debug message winbindd_can_contact_domain()
explaining the reason for failure.

Michael
(This used to be commit ba5373ed7f)
2008-01-25 01:42:22 +01:00