summaryrefslogtreecommitdiff
path: root/source3/libads/ads_status.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert all uses of uint8/16/32 to uint8/16/32_t in the libads code.Richard Sharpe2015-04-221-3/+3
| | | | | | | | Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Apr 22 06:22:29 CEST 2015 on sn-devel-104
* s3-libads: Map LDAP_TIMELIMIT_EXCEEDED as NT_STATUS_IO_TIMEOUTAndrew Bartlett2012-05-261-0/+3
| | | | | | | | This allows Samba to then handle this error in the same way it would for RPC connections Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org>
* lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy2012-04-251-0/+1
| | | | | | | | | | | | | | lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
* s3-libads: Move to using only the HAVE_KRB5 defineAndrew Bartlett2012-02-131-3/+1
| | | | | | HAVE_KRB5 already implies that GSSAPI is present as well. Andrew Bartlett
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-build: stop including ldap and lber headers everywhere in the code.Günther Deschner2011-03-161-0/+1
| | | | | | | | | | Instead use new header smb_ldap.h where all LDAP API related things are handled, while smbldap.h only deals with our smbldap_X() API. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
* s3-kerberos: only use krb5 headers where required.Günther Deschner2009-11-271-0/+1
| | | | | | | This seems to be the only way to deal with mixed heimdal/MIT setups during merged build. Guenther
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-261-0/+9
| | | | | | negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104)
* Remove a globalVolker Lendecke2007-11-261-5/+4
| | | | (This used to be commit 3088bc76f1ceffecaa5aea039be79973c9876f0c)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-101-13/+0
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r21968: Don't use gss-types in proto headers.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 829580414d89ff4aa0f45906e455849c55f508b1)
* r21967: Add conversion from gss errors to nt status.Jeremy Allison2007-10-101-1/+10
| | | | | Jeremy (This used to be commit 8ba138efd097b08dcfe98f99b67c77579babf250)
* r21922: Fixed the build by rather horrid means. I really needJeremy Allison2007-10-101-2/+4
| | | | | | | | to restructure libsmb/smb_signing.c so it isn't in the base libs path but lives in libsmb instead (like smb_seal.c does). Jeremy. (This used to be commit 1b828f051d0782201f697de15ff973bd6b097d5b)
* r18425: Fix ads_ntstatus(). LDAP_SUCCESS should really map to NT_STATUS_OK.Günther Deschner2007-10-101-0/+3
| | | | | Guenther (This used to be commit 8ab214956ef11ff0b1532713cff65c17d2439570)
* r17854: Steal the LDAP in NTSTATUS trick from Samba4Volker Lendecke2007-10-101-4/+1
| | | | | | | Thanks to Michael Adam <ma@sernet.de> Volker (This used to be commit 91878f9b6fbe5187fb7d0464008ea0abe7f11a73)
* r17677: There is no need for a 2nd krb5_to_nt_status function, is there?Günther Deschner2007-10-101-1/+1
| | | | | | | Michael Adam/Volker, please check. Guenther (This used to be commit d0feb85781f69325ee70aff98370cfac037c4cc2)
* r17606: Introduce krb5_to_ntstatus.Volker Lendecke2007-10-101-18/+17
| | | | | | | Thanks to Michael Adam <ma@sernet.de> Volker (This used to be commit 6e641c90b8f52a822a83701cdf305c60416d7f0c)
* r17589: Check in the really uncontroversial patch from MichaelVolker Lendecke2007-10-101-0/+5
| | | | (This used to be commit de76217cfb9d20431189e838999a634e4de067a9)
* r4273: Same fix for r4272 in SAMBA_3_0 branch.Tim Potter2007-10-101-1/+1
| | | | (This used to be commit 4f1927acfa6569fc90317d76ed34e5ee088df7c1)
* r4023: Code tidyup to fix bug #2098.Jeremy Allison2007-10-101-2/+3
| | | | | Jeremy. (This used to be commit ebaf21e3e289d3570f20b22e00555eaebe060063)
* fix some warnings from the Sun compilerGerald Carter2004-01-091-14/+14
| | | | (This used to be commit ebabf72a78f0165521268b73e0fcabe1ea7834fd)
* This merges in my 'always use ADS' patch. Tested on a mix of NT and ADSAndrew Bartlett2004-01-081-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | domains, this patch ensures that we always use the ADS backend when security=ADS, and the remote server is capable. The routines used for this behaviour have been upgraded to modern Samba codeing standards. This is a change in behaviour for mixed mode domains, and if the trusted domain cannot be reached with our current krb5.conf file, we will show that domain as disconnected. This is in line with existing behaviour for native mode domains, and for our primary domain. As a consequence of testing this patch, I found that our kerberos error handling was well below par - we would often throw away useful error values. These changes move more routines to ADS_STATUS to return kerberos errors. Also found when valgrinding the setup, fix a few memory leaks. While sniffing the resultant connections, I noticed we would query our list of trusted domains twice - so I have reworked some of the code to avoid that. Andrew Bartlett (This used to be commit 7c34de8096b86d2869e7177420fe129bd0c7541d)
* s/OM_uint32//uint32/gGerald Carter2003-08-151-1/+1
| | | | (This used to be commit f8a092e7b42cd157cf86240984be40badd0afd87)
* get rid of more compiler warningsHerb Lewis2003-08-151-1/+1
| | | | (This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
* syncing up with HEAD. Seems to be a lot of differences creeping inGerald Carter2002-10-011-0/+6
| | | | | | (i ignored the new SAMBA stuff, but the rest of this looks like it should have been merged already). (This used to be commit 3de09e5cf1f667e410ee8b9516a956860ce7290f)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-8/+40
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Move local variable to avoid warning when compiled without GSSAPI.Martin Pool2002-01-141-1/+2
| | | | (This used to be commit 312c6d906e64d231ff3c2f37e61d752cc948ee7b)
* cope with systems that don't have full gssapi libsAndrew Tridgell2001-12-311-0/+2
| | | | (This used to be commit c4d928e55fe99a3a1c4e53508a44949f92d74219)
* Fix the compile on systems without a full kerberos kit.Andrew Bartlett2001-12-301-1/+3
| | | | | Andrew Bartlett (This used to be commit 33ae29028bffccf5a9cdd8d44b08c27b9d8fd982)
* Make Samba compile on RH 6.2 again.Andrew Bartlett2001-12-301-0/+91
We now include the libber.h file if required, but currently we just don't use ldap. (I'll chase this up). In the meantime, I've moved the ads_status code about, its now in its own file, and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP caused HAVE_ADS to be undefined. (I hope its not too ugly). Andrew Bartlett (This used to be commit 14407c87e2dcccae1784290e3eb7a2d611516aff)