summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch/wbinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* nsswitch: Move source3 files to top level dir.Kai Blin2008-12-161-1984/+0
| | | | Don't move source4 files yet to not confuse git's rename tracking too much.
* s3: Use strtoul since id types are unsignedDan Sledz2008-12-111-2/+2
|
* Clean-up various trailing space and >80 column lines.Steven Danneman2008-11-181-4/+4
|
* Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman2008-11-181-0/+74
| | | | | | | | | | | | | | | | | The idmap_tdb backend already provides an interface to remove existing id mappings. This commit plumbs that ability up through, winbindd, libwbclient, and wbinfo. Added new winbindd command: WINBINDD_REMOVE_MAPPING Added new libwbclient interfaces: wbcRemoveUidMapping() and wbcRemoveGidMapping() Added new wbinfo options: --remove-uid-mapping --remove-gid-mapping Increased libwbclient version to 0.2 Increased winbind interface version to 20
* Added ability to set id mappings in wbinfo.Steven Danneman2008-11-181-0/+99
| | | | | | | | | | | The two new parameters are: --set-uid-mapping --set-gid-mapping These allow wbinfo to create new, or override existing id mappings in the idmap backend. These expose the exisiting ability of libwbclient and winbindd to do this, up through a command line utility.
* wbinfo --sid-to-fullnameVolker Lendecke2008-10-291-1/+41
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* wbinfo: fix dsgetdcname caller.Günther Deschner2008-10-091-3/+11
| | | | Guenther
* wbinfo: add change-user-password command.Günther Deschner2008-08-291-1/+33
| | | | | Guenther (This used to be commit e572ede9995a66ae452ab25018b8df16101a2c2a)
* wbinfo: use wbinfo_prompt_pass() everywhere.Günther Deschner2008-08-191-23/+16
| | | | | Guenther (This used to be commit 687ef28874eb311b3e3919c3a38a22e5186d4c1b)
* wbinfo: add wbinfo_prompt_pass.Günther Deschner2008-08-191-0/+27
| | | | | Guenther (This used to be commit 7cf6ed68236e7dd64657cb1087a5a687d6f59ad1)
* Remove trailing withespace from wbinfo -m which breaks gdm auth.Andreas Schneider2008-07-241-4/+5
| | | | | Signed-off-by: Andreas Schneider <anschneider@suse.de> (This used to be commit 12848e8eb91bf60551ada78e3430ee25142e366b)
* wbinfo: prompt for password when none has been given.Günther Deschner2008-05-271-1/+18
| | | | | Guenther (This used to be commit 7c1f36d84a4c5779ea86923be69e209d0c9c0943)
* 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. (This used to be 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. (This used to be commit 1cb2305fc96be0c190621f7c86c0476e4ea1fff7)
* 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 (This used to be commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
* 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 (This used to be commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)
* Convert "wbinfo -m" to use wbcListTrusts() API call.Gerald W. Carter2008-04-171-84/+50
| | | | (This used to be commit 2fbe8437efe232b6f53af6fafed5995fe7e26820)
* wbinfo: use wbcCheckTrustCredentials()Stefan Metzmacher2008-04-171-10/+12
| | | | | metze (This used to be commit 2cbe5a006a6df79c38f4aaa68d498cd6d5a34dba)
* wbinfo: use wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-171-26/+16
| | | | | metze (This used to be commit a4f628d6c9e2a5761c048e268a29e1f5daae4180)
* Fix an uninitialized variableVolker Lendecke2008-04-071-1/+1
| | | | (This used to be commit 8b2d9ee8c54ed84f83fdecf04e656dd66b622abb)
* wbinfo: make use of wbcGetGroups()Stefan Metzmacher2008-04-061-16/+12
| | | | | metze (This used to be commit c78f4dc043523842cf42f1a3fd4e8f3855518efa)
* wbinfo: use wbcLookupNames()Stefan Metzmacher2008-04-031-10/+20
| | | | | metze (This used to be commit 9d0e5a13215d4904084e81fde6098c70ee4d4636)
* wbinfo: use wbcLookupRids()Stefan Metzmacher2008-04-031-33/+40
| | | | | metze (This used to be commit 046b26b763b16362dd662a77b2434641bf583bc2)
* wbinfo: use wbcLookupSid()Stefan Metzmacher2008-04-031-12/+15
| | | | | metze (This used to be commit b917be4986bd55aeffae03b08cf476ea6302fa26)
* wbinfo: catch NULL domain string as in other placesStefan Metzmacher2008-04-031-1/+1
| | | | | metze (This used to be commit ff4611832a0b498b83590279a7153e606a4720f5)
* wbinfo: use wbcInterfaceDetails()Stefan Metzmacher2008-04-011-19/+25
| | | | | metze (This used to be commit ff87260f1268d190170608b0808c191ef8f3e942)
* 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. (This used to be commit b68caaa81bd75bb882c9363612d11d49dd73cb6f)
* 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 (This used to be commit e7827bb6afa264c12ecdc0858f49707ca3d6104f)
* wbinfo: use wbcAllocateGid()Stefan Metzmacher2008-03-311-1/+8
| | | | | metze (This used to be commit 960c069a2354e0803e2cbf22c26e1a9d0b657b79)
* wbinfo: use wbcAllocateUid()Stefan Metzmacher2008-03-311-1/+8
| | | | | metze (This used to be commit a7d735df292cee7dd6e23c7d2328481d57162904)
* wbinfo: use wbcSidToGid()Stefan Metzmacher2008-03-311-10/+12
| | | | | metze (This used to be commit 43df48bdca1a71fa44b24bb3917869f886555d9c)
* wbinfo: use wbcSidToUid()Stefan Metzmacher2008-03-311-10/+12
| | | | | metze (This used to be commit a25b39cac1716323154dd30acb30180d3273587b)
* wbinfo: use wbcGitToSid()Stefan Metzmacher2008-03-311-9/+13
| | | | | metze (This used to be commit 9936d861a1c1163ce6fd079211b50fd9b52bc05d)
* wbinfo: use wbcUidToSid()Stefan Metzmacher2008-03-311-9/+13
| | | | | metze (This used to be commit 4766ebf7ac8d33f9cd0f983ecdc54ef44959648b)
* wbinfo: use wbcPing()Stefan Metzmacher2008-03-311-7/+5
| | | | | metze (This used to be commit 9a2f0b21925e630fa9b268cedbc19cf814686b42)
* wbinfo: use wbcDomainInfo()Stefan Metzmacher2008-03-281-18/+25
| | | | | metze (This used to be commit 7714f9232110b2ee50e6ba8371f0bc23b83717a6)
* wbinfo: use wbcGetgrnam()Stefan Metzmacher2008-03-281-19/+12
| | | | | metze (This used to be commit 8945dce4a18874bdf1a57f1ff8116a66a6f699a0)
* wbinfo: use wbcListUsers() and wbcListGroups()Stefan Metzmacher2008-03-281-54/+29
| | | | | metze (This used to be commit 5a0ae1ad0c36e5ef97008a2c6bc2a921ca6538bd)
* wbinfo: use wbcLookupUserSids()Stefan Metzmacher2008-03-281-31/+45
| | | | | metze (This used to be commit ff16b66631bc93909c0e7adf9e6bb1cf1d641ffd)
* wbinfo: ask wbcAuthenticateUserEx() for user info to test the more complex ↵Stefan Metzmacher2008-02-151-1/+4
| | | | | | | code path metze (This used to be commit 432a77e0d7dbd52fd230e4ee9641b6ab4f4d3b73)
* wbinfo: use wbcAuthenticateUserEx()Stefan Metzmacher2008-02-131-47/+43
| | | | | metze (This used to be commit 923cb37837d508d5355038e95ed1ac09c5869a89)
* Remove unused marshalling for SAMR_CONNECT.Günther Deschner2008-02-051-1/+1
| | | | | Guenther (This used to be commit 3442abd26d7c86f6abd9c3ca3593ac3b1170e826)
* Use the proper boolean constants in wbinfo.c .Michael Adam2008-02-041-73/+73
| | | | | Michael (This used to be commit be57475cd1d5db60481e74000dc7d65002742376)
* 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 (This used to be commit 617928cbaeb76cf40245f95d02b48aaa0e18d69a)
* 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 (This used to be commit 3cbc7c19eba68427160e09e865edc85c7fe38413)
* Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner2008-01-171-2/+2
| | | | | Guenther (This used to be commit f7100156a7df7ac3ae84e45a47153b38d9375215)
* 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. (This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)
* 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 (This used to be commit 33cbd6903e8b468a782fb5d6913eb82824d3b347)
* 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. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* 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. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)