1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

60 Commits

Author SHA1 Message Date
Volker Lendecke
b8dc235b08 nsswitch: Add wbinfo --sids-to-unix-ids
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
69ba25948a nsswitch: wbinfo --lookup-sids
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13 14:13:25 -07:00
Volker Lendecke
40306f2247 s3: Fix Coverity ID 2220: RESOURCE_LEAK 2011-03-30 09:58:35 +02:00
Volker Lendecke
a56eb9b887 s3: Fix Coverity ID 2221: RESOURCE_LEAK 2011-03-30 09:58:35 +02:00
Volker Lendecke
9a97a8307c s3: Fix Coverity ID 2222: RESOURCE_LEAK 2011-03-30 09:58:35 +02:00
Volker Lendecke
12bf847058 s3: Fix Coverity ID 2223: RESOURCE_LEAK 2011-03-30 09:58:35 +02:00
Volker Lendecke
85ee3360e1 wbinfo: Use wbcSidToStringBuf 2011-03-05 14:29:33 +01:00
Volker Lendecke
d34092e919 wbinfo: Fix a debug message 2011-03-05 14:29:33 +01:00
Volker Lendecke
181b23ceed nsswitch: wbcFreeMemory deals fine with NULL 2011-03-05 14:29:32 +01:00
Michael Adam
4242d633d8 Revert "wbinfo: remove --set-uid-mapping - winbindd does not implement that any more."
This reverts commit 0e90d01d53.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
70ebfc16b4 Revert "wbinfo: remove --set-gid-mapping - winbindd does not implement that any more."
This reverts commit 9de1fd4352.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
71ce276c12 Revert "wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more."
This reverts commit 36e2baa8da.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
1ea1043f8d Revert "wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more."
This reverts commit 48ad64aa78.

Undo the library version bump.
2011-02-10 13:57:32 +01:00
Michael Adam
76ea4fd03a Revert "nsswitch: remove unused code from wbinfo.c"
This reverts commit 3bdd2efff8.

Undo the library version bump.
2011-02-10 13:57:31 +01:00
Günther Deschner
3bdd2efff8 nsswitch: remove unused code from wbinfo.c
Guenther
2011-02-02 14:59:19 +01:00
Michael Adam
48ad64aa78 wbinfo: remove --remove-gid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:49 +01:00
Michael Adam
36e2baa8da wbinfo: remove --remove-uid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:49 +01:00
Michael Adam
9de1fd4352 wbinfo: remove --set-gid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:49 +01:00
Michael Adam
0e90d01d53 wbinfo: remove --set-uid-mapping - winbindd does not implement that any more. 2011-01-27 21:43:48 +01:00
Volker Lendecke
7f87d58900 s3: Add wbinfo --dc-info
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
2011-01-19 08:40:28 +01:00
Volker Lendecke
af4a5f4c13 s3: Add -P as an alias for --ping-dc
This is a much less intrusive version of the DC connectivity check
than wbinfo -t is. Make it simple to use.
2010-12-19 23:25:06 +01:00
Volker Lendecke
4dcd5ac442 s3: Do not directly log off after a pam_logon 2010-09-13 10:05:42 -07:00
Volker Lendecke
2ef4acb2bd s3: Fix wbinfo arg for --pam-logon 2010-09-13 10:05:41 -07:00
Volker Lendecke
7277c9e5ad s3: Fix messsssages 2010-09-09 14:59:07 -07:00
Andreas Schneider
ce2a086119 s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
Volker Lendecke
e17ce247a3 wbinfo: Fix error messages 2010-07-03 22:42:52 +02:00
Andreas Schneider
790d01cb2e wbinfo: Document the deprecated sequence option correctly.
I didn't find a way in popt to hide it.
2010-06-23 11:01:58 +02:00
Kai Blin
765e9c7c67 wbinfo: Add better libwbclient error reporting 2010-05-17 10:50:45 +02:00
Volker Lendecke
4c7cc8bb63 Revert "nsswitch: Fix a memleak in wbinfo"
This reverts commit a97f2a0a9c.

This was not a memleak, it was a valgrind false positive. We store "details" in
a static.
2010-04-24 12:41:47 +02:00
Volker Lendecke
c04ce964e9 nsswitch: Add wbinfo --pam-logon
This does a wbcLogonUser with credential caching
2010-04-19 14:27:24 +02:00
Volker Lendecke
a97f2a0a9c nsswitch: Fix a memleak in wbinfo 2010-04-18 15:25:02 +02:00
Kai Blin
da7294ae0d nsswitch/wbinfo: Fix the S4 header check 2010-04-11 22:39:27 +02:00
Volker Lendecke
c1ccbfba21 s3: Add wbinfo --logoff 2010-04-02 20:45:09 +02:00
Volker Lendecke
c97d279037 s3: Remove some pointless break statements 2010-04-02 20:45:09 +02:00
Volker Lendecke
7d18d058a1 s3: Add wbinfo --ccache-save
With this command you can give winbind your password for later use by
the automatic ntlm_auth
2010-01-24 20:32:16 +01:00
Volker Lendecke
9b6b01aab6 s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
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-12-21 23:23:52 +01:00
Günther Deschner
10bd521849 wbinfo: use wbcLookupDomainControllerEx for wbinfo --dsgetdcname.
Guenther
2009-10-19 18:44:51 +02:00
Günther Deschner
0a468fbe36 nsswitch: add wbinfo -c (change trust account passwords).
Guenther
2009-10-13 12:42:44 +02:00
Günther Deschner
7b3501200c wbinfo: allow to check trusts via "wbinfo -t --domain DOMAINNAME".
Guenther
2009-10-07 11:18:11 +02:00
Günther Deschner
b35c627b92 wbinfo: fix various valgrind warnings and an invalid free.
Kai, please check.

Guenther
2009-09-04 00:04:49 +02:00
Kai Blin
bc0e0a4c69 wbinfo: Use one codebase for Samba3 and Samba4.
There can be only one....wbinfo that is.
2009-08-18 20:26:05 +02:00
Kai Blin
19855ca2bb s3 wbinfo: Only call afs_settoken_str if compiled with WITH_FAKE_KASERVER 2009-08-18 19:53:41 +02:00
Kai Blin
182c667b17 s3 wbinfo: use wbcSidTypeString instead of sid_type_lookup 2009-08-18 19:53:41 +02:00
Kai Blin
afb8f8eaa5 s3 wbinfo: Remove unused functions, use C99-types 2009-08-18 19:53:40 +02:00
Kai Blin
ab818cdf8b s3 wbinfo: Explicitly include popt header, remove unused common options. 2009-08-18 19:53:40 +02:00
Kai Blin
6d4fd3e0a2 s3 wbinfo: Use talloc_strdup instead of SMB_STRDUP 2009-08-18 19:53:40 +02:00
Kai Blin
0dae6f541f s3 wbinfo: Don't use global_myname() 2009-08-18 19:53:39 +02:00
Kai Blin
b6ea2ece09 s3 wbinfo: Avoid ADD_TO_ARRAY macro. 2009-08-18 19:53:39 +02:00
Kai Blin
90b6e41b83 s3 wbinfo: Use uint32_t instead of uint32 2009-08-18 19:53:39 +02:00
Kai Blin
fa7d7a49b8 s3 wbinfo: remove --get-auth-user and --set-auth-user functionality
Point to the corresponding commands in "net" instead.
2009-08-18 19:53:38 +02:00