Günther Deschner
7c1f36d84a
wbinfo: prompt for password when none has been given.
...
Guenther
2008-05-27 16:48:03 +02:00
Günther Deschner
83c4a278df
libwbclient: fix typo.
...
Guenther
2008-05-27 16:47:06 +02:00
Stefan Metzmacher
196d901762
libwbclient: add wbcLibraryDetails()
...
metze
(cherry picked from commit b68916328e935e61840cb03560ebeeee15bb2c6f)
2008-05-23 17:19:58 +02:00
Stefan Metzmacher
e7dcbf56ae
libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHS
...
metze
(cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4)
2008-05-23 17:19:57 +02:00
Günther Deschner
e90a4ce3c2
Fix build warning.
...
Guenther
2008-05-15 09:42:52 +02:00
coffeedude
cb5e8f60ac
libwbclient: Add wbcLogoffUser() and wbcLookupDomainController().
...
Add new APIs calls for WINBINDD_PAM_LOGOFF and WINBINDD_DSGETDCNAME
ops.
2008-05-13 12:56:36 -05:00
Günther Deschner
5bf47ebf0f
wins: fix null pointer crash in nss_wins module.
...
Guenther
2008-05-07 10:39:21 +02:00
Gerald W. Carter
59cfba2c3d
Mark a domain offline in the wbcDomainInfo structure using the domain_flags.
...
Use the existing domain_flags fiueld in wbcDomainInfo to set a bit if the
domain is marked as offline by Winbind.
2008-04-23 08:47:50 -05:00
Gerald W. Carter
1cb2305fc9
Rename WBC_DOMAIN_XXX domain flags to WBC_DOMINFO_DOMAIN_XXX
...
Better consistency with the othre classes of WBC_DOMINDO_XXX_YYYY flags.
2008-04-23 08:47:50 -05:00
Michael Adam
f81da8e8ed
libwbclient: change wbcResolveWinsByIP() to take char ** instead of const char **
...
Fix a compile warning. This seems the right thing since the data is created
by talloc_strdup...
Michael
2008-04-20 22:29:36 +02:00
Michael Adam
13cfa7f48a
libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **
...
This fixes a compile warning and seems the correct thing to me as
the returned data is talloc_strdup't, so not const anyways.
Michael
2008-04-20 22:29:36 +02:00
Gerald W. Carter
fea52dc460
Remove unused variable from wbcCheckTrustCredentials().
2008-04-17 18:09:08 +02:00
Gerald W. Carter
2fbe8437ef
Convert "wbinfo -m" to use wbcListTrusts() API call.
2008-04-17 18:07:18 +02:00
Gerald W. Carter
5c454e77cf
Add wbcListTrusts() API call to libwbclient.so
2008-04-17 18:06:10 +02:00
Gerald W. Carter
d91ce012b0
Follow error code name convention in libwbclient.
...
s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/
2008-04-17 17:49:53 +02:00
Stefan Metzmacher
2cbe5a006a
wbinfo: use wbcCheckTrustCredentials()
...
metze
2008-04-17 00:32:03 +02:00
Stefan Metzmacher
c084ccd70f
libwbclient: add wbcCheckTrustCredentials()
...
This only accepts NULL as domain for now,
because winbindd doesn't support checking
trust passwords as a domain controller.
metze
2008-04-17 00:31:59 +02:00
Stefan Metzmacher
a4f628d6c9
wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()
...
metze
2008-04-17 00:25:00 +02:00
Stefan Metzmacher
57ba71140f
libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()
...
metze
2008-04-17 00:25:00 +02:00
Stefan Metzmacher
2b236c7ace
nsswitch: remove unused nsswitch/wb_client.c
...
metze
2008-04-11 15:59:34 +02:00
Stefan Metzmacher
364e146805
libwbclient: add wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functions
...
metze
2008-04-11 15:59:33 +02:00
Björn Jacke
cbdb79b7a1
fix some extrasemi compile warnings
2008-04-10 08:55:57 +02:00
Volker Lendecke
8b2d9ee8c5
Fix an uninitialized variable
2008-04-07 12:20:21 +02:00
Stefan Metzmacher
c78f4dc043
wbinfo: make use of wbcGetGroups()
...
metze
2008-04-06 13:42:00 +02:00
Stefan Metzmacher
596d030b97
libwbclient: add wbcGetGroups()
...
metze
2008-04-06 13:42:00 +02:00
Volker Lendecke
c274fe7d21
Fix a C++ warning
2008-04-06 12:27:16 +02:00
Volker Lendecke
18bf2b2028
Remove external refs to winbindd_fd
2008-04-06 12:27:08 +02:00
Volker Lendecke
3130fb7b32
wbcAllocateGid returns a gid_t, not a uid_t
2008-04-06 11:28:46 +02:00
Günther Deschner
3709185912
Fix pam_winbind macros.
...
Guenther
2008-04-03 17:23:22 +02:00
Günther Deschner
bf960f57e7
Use pwb_context in pam_winbind.
...
Guenther
2008-04-03 16:27:18 +02:00
Günther Deschner
d62676cf88
Add _pam_winbind_init/free_context.
...
Guenther
2008-04-03 16:27:18 +02:00
Günther Deschner
fe8acb0644
Add pwb_context to pam_winbind.h.
...
Guenther
2008-04-03 16:27:18 +02:00
Günther Deschner
ea2175ee0e
Make more functions in pam_winbind static.
...
Guenther
2008-04-03 16:27:18 +02:00
Stefan Metzmacher
9d0e5a1321
wbinfo: use wbcLookupNames()
...
metze
2008-04-03 15:49:19 +02:00
Stefan Metzmacher
046b26b763
wbinfo: use wbcLookupRids()
...
metze
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
b917be4986
wbinfo: use wbcLookupSid()
...
metze
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
ff4611832a
wbinfo: catch NULL domain string as in other places
...
metze
2008-04-03 15:49:18 +02:00
Stefan Metzmacher
ff87260f12
wbinfo: use wbcInterfaceDetails()
...
metze
2008-04-01 18:30:10 +02:00
Stefan Metzmacher
fee3806326
libwbclient: add wbcInterfaceDetails()
...
metze
2008-04-01 18:30:10 +02:00
Stefan Metzmacher
de2e8d5db9
libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macro
...
metze
2008-04-01 18:30:10 +02:00
Gerald W. Carter
b68caaa81b
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.
2008-03-31 13:40:58 -05:00
Steven Danneman
e7827bb6af
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
2008-03-31 13:40:58 -05:00
Stefan Metzmacher
960c069a23
wbinfo: use wbcAllocateGid()
...
metze
2008-03-31 12:17:37 +02:00
Stefan Metzmacher
a7d735df29
wbinfo: use wbcAllocateUid()
...
metze
2008-03-31 12:17:37 +02:00
Stefan Metzmacher
43df48bdca
wbinfo: use wbcSidToGid()
...
metze
2008-03-31 12:17:36 +02:00
Stefan Metzmacher
a25b39cac1
wbinfo: use wbcSidToUid()
...
metze
2008-03-31 12:17:36 +02:00
Stefan Metzmacher
9936d861a1
wbinfo: use wbcGitToSid()
...
metze
2008-03-31 12:17:35 +02:00
Stefan Metzmacher
4766ebf7ac
wbinfo: use wbcUidToSid()
...
metze
2008-03-31 12:17:35 +02:00
Stefan Metzmacher
9a2f0b2192
wbinfo: use wbcPing()
...
metze
2008-03-31 12:17:34 +02:00
Stefan Metzmacher
7714f92321
wbinfo: use wbcDomainInfo()
...
metze
2008-03-28 15:11:42 +01:00