1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

1844 Commits

Author SHA1 Message Date
Stefan Metzmacher
4313d7b6c2 nsswitch: remove unused nsswitch/wb_client.c
metze
(This used to be commit 2b236c7ace)
2008-04-11 15:59:34 +02:00
Stefan Metzmacher
dc9569e45f libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
metze
(This used to be commit 364e146805)
2008-04-11 15:59:33 +02:00
Björn Jacke
67be6b3af7 fix some extrasemi compile warnings
(This used to be commit cbdb79b7a1)
2008-04-10 08:55:57 +02:00
Volker Lendecke
4f715d1102 Fix an uninitialized variable
(This used to be commit 8b2d9ee8c5)
2008-04-07 12:20:21 +02:00
Stefan Metzmacher
1d08dbbd4c wbinfo: make use of wbcGetGroups()
metze
(This used to be commit c78f4dc043)
2008-04-06 13:42:00 +02:00
Stefan Metzmacher
cb4e77d991 libwbclient: add wbcGetGroups()
metze
(This used to be commit 596d030b97)
2008-04-06 13:42:00 +02:00
Volker Lendecke
7d0ebc1976 Fix a C++ warning
(This used to be commit c274fe7d21)
2008-04-06 12:27:16 +02:00
Volker Lendecke
abe1431ad3 Remove external refs to winbindd_fd
(This used to be commit 18bf2b2028)
2008-04-06 12:27:08 +02:00
Volker Lendecke
c18dca113c wbcAllocateGid returns a gid_t, not a uid_t
(This used to be commit 3130fb7b32)
2008-04-06 11:28:46 +02:00
Günther Deschner
e7553ab79c Fix pam_winbind macros.
Guenther
(This used to be commit 3709185912)
2008-04-03 17:23:22 +02:00
Günther Deschner
3020cd44ad Use pwb_context in pam_winbind.
Guenther
(This used to be commit bf960f57e7)
2008-04-03 16:27:18 +02:00
Günther Deschner
a654ed6089 Add _pam_winbind_init/free_context.
Guenther
(This used to be commit d62676cf88)
2008-04-03 16:27:18 +02:00
Günther Deschner
b365cd3fc5 Add pwb_context to pam_winbind.h.
Guenther
(This used to be commit fe8acb0644)
2008-04-03 16:27:18 +02:00
Günther Deschner
b592abf1ac Make more functions in pam_winbind static.
Guenther
(This used to be commit ea2175ee0e)
2008-04-03 16:27:18 +02:00
Stefan Metzmacher
4124c7b7a3 wbinfo: use wbcLookupNames()
metze
(This used to be commit 9d0e5a1321)
2008-04-03 15:49:19 +02:00
Stefan Metzmacher
f963e50de7 wbinfo: use wbcLookupRids()
metze
(This used to be commit 046b26b763)
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
421f9d2e6b wbinfo: use wbcLookupSid()
metze
(This used to be commit b917be4986)
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
e8ca249d3f wbinfo: catch NULL domain string as in other places
metze
(This used to be commit ff4611832a)
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
175622fa58 wbinfo: use wbcInterfaceDetails()
metze
(This used to be commit ff87260f12)
2008-04-01 18:30:10 +02:00
Stefan Metzmacher
949a3823f2 libwbclient: add wbcInterfaceDetails()
metze
(This used to be commit fee3806326)
2008-04-01 18:30:10 +02:00
Stefan Metzmacher
b6737afbc7 libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macro
metze
(This used to be commit de2e8d5db9)
2008-04-01 18:30:10 +02:00
Gerald W. Carter
0552d7df54 DIsplay the short domain name in "wbinfo -m " by default.
This fixes wbinfo -m to make preexisting behavior.
Also adds the dns domain to the --verbose output.
(This used to be commit b68caaa81b)
2008-03-31 13:40:58 -05:00
Steven Danneman
2b70174e1b Augmented "wbinfo -m" to list additional information about the type, direction, and transitivty of trusts.
* added several helper functions to convert the trust_flags field in the
winbindd_tdc_domain to more useful administrator ideas of trust type, trust
direction, and trust transitivity.

* converted winbindd_list_trusted_domains() to enumerate the trusted domain
cache, instead of the domain list, and return additional trust information to
the calling process

* modified wbinfo to pretty print this additional trust information when a new
--verbose switch is given with -m.  Thus "wbinfo -m" and "wbinfo -all-domains"
output as before, but "wbinfo --verbose -m" prints extra trust info.

* updated some comments and fixed typos
(This used to be commit e7827bb6af)
2008-03-31 13:40:58 -05:00
Stefan Metzmacher
f4a1e30be5 wbinfo: use wbcAllocateGid()
metze
(This used to be commit 960c069a23)
2008-03-31 12:17:37 +02:00
Stefan Metzmacher
0b7610b9c9 wbinfo: use wbcAllocateUid()
metze
(This used to be commit a7d735df29)
2008-03-31 12:17:37 +02:00
Stefan Metzmacher
9f110a7353 wbinfo: use wbcSidToGid()
metze
(This used to be commit 43df48bdca)
2008-03-31 12:17:36 +02:00
Stefan Metzmacher
3dc1545b24 wbinfo: use wbcSidToUid()
metze
(This used to be commit a25b39cac1)
2008-03-31 12:17:36 +02:00
Stefan Metzmacher
d3a6368cfd wbinfo: use wbcGitToSid()
metze
(This used to be commit 9936d861a1)
2008-03-31 12:17:35 +02:00
Stefan Metzmacher
aa4033a21e wbinfo: use wbcUidToSid()
metze
(This used to be commit 4766ebf7ac)
2008-03-31 12:17:35 +02:00
Stefan Metzmacher
fd8cf63811 wbinfo: use wbcPing()
metze
(This used to be commit 9a2f0b2192)
2008-03-31 12:17:34 +02:00
Stefan Metzmacher
0f4446d6b2 wbinfo: use wbcDomainInfo()
metze
(This used to be commit 7714f92321)
2008-03-28 15:11:42 +01:00
Stefan Metzmacher
b6e3a9b8e5 wbinfo: use wbcGetgrnam()
metze
(This used to be commit 8945dce4a1)
2008-03-28 15:11:42 +01:00
Stefan Metzmacher
8686d47bad wbinfo: use wbcListUsers() and wbcListGroups()
metze
(This used to be commit 5a0ae1ad0c)
2008-03-28 15:11:42 +01:00
Stefan Metzmacher
87ea917e5d wbinfo: use wbcLookupUserSids()
metze
(This used to be commit ff16b66631)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
bfbd74f059 libwbclient: remove prototype of non existing wbcDomainSequenceNumbers()
metze
(This used to be commit 7a4de23aa3)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
eb98b08ccb libwbclient: add wbcListUsers() and wbcListGroups()
metze
(This used to be commit df127f0b40)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
f58ca063bb libwbclient: add wbcLookupUserSids()
metze
(This used to be commit 38007a387a)
2008-03-28 15:11:41 +01:00
Gerald W. Carter
0a4f742f0a Only add WBFLAG_PAM_CONTACT_TRUSTDOM when performing a krb5 auth request.
NTLM logons must go against our DC.
(This used to be commit 2e24f7c024)
2008-03-27 11:57:26 -05:00
Michael Adam
fe0d12f8c2 libwbclient: fix Coverity ID 536 remove duplicate error path (dead code).
I leave the more explicit error path in the "if (cmd == 0)" block.

Michael
(This used to be commit 2ae19b5fb8)
2008-03-27 11:51:31 +01:00
Günther Deschner
a4a90c62e6 Fix wbcAuthenticateUserEx().
Guenther
(This used to be commit 79f7a519f8)
2008-03-26 01:30:02 +01:00
Marc VanHeyningen
e06aa46b9f Coverity fixes
(This used to be commit 3fc85d2259)
2008-03-17 20:52:25 +01:00
Volker Lendecke
439fe513c1 Fix a memleak
Fixes Coverity ID 557
(This used to be commit fe882a5751)
2008-03-06 11:37:01 +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
Michael Adam
71ab53a13b Fix caller of node_status_query() to use sockaddr_storage().
Caller is hidden inside an #ifdef .

Michael
(This used to be commit 4a0d1ad601)
2008-02-27 10:06:56 +01:00
Volker Lendecke
6dfb2614d8 Fix a C++ warning
(This used to be commit d993b4c3ce)
2008-02-23 11:04:13 +01:00
Jeremy Allison
0e57795f86 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 847874ca75)
2008-02-15 09:35:18 -08:00
Stefan Metzmacher
2c14442e8d wbinfo: ask wbcAuthenticateUserEx() for user info to test the more complex code path
metze
(This used to be commit 432a77e0d7)
2008-02-15 11:55:17 +01:00
Stefan Metzmacher
23b7f7ea09 libwbclient: let wbcAuthenticateUser() use wbcAuthenticateUserEx()
metze
(This used to be commit 237c2e9738)
2008-02-15 11:55:17 +01:00
Stefan Metzmacher
a12528f826 libwbclient: implement WBC_AUTH_USER_LEVEL_PLAIN in wbcAuthenticateUserEx()
metze
(This used to be commit 423f139fd3)
2008-02-15 11:55:17 +01:00
Stefan Metzmacher
b8e0b5cbff libwbclient: wbcAuthenticateUserEx() be more strict regarding invalid parameters
metze
(This used to be commit 491ba9c0c9)
2008-02-15 11:55:17 +01:00