summaryrefslogtreecommitdiffstats
path: root/nsswitch/wbinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-031-1/+0
| | | | | | | | | This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
* nsswitch: Add wbinfo --sids-to-unix-idsVolker Lendecke2011-04-131-0/+78
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* nsswitch: wbinfo --lookup-sidsVolker Lendecke2011-04-131-0/+63
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix Coverity ID 2220: RESOURCE_LEAKVolker Lendecke2011-03-301-0/+2
|
* s3: Fix Coverity ID 2221: RESOURCE_LEAKVolker Lendecke2011-03-301-0/+2
|
* s3: Fix Coverity ID 2222: RESOURCE_LEAKVolker Lendecke2011-03-301-0/+2
|
* s3: Fix Coverity ID 2223: RESOURCE_LEAKVolker Lendecke2011-03-301-0/+2
|
* wbinfo: Use wbcSidToStringBufVolker Lendecke2011-03-051-60/+14
|
* wbinfo: Fix a debug messageVolker Lendecke2011-03-051-1/+1
|
* nsswitch: wbcFreeMemory deals fine with NULLVolker Lendecke2011-03-051-18/+6
|
* Revert "wbinfo: remove --set-uid-mapping - winbindd does not implement that ↵Michael Adam2011-02-101-0/+41
| | | | | | | | any more." This reverts commit 0e90d01d53ee197a6451b7c55c2afa74e0d8b0bb. Undo the library version bump.
* Revert "wbinfo: remove --set-gid-mapping - winbindd does not implement that ↵Michael Adam2011-02-101-0/+41
| | | | | | | | any more." This reverts commit 9de1fd4352346cb71b232b7198155e157396f6ec. Undo the library version bump.
* Revert "wbinfo: remove --remove-uid-mapping - winbindd does not implement ↵Michael Adam2011-02-101-0/+42
| | | | | | | | that any more." This reverts commit 36e2baa8da3de559ce0f6c927f6262a8e4648a97. Undo the library version bump.
* Revert "wbinfo: remove --remove-gid-mapping - winbindd does not implement ↵Michael Adam2011-02-101-0/+42
| | | | | | | | that any more." This reverts commit 48ad64aa78568c4ce743345448c9d39305752d73. Undo the library version bump.
* Revert "nsswitch: remove unused code from wbinfo.c"Michael Adam2011-02-101-0/+27
| | | | | | This reverts commit 3bdd2efff8d11448275965b464ac194a2ee0d3ae. Undo the library version bump.
* nsswitch: remove unused code from wbinfo.cGünther Deschner2011-02-021-27/+0
| | | | Guenther
* wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more.Michael Adam2011-01-271-42/+0
|
* wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more.Michael Adam2011-01-271-42/+0
|
* wbinfo: remove --set-gid-mapping - winbindd does not implement that any more.Michael Adam2011-01-271-41/+0
|
* wbinfo: remove --set-uid-mapping - winbindd does not implement that any more.Michael Adam2011-01-271-41/+0
|
* s3: Add wbinfo --dc-infoVolker Lendecke2011-01-191-0/+33
| | | | | | | | | | | | | | | wbinfo --dc-info prints the current DC name and IP address. This helps diagnosing problems that might happen when a later wbinfo --ping-dc fails. This patch started out by using the SAF and NBT cache entires, but those are relatively short-lived. So I decided to invent a new gencache entry with a very long timeout. We need to go via the gencache because when for some reason a winbind child process is stuck, we can't query it for the current DC it's connected to. This must eventually go away again when we have a fully async winbind. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 19 08:40:28 CET 2011 on sn-devel-104
* s3: Add -P as an alias for --ping-dcVolker Lendecke2010-12-191-3/+2
| | | | | This is a much less intrusive version of the DC connectivity check than wbinfo -t is. Make it simple to use.
* s3: Do not directly log off after a pam_logonVolker Lendecke2010-09-131-0/+1
|
* s3: Fix wbinfo arg for --pam-logonVolker Lendecke2010-09-131-1/+1
|
* s3: Fix messsssagesVolker Lendecke2010-09-091-5/+5
|
* s3-popt: Only include popt-common.h when needed.Andreas Schneider2010-08-051-0/+1
|
* wbinfo: Fix error messagesVolker Lendecke2010-07-031-53/+53
|
* wbinfo: Document the deprecated sequence option correctly.Andreas Schneider2010-06-231-1/+1
| | | | I didn't find a way in popt to hide it.
* wbinfo: Add better libwbclient error reportingKai Blin2010-05-171-3/+101
|
* Revert "nsswitch: Fix a memleak in wbinfo"Volker Lendecke2010-04-241-2/+0
| | | | | | | This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c. This was not a memleak, it was a valgrind false positive. We store "details" in a static.
* nsswitch: Add wbinfo --pam-logonVolker Lendecke2010-04-191-0/+78
| | | | This does a wbcLogonUser with credential caching
* nsswitch: Fix a memleak in wbinfoVolker Lendecke2010-04-181-0/+2
|
* nsswitch/wbinfo: Fix the S4 header checkKai Blin2010-04-111-1/+1
|
* s3: Add wbinfo --logoffVolker Lendecke2010-04-021-0/+23
|
* s3: Remove some pointless break statementsVolker Lendecke2010-04-021-3/+0
|
* s3: Add wbinfo --ccache-saveVolker Lendecke2010-01-241-0/+46
| | | | | With this command you can give winbind your password for later use by the automatic ntlm_auth
* s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dcVolker Lendecke2009-12-211-0/+34
| | | | | | This just does a NULL RPC call through an existing NETLOGON connection. If someone knows an operation that "just works" and does not return NOT_SUPPORTED, please tell me :-)
* wbinfo: use wbcLookupDomainControllerEx for wbinfo --dsgetdcname.Günther Deschner2009-10-191-25/+18
| | | | Guenther
* nsswitch: add wbinfo -c (change trust account passwords).Günther Deschner2009-10-131-0/+39
| | | | Guenther
* wbinfo: allow to check trusts via "wbinfo -t --domain DOMAINNAME".Günther Deschner2009-10-071-5/+13
| | | | Guenther
* wbinfo: fix various valgrind warnings and an invalid free.Günther Deschner2009-09-041-7/+1
| | | | | | Kai, please check. Guenther
* wbinfo: Use one codebase for Samba3 and Samba4.Kai Blin2009-08-181-3/+7
| | | | There can be only one....wbinfo that is.
* s3 wbinfo: Only call afs_settoken_str if compiled with WITH_FAKE_KASERVERKai Blin2009-08-181-0/+8
|
* s3 wbinfo: use wbcSidTypeString instead of sid_type_lookupKai Blin2009-08-181-2/+2
|
* s3 wbinfo: Remove unused functions, use C99-typesKai Blin2009-08-181-6/+1
|
* s3 wbinfo: Explicitly include popt header, remove unused common options.Kai Blin2009-08-181-1/+5
|
* s3 wbinfo: Use talloc_strdup instead of SMB_STRDUPKai Blin2009-08-181-21/+23
|
* s3 wbinfo: Don't use global_myname()Kai Blin2009-08-181-2/+17
|
* s3 wbinfo: Avoid ADD_TO_ARRAY macro.Kai Blin2009-08-181-1/+6
|
* s3 wbinfo: Use uint32_t instead of uint32Kai Blin2009-08-181-8/+8
|