Günther Deschner
4ce88f719e
Don't let winbind getgroups crash when we have no gids in the token.
...
Guenther
(This used to be commit 6a576cfe9b
)
2008-03-29 00:47:42 +01:00
Volker Lendecke
26fead2c6e
Make some fns static
...
(This used to be commit e04fc36f22
)
2008-03-28 13:44:30 +01:00
Günther Deschner
1b9c4763ee
Fix typo.
...
Guenther
(This used to be commit fed6443729
)
2008-03-27 18:05:02 +01:00
Gerald W. Carter
9c169e9e42
Don't fill password policy structure for any domain other than our own.
...
The samr connects will fail. This is not independent of the CONTACT_TRUSTDOM
flag neede by krb5 logins.
(This used to be commit 4de4949e3b
)
2008-03-27 11:56:29 -05:00
Volker Lendecke
2198058624
Fix wbinfo -a trusted\\user%password on a Samba DC with trusts
...
Winbind can't be allowed to connect to the local smbd.
(This used to be commit 0d617f639a
)
2008-03-27 13:11:10 +01:00
Günther Deschner
cba8dcf759
Move LOGON_KRB5_FAIL_CLOCK_SKEW to winbindd_pam.
...
Guenther
(This used to be commit fa64c76ac8
)
2008-03-27 13:06:43 +01:00
Günther Deschner
06772e7f65
Fix winbind NETLOGON cred chain on a samba dc for w2k8 trusts.
...
Guenther
(This used to be commit 2586dc34e0
)
2008-03-26 21:11:53 +01:00
Volker Lendecke
689cd9e101
Fix a segfault
...
When we get a NT_STATUS_WRONG_PASSWORD for example, my_info3 is not initialized
at all. So first check that we have NT_STATUS_IS_OK(status) before we
dereference my_info3.
(This used to be commit 559cd9e5a7
)
2008-03-25 23:36:06 +01:00
Volker Lendecke
04cd5c6bd8
Fix typo
...
(This used to be commit 38683a7301
)
2008-03-25 21:35:41 +01:00
Volker Lendecke
ca63c6e079
Merge dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possible
...
NetSamLogonEx has the advantage that it does not use the credential chain
(This used to be commit cfceb063f5
)
2008-03-19 17:00:53 +01:00
Volker Lendecke
bf10e7f939
Fix some "nexted extern" warnins
...
(This used to be commit 32fc759d94
)
2008-03-19 16:23:28 +01:00
Volker Lendecke
1ebfc66b2c
Use a separate tdb for mutexes
...
Another preparation to convert secrets.c to dbwrap: The dbwrap API does not
provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC
mutex is needed per-node anyway, so it is perfectly fine to use a local mutex
only.
(This used to be commit f94a63cd8f
)
2008-03-10 21:08:45 +01:00
Stefan Metzmacher
76de025c72
winbind: use a struct element for WBFLAG_PAM_UNIX_NAME
...
To not conflict with WBFLAG_PAM_INFO3_TEXT.
This should fix pam_winbind.
metze
(This used to be commit 1b8ed6c0ff
)
2008-02-28 23:00:42 +01:00
Günther Deschner
0d8985f2da
Let dsgetdcname() return a struct netr_DsRGetDCNameInfo.
...
Guenther
(This used to be commit b1a4b21f8c
)
2008-02-28 12:40:55 +01:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a87571
)
2008-02-27 19:38:48 +01:00
Günther Deschner
c25958a046
Use netr_SamInfo3 everywhere in winbindd.
...
Guenther
(This used to be commit d9502eb753
)
2008-02-17 02:12:00 +01:00
Günther Deschner
c6f82f1cc4
Getting rid of net_io_user_info3() when sending an NDR encoded netr_SamInfo3.
...
Guenther
(This used to be commit f22ba8aee2
)
2008-02-17 02:12:00 +01:00
Stefan Metzmacher
3649f728ed
winbindd: add rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode
...
metze
(This used to be commit c5e6dd1ca9
)
2008-02-13 13:30:15 +01:00
Günther Deschner
ce7d5975b4
Convert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.
...
Guenther
(This used to be commit 33a97b447c
)
2008-02-13 11:18:36 +01:00
Günther Deschner
55a8d956d1
Convert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.
...
Guenther
(This used to be commit 8890bc481f
)
2008-02-13 11:18:36 +01:00
Günther Deschner
cdc07216e4
Convert last caller (in winbindd) to rpccli_samr_LookupRids.
...
Guenther
(This used to be commit 34c2566f02
)
2008-02-13 10:56:56 +01:00
Stefan Metzmacher
cedfcaec0c
nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
...
metze
(This used to be commit 5f623f54a9
)
2008-02-13 10:44:52 +01:00
Günther Deschner
9673162236
Fix the build of winbindd, sorry.
...
Guenther
(This used to be commit c62c89c8f0
)
2008-02-13 01:29:52 +01:00
Günther Deschner
0ba3d44f73
Use rpccli_lsa_EnumTrustDom all over the place.
...
Guenther
(This used to be commit a25e7ffbca
)
2008-02-13 00:29:37 +01:00
Günther Deschner
4c42f7999a
Use rpccli_samr_QueryUserInfo in net and winbindd.
...
Guenther
(This used to be commit a9ff676090
)
2008-02-12 18:16:56 +01:00
Günther Deschner
e88eb3ed16
Use rpccli_netr_DsRGetDCName() in rpcclient and winbindd.
...
Guenther
(This used to be commit 4f3e97cbae
)
2008-02-08 23:38:13 +01:00
Günther Deschner
7329bd24f9
Fix winbindd msrpc_lookup_useraliases.
...
Guenther
(This used to be commit e196e527ae
)
2008-02-08 10:59:31 +01:00
Günther Deschner
7520439dca
Use rpccli_lsa_QueryInfoPolicy() all over the place.
...
Guenther
(This used to be commit ce22abcea3
)
2008-02-08 10:26:20 +01:00
Günther Deschner
ec9281fcac
Use rpccli_lsa_QueryInfoPolicy2 in winbindd.
...
Guenther
(This used to be commit ccf79cfa88
)
2008-02-08 10:15:50 +01:00
Günther Deschner
781776d864
Use rpccli_samr_QueryDisplayInfo() all over the place.
...
Guenther
(This used to be commit 66b79add35
)
2008-02-08 00:10:55 +01:00
Günther Deschner
1c788bc365
Use rpccli_samr_GetGroupsForUser() all over the place.
...
Guenther
(This used to be commit d1c669920e
)
2008-02-07 14:25:18 +01:00
Günther Deschner
bca0ef0ed7
Use rpccli_netr_GetAnyDCName and rpccli_netr_GetDCName everywhere.
...
Guenther
(This used to be commit 8abeea9922
)
2008-02-07 10:29:26 +01:00
Günther Deschner
9c22a27aad
Let rpccli_samr_chgpasswd3 use rpccli_samr_ChangePasswordUser3 internally.
...
Guenther
(This used to be commit ffbfd19ad7
)
2008-02-07 10:07:00 +01:00
Günther Deschner
742fd39b7a
Use rpccli_samr_QueryDomainInfo() in winbindd.
...
Guenther
(This used to be commit dd9fa33e96
)
2008-02-06 02:09:44 +01:00
Jeremy Allison
497eb77099
Small whitespace cleanup + check for null returns on talloc_strdup.
...
Jeremy.
(This used to be commit 654484b9a2
)
2008-02-05 16:51:46 -08:00
Günther Deschner
2823c1eab1
Use rpccli_samr_QueryGroupMember() all over the place.
...
Guenther
(This used to be commit 1793ed10df
)
2008-02-05 13:19:47 +01:00
Günther Deschner
0c6b6b461c
Use rpccli_samr_GetAliasMembership() in winbindd and rpcclient.
...
Guenther
(This used to be commit 5c16716285
)
2008-02-05 10:13:08 +01:00
Günther Deschner
270ba9c238
Use rpccli_samr_Connect2() all over the place.
...
Guenther
(This used to be commit bdf8d56262
)
2008-02-04 22:12:40 +01:00
Michael Adam
30dcc73d96
Fix a typo in a debug message.
...
Michael
(This used to be commit 3865a7e6a1
)
2008-02-04 16:42:08 +01:00
Volker Lendecke
b42a5d68a3
Convert read_data() to NTSTATUS
...
(This used to be commit af40b71023
)
2008-02-02 11:03:23 +01:00
Simo Sorce
2fffc9a1b1
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 7dbfc7bdc6
)
2008-02-01 14:24:31 -05:00
Simo Sorce
93a3c5b3f9
Fix winbindd running on a Samba DC,
...
This patch make sure we do not try to contact smbd in the main dameon
to avoid deadlocks.
All the operations that require connecting to smbd are performed in
the domain child anyway.
(This used to be commit 9347d34b50
)
2008-02-01 14:23:43 -05:00
Günther Deschner
37b56c0113
Use rpccli_samr_OpenUser() all over the place.
...
Guenther
(This used to be commit da90eb7653
)
2008-02-01 12:30:15 +01:00
Günther Deschner
482eaa8e5c
Use rpccli_samr_OpenGroup() all over the place.
...
Guenther
(This used to be commit d019fc69a9
)
2008-02-01 12:29:35 +01:00
Günther Deschner
42960f817a
Use rpccli_samr_OpenDomain() all over the place.
...
Guenther
(This used to be commit e4e9d72724
)
2008-02-01 12:29:10 +01:00
Günther Deschner
5334b364c2
Remove rpccli_samr_close and use pidl generated function instead.
...
Guenther
(This used to be commit 64f0889401
)
2008-01-31 11:09:11 +01:00
Günther Deschner
80b2e330f9
Remove include/rpc_ds.h and all references to it completly.
...
Jerry, please have a look if you're fine with that.
Guenther
(This used to be commit beae25c808
)
2008-01-29 17:51:05 +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
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