summaryrefslogtreecommitdiff
path: root/source3/nsswitch/wbinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2008-07-24Remove trailing withespace from wbinfo -m which breaks gdm auth.Andreas Schneider1-4/+5
Signed-off-by: Andreas Schneider <anschneider@suse.de> (This used to be commit 12848e8eb91bf60551ada78e3430ee25142e366b)
2008-05-27wbinfo: prompt for password when none has been given.Günther Deschner1-1/+18
Guenther (This used to be commit 7c1f36d84a4c5779ea86923be69e209d0c9c0943)
2008-04-23Mark a domain offline in the wbcDomainInfo structure using the domain_flags.Gerald W. Carter1-23/+35
Use the existing domain_flags fiueld in wbcDomainInfo to set a bit if the domain is marked as offline by Winbind. (This used to be commit 59cfba2c3d6d4594f08cbe3b7295ab36a7cfb044)
2008-04-23Rename WBC_DOMAIN_XXX domain flags to WBC_DOMINFO_DOMAIN_XXXGerald W. Carter1-3/+3
Better consistency with the othre classes of WBC_DOMINDO_XXX_YYYY flags. (This used to be commit 1cb2305fc96be0c190621f7c86c0476e4ea1fff7)
2008-04-20libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam1-1/+1
char ** Fix a compile warning. This seems the right thing since the data is created by talloc_strdup... Michael (This used to be commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
2008-04-20libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam1-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 (This used to be commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)
2008-04-17Convert "wbinfo -m" to use wbcListTrusts() API call.Gerald W. Carter1-84/+50
(This used to be commit 2fbe8437efe232b6f53af6fafed5995fe7e26820)
2008-04-17wbinfo: use wbcCheckTrustCredentials()Stefan Metzmacher1-10/+12
metze (This used to be commit 2cbe5a006a6df79c38f4aaa68d498cd6d5a34dba)
2008-04-17wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher1-26/+16
metze (This used to be commit a4f628d6c9e2a5761c048e268a29e1f5daae4180)
2008-04-07Fix an uninitialized variableVolker Lendecke1-1/+1
(This used to be commit 8b2d9ee8c54ed84f83fdecf04e656dd66b622abb)
2008-04-06wbinfo: make use of wbcGetGroups()Stefan Metzmacher1-16/+12
metze (This used to be commit c78f4dc043523842cf42f1a3fd4e8f3855518efa)
2008-04-03wbinfo: use wbcLookupNames()Stefan Metzmacher1-10/+20
metze (This used to be commit 9d0e5a13215d4904084e81fde6098c70ee4d4636)
2008-04-03wbinfo: use wbcLookupRids()Stefan Metzmacher1-33/+40
metze (This used to be commit 046b26b763b16362dd662a77b2434641bf583bc2)
2008-04-03wbinfo: use wbcLookupSid()Stefan Metzmacher1-12/+15
metze (This used to be commit b917be4986bd55aeffae03b08cf476ea6302fa26)
2008-04-03wbinfo: catch NULL domain string as in other placesStefan Metzmacher1-1/+1
metze (This used to be commit ff4611832a0b498b83590279a7153e606a4720f5)
2008-04-01wbinfo: use wbcInterfaceDetails()Stefan Metzmacher1-19/+25
metze (This used to be commit ff87260f1268d190170608b0808c191ef8f3e942)
2008-03-31DIsplay the short domain name in "wbinfo -m " by default.Gerald W. Carter1-10/+16
This fixes wbinfo -m to make preexisting behavior. Also adds the dns domain to the --verbose output. (This used to be commit b68caaa81bd75bb882c9363612d11d49dd73cb6f)
2008-03-31Augmented "wbinfo -m" to list additional information about the type, ↵Steven Danneman1-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 (This used to be commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
2008-03-31wbinfo: use wbcAllocateGid()Stefan Metzmacher1-1/+8
metze (This used to be commit 960c069a2354e0803e2cbf22c26e1a9d0b657b79)
2008-03-31wbinfo: use wbcAllocateUid()Stefan Metzmacher1-1/+8
metze (This used to be commit a7d735df292cee7dd6e23c7d2328481d57162904)
2008-03-31wbinfo: use wbcSidToGid()Stefan Metzmacher1-10/+12
metze (This used to be commit 43df48bdca1a71fa44b24bb3917869f886555d9c)
2008-03-31wbinfo: use wbcSidToUid()Stefan Metzmacher1-10/+12
metze (This used to be commit a25b39cac1716323154dd30acb30180d3273587b)
2008-03-31wbinfo: use wbcGitToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 9936d861a1c1163ce6fd079211b50fd9b52bc05d)
2008-03-31wbinfo: use wbcUidToSid()Stefan Metzmacher1-9/+13
metze (This used to be commit 4766ebf7ac8d33f9cd0f983ecdc54ef44959648b)
2008-03-31wbinfo: use wbcPing()Stefan Metzmacher1-7/+5
metze (This used to be commit 9a2f0b21925e630fa9b268cedbc19cf814686b42)
2008-03-28wbinfo: use wbcDomainInfo()Stefan Metzmacher1-18/+25
metze (This used to be commit 7714f9232110b2ee50e6ba8371f0bc23b83717a6)
2008-03-28wbinfo: use wbcGetgrnam()Stefan Metzmacher1-19/+12
metze (This used to be commit 8945dce4a18874bdf1a57f1ff8116a66a6f699a0)
2008-03-28wbinfo: use wbcListUsers() and wbcListGroups()Stefan Metzmacher1-54/+29
metze (This used to be commit 5a0ae1ad0c36e5ef97008a2c6bc2a921ca6538bd)
2008-03-28wbinfo: use wbcLookupUserSids()Stefan Metzmacher1-31/+45
metze (This used to be commit ff16b66631bc93909c0e7adf9e6bb1cf1d641ffd)
2008-02-15wbinfo: ask wbcAuthenticateUserEx() for user info to test the more complex ↵Stefan Metzmacher1-1/+4
code path metze (This used to be commit 432a77e0d7dbd52fd230e4ee9641b6ab4f4d3b73)
2008-02-13wbinfo: use wbcAuthenticateUserEx()Stefan Metzmacher1-47/+43
metze (This used to be commit 923cb37837d508d5355038e95ed1ac09c5869a89)
2008-02-05Remove unused marshalling for SAMR_CONNECT.Günther Deschner1-1/+1
Guenther (This used to be commit 3442abd26d7c86f6abd9c3ca3593ac3b1170e826)
2008-02-04Use the proper boolean constants in wbinfo.c .Michael Adam1-73/+73
Michael (This used to be commit be57475cd1d5db60481e74000dc7d65002742376)
2008-02-04Reformatting: Fix spacing in wbinfo.c .Michael Adam1-86/+85
This fixes mixed tabs/spaces and trailing whitespaces I just ran across. Michael (This used to be commit 617928cbaeb76cf40245f95d02b48aaa0e18d69a)
2008-02-04Prevent a segfault when "wbinfo -a" is called without password.Michael Adam1-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 (This used to be commit 3cbc7c19eba68427160e09e865edc85c7fe38413)
2008-01-17Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner1-2/+2
Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
2007-12-21De-couple smbd from staticly linking against winbindd client files.Gerald (Jerry) Carter1-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. (This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)
2007-12-14wbinfo: use POPT_COMMON_CONFIGFILEStefan Metzmacher1-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 (This used to be commit 33cbd6903e8b468a782fb5d6913eb82824d3b347)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-2/+2
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison1-12/+21
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-11-21Allocate a talloc_stackframe() in main() for wbinfo.Gerald (Jerry) Carter1-1/+3
(This used to be commit 30c9e3557bf4ca0b85e15bd7cc883391aec42f1f)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25441: Make wbinfo --sequence output the sequence number if --domainMichael Adam1-1/+8
is specified. Michael (This used to be commit b0f59f18bc8e95a98ee44fcc751f3af4e96d5924)
2007-10-10r25241: remove sequence_number out of WINBINDD_DOMAIN_INFO callStefan Metzmacher1-2/+0
as this is always answered by the winbindd parent and will most times return old sequence number values. metze (This used to be commit 9caf54c868e8c0109730860e772c9cc404e2f899)
2007-10-10r25152: fix headers used in wbinfo.cStefan Metzmacher1-2/+1
metze (This used to be commit 2a794db3c548330d477497aa66245845486d9888)
2007-10-10r24747: Add WINBINDD_DSGETDCNAME call.Günther Deschner1-0/+36
Guenther (This used to be commit 429496a4ccb5c4f4eda11f1b522629889b972c71)
2007-10-10r24722: Squashed commit of the following:Gerald Carter1-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 (This used to be commit 98fb5bcd5702d5086bdf9b58105a67efb90950f4)
2007-10-10r24353: Add a getpwuid lookup to wbinfo.Kai Blin1-0/+38
Merged from my Samba4 GSoC branch. Volker, can you check if that's done the way you thought? (This used to be commit f8560ea66ce522ff11d16f0e36e10853fe2639d7)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)