summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/wbinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* wbinfo: add change-user-password command.Günther Deschner2008-08-291-1/+33
| | | | Guenther
* wbinfo: use wbinfo_prompt_pass() everywhere.Günther Deschner2008-08-191-23/+16
| | | | Guenther
* wbinfo: add wbinfo_prompt_pass.Günther Deschner2008-08-191-0/+27
| | | | Guenther
* Remove trailing withespace from wbinfo -m which breaks gdm auth.Andreas Schneider2008-07-241-4/+5
| | | | Signed-off-by: Andreas Schneider <anschneider@suse.de>
* wbinfo: prompt for password when none has been given.Günther Deschner2008-05-271-1/+18
| | | | Guenther
* Mark a domain offline in the wbcDomainInfo structure using the domain_flags.Gerald W. Carter2008-04-231-23/+35
| | | | | Use the existing domain_flags fiueld in wbcDomainInfo to set a bit if the domain is marked as offline by Winbind.
* Rename WBC_DOMAIN_XXX domain flags to WBC_DOMINFO_DOMAIN_XXXGerald W. Carter2008-04-231-3/+3
| | | | Better consistency with the othre classes of WBC_DOMINDO_XXX_YYYY flags.
* libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam2008-04-201-1/+1
| | | | | | | | | char ** Fix a compile warning. This seems the right thing since the data is created by talloc_strdup... Michael
* libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam2008-04-201-1/+1
| | | | | | | 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
* Convert "wbinfo -m" to use wbcListTrusts() API call.Gerald W. Carter2008-04-171-84/+50
|
* wbinfo: use wbcCheckTrustCredentials()Stefan Metzmacher2008-04-171-10/+12
| | | | metze
* wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-171-26/+16
| | | | metze
* Fix an uninitialized variableVolker Lendecke2008-04-071-1/+1
|
* wbinfo: make use of wbcGetGroups()Stefan Metzmacher2008-04-061-16/+12
| | | | metze
* wbinfo: use wbcLookupNames()Stefan Metzmacher2008-04-031-10/+20
| | | | metze
* wbinfo: use wbcLookupRids()Stefan Metzmacher2008-04-031-33/+40
| | | | metze
* wbinfo: use wbcLookupSid()Stefan Metzmacher2008-04-031-12/+15
| | | | metze
* wbinfo: catch NULL domain string as in other placesStefan Metzmacher2008-04-031-1/+1
| | | | metze
* wbinfo: use wbcInterfaceDetails()Stefan Metzmacher2008-04-011-19/+25
| | | | metze
* DIsplay the short domain name in "wbinfo -m " by default.Gerald W. Carter2008-03-311-10/+16
| | | | | This fixes wbinfo -m to make preexisting behavior. Also adds the dns domain to the --verbose output.
* Augmented "wbinfo -m" to list additional information about the type, ↵Steven Danneman2008-03-311-15/+78
| | | | | | | | | | | | | | | | | | 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
* wbinfo: use wbcAllocateGid()Stefan Metzmacher2008-03-311-1/+8
| | | | metze
* wbinfo: use wbcAllocateUid()Stefan Metzmacher2008-03-311-1/+8
| | | | metze
* wbinfo: use wbcSidToGid()Stefan Metzmacher2008-03-311-10/+12
| | | | metze
* wbinfo: use wbcSidToUid()Stefan Metzmacher2008-03-311-10/+12
| | | | metze
* wbinfo: use wbcGitToSid()Stefan Metzmacher2008-03-311-9/+13
| | | | metze
* wbinfo: use wbcUidToSid()Stefan Metzmacher2008-03-311-9/+13
| | | | metze
* wbinfo: use wbcPing()Stefan Metzmacher2008-03-311-7/+5
| | | | metze
* wbinfo: use wbcDomainInfo()Stefan Metzmacher2008-03-281-18/+25
| | | | metze
* wbinfo: use wbcGetgrnam()Stefan Metzmacher2008-03-281-19/+12
| | | | metze
* wbinfo: use wbcListUsers() and wbcListGroups()Stefan Metzmacher2008-03-281-54/+29
| | | | metze
* wbinfo: use wbcLookupUserSids()Stefan Metzmacher2008-03-281-31/+45
| | | | metze
* wbinfo: ask wbcAuthenticateUserEx() for user info to test the more complex ↵Stefan Metzmacher2008-02-151-1/+4
| | | | | | code path metze
* wbinfo: use wbcAuthenticateUserEx()Stefan Metzmacher2008-02-131-47/+43
| | | | metze
* Remove unused marshalling for SAMR_CONNECT.Günther Deschner2008-02-051-1/+1
| | | | Guenther
* Use the proper boolean constants in wbinfo.c .Michael Adam2008-02-041-73/+73
| | | | Michael
* Reformatting: Fix spacing in wbinfo.c .Michael Adam2008-02-041-86/+85
| | | | | | | This fixes mixed tabs/spaces and trailing whitespaces I just ran across. Michael
* Prevent a segfault when "wbinfo -a" is called without password.Michael Adam2008-02-041-1/+3
| | | | | | | | wbcAuthenticateUser segfaults when passed NULL as password. This only changes the caller in wbinfo.c to pass an empty password string to wbcAuthenticateUser(). Michael
* Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner2008-01-171-2/+2
| | | | Guenther
* De-couple smbd from staticly linking against winbindd client files.Gerald (Jerry) Carter2007-12-211-75/+63
| | | | | | | | Implements a wrapper layer in winbind_util.c which are just stubs if compiled --without-winbind. When building with winbindd, it is now required to build the libwbclient DSO first (in the Makefile) and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the library PATH.
* wbinfo: use POPT_COMMON_CONFIGFILEStefan Metzmacher2007-12-141-10/+12
| | | | | | | | | We can't use POPT_COMMON_SAMBA as the -s option is already used by -s, --sid-to-name=SID. Also load the config file after processing the cmdline options metze
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-2/+2
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2007-12-071-12/+21
| | | | | No more temptations to use static length strings. Jeremy.
* Allocate a talloc_stackframe() in main() for wbinfo.Gerald (Jerry) Carter2007-11-211-1/+3
|
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-36/+36
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r25441: Make wbinfo --sequence output the sequence number if --domainMichael Adam2007-10-101-1/+8
| | | | | | is specified. Michael
* r25241: remove sequence_number out of WINBINDD_DOMAIN_INFO callStefan Metzmacher2007-10-101-2/+0
| | | | | | | as this is always answered by the winbindd parent and will most times return old sequence number values. metze
* r25152: fix headers used in wbinfo.cStefan Metzmacher2007-10-101-2/+1
| | | | metze
* r24747: Add WINBINDD_DSGETDCNAME call.Günther Deschner2007-10-101-0/+36
| | | | Guenther
* r24722: Squashed commit of the following:Gerald Carter2007-10-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit fb52f971986dd298abbcd9745ddf702820ce0184 Author: Gerald Carter <coffeedude@plainjoe.org> Date: Mon Aug 27 13:50:26 2007 -0500 Check correct return type for pam_winbind_request_log() wnibind_upn_to_username which is an int and not NSS_STATUS. commit 7382edf6fc0fe555df89d5b2a94d12b35049b279 Author: Gerald Carter <coffeedude@plainjoe.org> Date: Mon Aug 27 13:30:26 2007 -0500 Allow wbinfo -n to convert a UPN to a SID commit 8266c0fe1ccf2141e5a983f3213356419e626dda Author: Gerald Carter <coffeedude@plainjoe.org> Date: Fri Aug 3 09:53:16 2007 -0500 Merge some of Guenther UPN work for pam_winbind.c (check the winbind separator and better pam logging when converting a upn to a username). commit 15156c17bc81dbcadf32757015c4e5158823bf3f Author: Gerald Carter <coffeedude@plainjoe.org> Date: Fri Aug 3 08:52:50 2007 -0500 Include Universal groups from the cached PAC/SamLogon info when generating the list of domain group SIDs for a user's token. commit 979053c0307b051954261d539445102c55f309c7 Author: Gerald Carter <coffeedude@plainjoe.org> Date: Thu Aug 2 17:35:41 2007 -0500 merge upnlogon patch from my tree