summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/wbinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* wbinfo: ask wbcAuthenticateUserEx() for user info to test the more complex ↵Stefan Metzmacher2008-02-151-1/+4
| | | | | | code path metze
* wbinfo: use wbcAuthenticateUserEx()Stefan Metzmacher2008-02-131-47/+43
| | | | metze
* Remove unused marshalling for SAMR_CONNECT.Günther Deschner2008-02-051-1/+1
| | | | Guenther
* Use the proper boolean constants in wbinfo.c .Michael Adam2008-02-041-73/+73
| | | | Michael
* 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
* 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
* Finally enable pidl generated SAMR & NETLOGON headers and clients.Günther Deschner2008-01-171-2/+2
| | | | Guenther
* 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.
* 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
* 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.
* 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.
* Allocate a talloc_stackframe() in main() for wbinfo.Gerald (Jerry) Carter2007-11-211-1/+3
|
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-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.
* r25441: Make wbinfo --sequence output the sequence number if --domainMichael Adam2007-10-101-1/+8
| | | | | | is specified. Michael
* r25241: remove sequence_number out of WINBINDD_DOMAIN_INFO callStefan Metzmacher2007-10-101-2/+0
| | | | | | | as this is always answered by the winbindd parent and will most times return old sequence number values. metze
* r25152: fix headers used in wbinfo.cStefan Metzmacher2007-10-101-2/+1
| | | | metze
* r24747: Add WINBINDD_DSGETDCNAME call.Günther Deschner2007-10-101-0/+36
| | | | Guenther
* r24722: Squashed commit of the following:Gerald Carter2007-10-101-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
* r24353: Add a getpwuid lookup to wbinfo.Kai Blin2007-10-101-0/+38
| | | | | Merged from my Samba4 GSoC branch. Volker, can you check if that's done the way you thought?
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23568: Remove last traces of Heimdal KCM support (and don't misuse wbinfo ↵Günther Deschner2007-10-101-25/+4
| | | | | | | | where a torture test would be much more appropriate). Fix #4408. Guenther
* r21957: minor formatting fixHerb Lewis2007-10-101-1/+1
|
* r21399: need to zero the request and response structuresHerb Lewis2007-10-101-0/+3
|
* r21396: fix wbinfo --lookup-rids commandHerb Lewis2007-10-101-3/+18
| | | | allow detection of libbiconv if all others fail - need for FreeBSD
* r19957: Initial framework to make winbindd robustJeremy Allison2007-10-101-1/+1
| | | | | | | | against tdb corruption. Needs fleshing out (and I forgot one record type) and needs helpful suggestion from Volker to validate freelist, but should give an idea of how this will look. Jeremy.
* r18271: Big change:Gerald Carter2007-10-101-1/+1
| | | | | | | | | | | * autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in.
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-2/+104
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16823: Allow to call wbinfo --domain-info="" or --domain-info="." to get domainGünther Deschner2007-10-101-4/+7
| | | | | | info for our own domain. Guenther
* r15985: Adding "own-domain" switch to wbinfo which is handy from time to time.Günther Deschner2007-10-101-1/+17
| | | | Guenther
* r15174: Check in Ronan Waide's wbinfo -i. Thanks :-)Volker Lendecke2007-10-101-0/+40
| | | | Volker
* r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit ↵Gerald Carter2007-10-101-20/+20
| | | | winbindd server
* r14509: Attempt to fix the build on "sun1"Volker Lendecke2007-10-101-1/+3
|
* r13316: Let the carnage begin....Gerald Carter2007-10-101-14/+145
| | | | Sync with trunk as off r13315
* r13229: * fix bad comparison caught by the AIX compiler in wbinfo codeGerald Carter2007-10-101-3/+3
| | | | * update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
* r12555: Fix more load_case_table swegfaults. Arggg.Jeremy Allison2007-10-101-0/+1
| | | | | What I'd give for a global constructor... Jeremy.
* r12407: Fix returning wrong error codes and better sort out errors and stdoutGünther Deschner2007-10-101-41/+49
| | | | | | messages. Guenther
* r11960: add 'wbinfo --separator' to get the currently active winbind_separator.Günther Deschner2007-10-101-2/+19
| | | | | | Needed for KDM/GDM login masks. Guenther
* r11573: Adding Andrew Bartlett's patch to make machine accountJeremy Allison2007-10-101-0/+2
| | | | | | | | | | | | | | | | | logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes the auth module interface to 2 (from 1). The effect of this is that clients can access resources as a machine account if they set these flags. This is the same as Windows (think of a VPN where the vpn client authenticates itself to a VPN server using machine account credentials - the vpn server checks that the machine password was valid by performing a machine account check with the PDC in the same was as it would a user account check. I may add in a restriction (parameter) to allow this behaviour to be turned off (as it was previously). That may be on by default. Andrew Bartlett please review this change carefully. Jeremy.
* r11280: BUG 3201: make sure request structure is cleared prior to sending ↵Gerald Carter2007-10-101-0/+3
| | | | the request to winbindd (prevents the WB_RECURSE flags from accidentially getting set
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-1/+0
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison2007-10-101-24/+24
| | | | | | safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy
* r7415: * big change -- volker's new async winbindd from trunkGerald Carter2007-10-101-3/+80
|
* r7130: remove 'winbind enable local accounts' code from the 3.0 treeGerald Carter2007-10-101-211/+0
|
* r2762: Remove silly conversion to and from UTF8 on the winbind pipe. Fix theAndrew Bartlett2007-10-101-11/+3
| | | | | | | naming of the require_membership_of parameter in pam_winbind and fix the error code for 'you didn't specify a domain' in ntlm_auth. Andrew Bartlett
* r2755: Fix NTLMv2 for use with pam_winbind, the plaintext ntlm_auth modes,Andrew Bartlett2007-10-101-6/+47
| | | | | | | | | and the wbinfo -a test tool. If 'client ntlmv2 auth' is set, then we will send an NTLMv2, rather than an NT/LM response to the server. Andrew Bartlett
* r2340: Solve the problem of user sids ending up with gid's and vice versa: ThisVolker Lendecke2007-10-101-41/+0
| | | | | | belongs into winbind itself, not into wbinfo. Volker
* r1562: Make winbind for -S (sid->uid) and -Y (sid->gid) check whether the sidVolker Lendecke2007-10-101-0/+41
| | | | | | | | | requested actually is of type asked for. I've come across more than one installation where a group sid had ended up as a uid in idmap and vice versa. This just closes one possible for this misconfiguration, people are actually using wbinfo. Volker
* r1492: Rework our random number generation system.Andrew Bartlett2007-10-101-1/+1
| | | | | | | | | | On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett