summaryrefslogtreecommitdiff
path: root/nsswitch/wbinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-10Revert "wbinfo: remove --set-uid-mapping - winbindd does not implement that ↵Michael Adam1-0/+41
any more." This reverts commit 0e90d01d53ee197a6451b7c55c2afa74e0d8b0bb. Undo the library version bump.
2011-02-10Revert "wbinfo: remove --set-gid-mapping - winbindd does not implement that ↵Michael Adam1-0/+41
any more." This reverts commit 9de1fd4352346cb71b232b7198155e157396f6ec. Undo the library version bump.
2011-02-10Revert "wbinfo: remove --remove-uid-mapping - winbindd does not implement ↵Michael Adam1-0/+42
that any more." This reverts commit 36e2baa8da3de559ce0f6c927f6262a8e4648a97. Undo the library version bump.
2011-02-10Revert "wbinfo: remove --remove-gid-mapping - winbindd does not implement ↵Michael Adam1-0/+42
that any more." This reverts commit 48ad64aa78568c4ce743345448c9d39305752d73. Undo the library version bump.
2011-02-10Revert "nsswitch: remove unused code from wbinfo.c"Michael Adam1-0/+27
This reverts commit 3bdd2efff8d11448275965b464ac194a2ee0d3ae. Undo the library version bump.
2011-02-02nsswitch: remove unused code from wbinfo.cGünther Deschner1-27/+0
Guenther
2011-01-27wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more.Michael Adam1-42/+0
2011-01-27wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more.Michael Adam1-42/+0
2011-01-27wbinfo: remove --set-gid-mapping - winbindd does not implement that any more.Michael Adam1-41/+0
2011-01-27wbinfo: remove --set-uid-mapping - winbindd does not implement that any more.Michael Adam1-41/+0
2011-01-19s3: Add wbinfo --dc-infoVolker Lendecke1-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
2010-12-19s3: Add -P as an alias for --ping-dcVolker Lendecke1-3/+2
This is a much less intrusive version of the DC connectivity check than wbinfo -t is. Make it simple to use.
2010-09-13s3: Do not directly log off after a pam_logonVolker Lendecke1-0/+1
2010-09-13s3: Fix wbinfo arg for --pam-logonVolker Lendecke1-1/+1
2010-09-09s3: Fix messsssagesVolker Lendecke1-5/+5
2010-08-05s3-popt: Only include popt-common.h when needed.Andreas Schneider1-0/+1
2010-07-03wbinfo: Fix error messagesVolker Lendecke1-53/+53
2010-06-23wbinfo: Document the deprecated sequence option correctly.Andreas Schneider1-1/+1
I didn't find a way in popt to hide it.
2010-05-17wbinfo: Add better libwbclient error reportingKai Blin1-3/+101
2010-04-24Revert "nsswitch: Fix a memleak in wbinfo"Volker Lendecke1-2/+0
This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c. This was not a memleak, it was a valgrind false positive. We store "details" in a static.
2010-04-19nsswitch: Add wbinfo --pam-logonVolker Lendecke1-0/+78
This does a wbcLogonUser with credential caching
2010-04-18nsswitch: Fix a memleak in wbinfoVolker Lendecke1-0/+2
2010-04-11nsswitch/wbinfo: Fix the S4 header checkKai Blin1-1/+1
2010-04-02s3: Add wbinfo --logoffVolker Lendecke1-0/+23
2010-04-02s3: Remove some pointless break statementsVolker Lendecke1-3/+0
2010-01-24s3: Add wbinfo --ccache-saveVolker Lendecke1-0/+46
With this command you can give winbind your password for later use by the automatic ntlm_auth
2009-12-21s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dcVolker Lendecke1-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 :-)
2009-10-19wbinfo: use wbcLookupDomainControllerEx for wbinfo --dsgetdcname.Günther Deschner1-25/+18
Guenther
2009-10-13nsswitch: add wbinfo -c (change trust account passwords).Günther Deschner1-0/+39
Guenther
2009-10-07wbinfo: allow to check trusts via "wbinfo -t --domain DOMAINNAME".Günther Deschner1-5/+13
Guenther
2009-09-04wbinfo: fix various valgrind warnings and an invalid free.Günther Deschner1-7/+1
Kai, please check. Guenther
2009-08-18wbinfo: Use one codebase for Samba3 and Samba4.Kai Blin1-3/+7
There can be only one....wbinfo that is.
2009-08-18s3 wbinfo: Only call afs_settoken_str if compiled with WITH_FAKE_KASERVERKai Blin1-0/+8
2009-08-18s3 wbinfo: use wbcSidTypeString instead of sid_type_lookupKai Blin1-2/+2
2009-08-18s3 wbinfo: Remove unused functions, use C99-typesKai Blin1-6/+1
2009-08-18s3 wbinfo: Explicitly include popt header, remove unused common options.Kai Blin1-1/+5
2009-08-18s3 wbinfo: Use talloc_strdup instead of SMB_STRDUPKai Blin1-21/+23
2009-08-18s3 wbinfo: Don't use global_myname()Kai Blin1-2/+17
2009-08-18s3 wbinfo: Avoid ADD_TO_ARRAY macro.Kai Blin1-1/+6
2009-08-18s3 wbinfo: Use uint32_t instead of uint32Kai Blin1-8/+8
2009-08-18s3 wbinfo: remove --get-auth-user and --set-auth-user functionalityKai Blin1-89/+6
Point to the corresponding commands in "net" instead.
2009-08-18s3 wbinfo: Get rid of lp_ functionsKai Blin1-100/+158
This commit also fixes a lot of line lengths to make the file more readable.
2009-08-08Make wbinfo also print the members when querying a groupVolker Lendecke1-2/+18
2009-06-18wbinfo: use wbcLogonUser for wbinfo -K.Günther Deschner1-35/+76
Guenther
2009-05-22s3: Fix request flags in wbinfo when perform krb5 authenticationBo Yang1-1/+2
Signed-off-by: Bo Yang <boyang@samba.org>
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison1-19/+23
Should make Solaris 10 builds look cleaner. Jeremy.
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-3/+4
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-02-11s3: Implement wbcGetSidAliasesDan Sledz1-0/+67
* Adds wbcGetSidAliases that calls the lookup_useraliases function. * Updates wbinfo and winbind_util.c to call the new function. * Also added winbind_get_groups helper function.
2009-02-11s3: Implement wbcGetpwsidDan Sledz1-0/+34
* Adds the plumbing required to lookup users by sid into winbind, wbinfo and smbd helper lib (winbind_util.c). * Removes some double declarations of winbind_util.c functions. * Bumps the winbind protocol version to 21 and the minor version of wbclient to 3.
2008-12-29wbinfo: Add --gid-info option.Kai Blin1-0/+30