summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/wbinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing withespace from wbinfo -m which breaks gdm auth.Andreas Schneider2008-07-251-4/+5
| | | | | Signed-off-by: Andreas Schneider <anschneider@suse.de> (cherry picked from commit cdf10e6ee9faff42693bb39ede535cc6611a8fc9)
* cleanup some dup code by passing the password to the wbinfo_auth*Herb Lewis2008-07-161-46/+25
| | | | | functions (cherry picked from commit 710d42d0b7de44fb684edf7412bfb4a48c3daf07)
* libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam2008-04-231-1/+1
| | | | | | | | | | char ** Fix a compile warning. This seems the right thing since the data is created by talloc_strdup... Michael (cherry picked from commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
* libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam2008-04-231-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 (cherry picked from commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)
* 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. (cherry picked from commit 59cfba2c3d6d4594f08cbe3b7295ab36a7cfb044)
* 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. (cherry picked from commit 1cb2305fc96be0c190621f7c86c0476e4ea1fff7)
* Convert "wbinfo -m" to use wbcListTrusts() API call.Gerald W. Carter2008-04-231-84/+50
| | | | (cherry picked from commit 2fbe8437efe232b6f53af6fafed5995fe7e26820)
* wbinfo: use wbcCheckTrustCredentials()Stefan Metzmacher2008-04-211-10/+12
| | | | | metze (cherry picked from commit 2cbe5a006a6df79c38f4aaa68d498cd6d5a34dba)
* wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-211-26/+16
| | | | | metze (cherry picked from commit a4f628d6c9e2a5761c048e268a29e1f5daae4180)
* Fix an uninitialized variableVolker Lendecke2008-04-121-1/+1
| | | | (cherry picked from commit 8b2d9ee8c54ed84f83fdecf04e656dd66b622abb)
* wbinfo: make use of wbcGetGroups()Stefan Metzmacher2008-04-121-16/+12
| | | | | metze (cherry picked from commit c78f4dc043523842cf42f1a3fd4e8f3855518efa)
* wbinfo: use wbcLookupNames()Stefan Metzmacher2008-04-121-10/+20
| | | | | metze (cherry picked from commit 9d0e5a13215d4904084e81fde6098c70ee4d4636)
* wbinfo: use wbcLookupRids()Stefan Metzmacher2008-04-121-33/+40
| | | | | metze (cherry picked from commit 046b26b763b16362dd662a77b2434641bf583bc2)
* wbinfo: use wbcLookupSid()Stefan Metzmacher2008-04-121-12/+15
| | | | | metze (cherry picked from commit b917be4986bd55aeffae03b08cf476ea6302fa26)
* wbinfo: catch NULL domain string as in other placesStefan Metzmacher2008-04-121-1/+1
| | | | | metze (cherry picked from commit ff4611832a0b498b83590279a7153e606a4720f5)
* wbinfo: use wbcInterfaceDetails()Stefan Metzmacher2008-04-121-19/+25
| | | | | metze (cherry picked from commit ff87260f1268d190170608b0808c191ef8f3e942)
* wbinfo: use wbcAllocateGid()Stefan Metzmacher2008-04-121-1/+8
| | | | | metze (cherry picked from commit 960c069a2354e0803e2cbf22c26e1a9d0b657b79)
* wbinfo: use wbcAllocateUid()Stefan Metzmacher2008-04-121-1/+8
| | | | | metze (cherry picked from commit a7d735df292cee7dd6e23c7d2328481d57162904)
* wbinfo: use wbcSidToGid()Stefan Metzmacher2008-04-121-10/+12
| | | | | metze (cherry picked from commit 43df48bdca1a71fa44b24bb3917869f886555d9c)
* wbinfo: use wbcSidToUid()Stefan Metzmacher2008-04-121-10/+12
| | | | | metze (cherry picked from commit a25b39cac1716323154dd30acb30180d3273587b)
* wbinfo: use wbcGitToSid()Stefan Metzmacher2008-04-121-9/+13
| | | | | metze (cherry picked from commit 9936d861a1c1163ce6fd079211b50fd9b52bc05d)
* wbinfo: use wbcUidToSid()Stefan Metzmacher2008-04-121-9/+13
| | | | | metze (cherry picked from commit 4766ebf7ac8d33f9cd0f983ecdc54ef44959648b)
* wbinfo: use wbcPing()Stefan Metzmacher2008-04-121-7/+5
| | | | | metze (cherry picked from commit 9a2f0b21925e630fa9b268cedbc19cf814686b42)
* wbinfo: use wbcDomainInfo()Stefan Metzmacher2008-04-121-18/+25
| | | | | metze (cherry picked from commit 7714f9232110b2ee50e6ba8371f0bc23b83717a6)
* wbinfo: use wbcGetgrnam()Stefan Metzmacher2008-04-121-19/+12
| | | | | metze (cherry picked from commit 8945dce4a18874bdf1a57f1ff8116a66a6f699a0)
* wbinfo: use wbcListUsers() and wbcListGroups()Stefan Metzmacher2008-04-121-54/+29
| | | | | metze (cherry picked from commit 5a0ae1ad0c36e5ef97008a2c6bc2a921ca6538bd)
* wbinfo: use wbcLookupUserSids()Stefan Metzmacher2008-04-121-31/+45
| | | | | metze (cherry picked from commit ff16b66631bc93909c0e7adf9e6bb1cf1d641ffd)
* DIsplay the short domain name in "wbinfo -m " by default.Gerald W. Carter2008-04-011-10/+16
| | | | | | This fixes wbinfo -m to make preexisting behavior. Also adds the dns domain to the --verbose output. (cherry picked from commit b68caaa81bd75bb882c9363612d11d49dd73cb6f)
* Augmented "wbinfo -m" to list additional information about the type, ↵Steven Danneman2008-04-011-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 (cherry picked from commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
* 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
* r24353: Add a getpwuid lookup to wbinfo.Kai Blin2007-10-101-0/+38
| | | | | Merged from my Samba4 GSoC branch. Volker, can you check if that's done the way you thought?
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.