summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_pam.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-17s3: go straight to winbindd_dual_pam_auth() in case of !NT_STATUS_OKLars Müller1-1/+1
At the formerly used process_result statement we have alone one NT_STATUS_IS_OK() which never could be hit in our case as we only go here if NT_STATUS_EQUAL is not ok.
2010-01-10s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke1-2/+2
2009-11-27s3-kerberos: only use krb5 headers where required.Günther Deschner1-0/+1
This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+2
samba. Guenther
2009-11-06s3-kerberos: add impersonate_principal for kerberos_return_pac_X calls.Günther Deschner1-0/+1
Guenther
2009-11-06s3: Fix kerberos refresh chain.Bo Yang1-1/+3
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-14Fix the build, missing ->.Jeremy Allison1-1/+1
Jeremy.
2009-10-14Final part of fix for bug 6793 - winbindd crash with "INTERNAL ERROR: Signal 6"Jeremy Allison1-0/+2
Don't use mapped_user uninitialized. Jeremy.
2009-10-14s3:winbind: Fix bug 6793 -- segfault in winbindd_pam_authVolker Lendecke1-7/+6
2009-10-08s3/s4 - Adapt the IDL changes on various locationsMatthias Dieter Wallnöfer1-2/+2
2009-09-28s3:winbind: remove a pointless initializationVolker Lendecke1-1/+1
2009-09-28s3:winbind: Make check_info3_in_group, sanitize its memory handlingVolker Lendecke1-15/+21
2009-09-28s3:winbind: Make "check_request_flags" publically availableVolker Lendecke1-2/+3
2009-09-28s3:winbind: Sanitize the args for find_auth_domain: It only needs the flagsVolker Lendecke1-6/+7
2009-09-28s3:winbind: Make append_data publically available as append_auth_dataVolker Lendecke1-6/+8
2009-09-05s3:winbind: Use fstr_sprintf, it is simpler than talloc_asprintf->fstrcpyVolker Lendecke1-8/+5
2009-09-05s3:winbind: Remove pointless <cond> ? true : false;Volker Lendecke1-4/+4
2009-09-05s3:winbind: Make the pam_auth subfunctions staticVolker Lendecke1-9/+9
2009-06-14Make winbindd_cli_state->response a pointer instead of a struct memberVolker Lendecke1-73/+74
Same comment as in baa6084378e530b: This is just a preparatory checkin. Volker
2009-06-14Make winbindd_cli_state->request a pointer instead of a struct memberVolker Lendecke1-162/+162
In itself, this is pretty pointless. But in the next steps I'll convert the winbind internal communication to wb_reqtrans which allocates the request properly. This minimizes the later diff. Volker
2009-05-12Convert response.extra_data.data from malloc to tallocVolker Lendecke1-32/+14
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison1-1/+1
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-03-23ѕ3/winbind_pam: fix gcc 4.4 compile warningBjörn Jacke1-1/+1
2009-03-18s3: remove POLICY_HND.Günther Deschner1-3/+3
Guenther
2008-11-13s3-winbindd: workaround for samr_ChangePasswordUser3 to User2 fallback for ↵Günther Deschner1-0/+6
w2k dcs. Guenther
2008-11-10ntlm_auth: Put huge NTLMv2 blobs into extra_data on CRAP auth.Kai Blin1-7/+18
This fixes bug #5865
2008-09-23s3: use samba4 prototype for ndr_push/pull_struct_blob.Günther Deschner1-1/+1
Guenther
2008-09-16winbindd: Update the calls to ws_name_XX() to reflect API changes.Gerald (Jerry) Carter1-6/+54
* Ensures that all points an which a name is received or returned to/from a client passes through the name aliases layer (users and groups).
2008-08-27Fix the wcache_invalidate_samlogon calls.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 7c820899ed1364fdaeb7b49e8ddd839e67397ec0)
2008-08-25winbindd: move set_auth_errors to util functions.Günther Deschner1-12/+0
Guenther (This used to be commit ae3fa60c4546c7420722d8f422c22bbfd623ff5b)
2008-08-19winbindd: consistently use false/true.Günther Deschner1-27/+27
Guenther (This used to be commit e8619121d16d086f1ab186051d0ecdc83c02e5b5)
2008-08-19winbindd: use set_auth_errors (avoid code duplication).Günther Deschner1-28/+6
Guenther (This used to be commit ae35a5110ea03d8ff27f320cdc685e5623715a2a)
2008-08-19winbindd: fill_in_password_policy (to avoid redundant code).Günther Deschner1-20/+18
Guenther (This used to be commit dbfa7ba14c9f1a4d7a1e7205dd0b3ea2fc2e6131)
2008-08-19winbindd: kill some trailing/leading whitespace.Günther Deschner1-159/+159
Guenther (This used to be commit b5bb7844952a87b123551b478b60bfe232afc308)
2008-07-22Fix various build warningsZach Loafman1-22/+14
This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start. (This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
2008-07-07Allow authentication and memory credential refresh after password change ↵Jeremy Allison1-2/+23
from gdm/xdm. Patch from boyang <boyang@novell.com>. Jeremy. (This used to be commit 8cfc6afc7b4a6af9aea5f5a7cb5af7e3218c2d75)
2008-06-25rename rpccli_samr_chgpasswd3 to rpccli_samr_chgpasswd_user3.Günther Deschner1-7/+7
Guenther (This used to be commit b1209a039b45985e0b28777e04cba5bcc3de061e)
2008-06-25rename rpccli_samr_chgpasswd_user to rpccli_samr_chgpasswd_user2.Günther Deschner1-3/+3
Guenther (This used to be commit 5b4650d56c04be0c498413f17afb2cf6d0e7d548)
2008-05-22Get rid of "shadowed local var" warnings with gcc.Jeremy Allison1-7/+7
Jeremy. (This used to be commit 0bc18967aa7cb6f4debeaa48be81d0e48a7d9503)
2008-04-21Add in a nice big comment explaining why SamLogonEx matters.Andrew Bartlett1-0/+21
Andrew Bartlett (This used to be commit 87232351b5e66728f8d602259961909e8c1dfcb6)
2008-04-04Use sid_array_from_info3 in lookup_usergroups_cached().Günther Deschner1-1/+1
Guenther (This used to be commit 65b4cb20ea3fb806cfd50281e08f32bea70fafce)
2008-03-27Fix typo.Günther Deschner1-5/+5
Guenther (This used to be commit fed644372916a5e565e4f5352aab61b39a3a42a0)
2008-03-27Don't fill password policy structure for any domain other than our own.Gerald W. Carter1-3/+15
The samr connects will fail. This is not independent of the CONTACT_TRUSTDOM flag neede by krb5 logins. (This used to be commit 4de4949e3bfcfb2169c329f19cb76936d9043d50)
2008-03-27Move LOGON_KRB5_FAIL_CLOCK_SKEW to winbindd_pam.Günther Deschner1-0/+2
Guenther (This used to be commit fa64c76ac8e54f385f277b5b39be70075b2eeee0)
2008-03-25Fix a segfaultVolker Lendecke1-1/+1
When we get a NT_STATUS_WRONG_PASSWORD for example, my_info3 is not initialized at all. So first check that we have NT_STATUS_IS_OK(status) before we dereference my_info3. (This used to be commit 559cd9e5a7fac3ce3769d457132cdcb28569b93d)
2008-03-19Merge dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possibleVolker Lendecke1-23/+72
NetSamLogonEx has the advantage that it does not use the credential chain (This used to be commit cfceb063f559f8549b8f24ce347be213c89303b0)
2008-02-28winbind: use a struct element for WBFLAG_PAM_UNIX_NAMEStefan Metzmacher1-14/+4
To not conflict with WBFLAG_PAM_INFO3_TEXT. This should fix pam_winbind. metze (This used to be commit 1b8ed6c0ffb2548442bb7e9d848117ce9b1c65c0)
2008-02-17Use netr_SamInfo3 everywhere in winbindd.Günther Deschner1-110/+93
Guenther (This used to be commit d9502eb75395131d5a8130ff2c4ebace106cb974)
2008-02-17Getting rid of net_io_user_info3() when sending an NDR encoded netr_SamInfo3.Günther Deschner1-16/+18
Guenther (This used to be commit f22ba8aee2ff90e9e34db066d506fec24c52379f)