summaryrefslogtreecommitdiffstats
path: root/source3/libads/krb5_setpw.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-build: only include asn1 headers where actually needed.Günther Deschner2011-03-161-0/+1
| | | | Guenther
* s3-libads Remove MIT-specific krb5_princ_realm macro calls.Andrew Bartlett2011-02-181-55/+19
| | | | | | When compiled against heimdal, we need to use a more elegant API. Andrew Bartlett
* s3: avoid global include of ads.h.Günther Deschner2010-08-051-30/+1
| | | | Guenther
* 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
* Async wrapper for open_socket_out_send/recvVolker Lendecke2009-01-041-12/+19
|
* open_socket_out is always used with SOCK_STREAM, remove argument "type"Volker Lendecke2009-01-031-1/+1
|
* More asprintf warning fixes.Jeremy Allison2008-12-231-9/+18
| | | | Jeremy.
* s3-asn1: make all of s3 asn1 code do a proper asn1_init() first.Günther Deschner2008-10-221-28/+31
| | | | Guenther
* kerberos: fix some heimdal build warnings.Günther Deschner2008-10-151-4/+4
| | | | Guenther
* Coverity fixesMarc VanHeyningen2008-03-171-3/+14
| | | | (This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
* Fix the setup_kaddr() call to cope with IPv6.Jeremy Allison2007-10-291-11/+7
| | | | | | | | This is the last obvious change I can see. At this point we can start claiming IPv6 support (Hurrah !:-). Jeremy. (This used to be commit bda8c0bf571c994b524a9d67eebc422033d17094)
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-241-7/+21
| | | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* 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)
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-10-101-1/+1
| | | | | replace all data_blob(NULL, 0) calls. (This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)
* r17626: Some C++ WarningsVolker Lendecke2007-10-101-1/+3
| | | | (This used to be commit 09e7c010f03ac3c621f7a7fad44685d278c1481a)
* r16268: Add TCP fallback for our implementation of the CHANGEPW kpasswd calls.Günther Deschner2007-10-101-104/+166
| | | | | | | | | | | This patch is mainly based on the work of Todd Stecher <tstecher@isilon.com> and has been reviewed by Jeremy. I sucessfully tested and valgrinded it with MIT 1.4.3, 1.3.5, Heimdal 0.7.2 and 0.6.1rc3. Guenther (This used to be commit 535d03cbe8b021e9aa6d74b62d81b867c494c957)
* r16201: Fix Klocwork 439Volker Lendecke2007-10-101-1/+3
| | | | (This used to be commit b369d0891afe8b777b837eaac317131232568ca7)
* r15210: Add wrapper functions smb_krb5_parse_name, smb_krb5_unparse_name,Jeremy Allison2007-10-101-3/+3
| | | | | | | | smb_krb5_parse_name_norealm_conv that pull/push from unix charset to utf8 (which krb5 uses on the wire). This should fix issues when the unix charset is not compatible with or set to utf8. Jeremy. (This used to be commit 37ab42afbc9a79cf5b04ce6a1bf4060e9c961199)
* r14585: Tighten argument list of kerberos_kinit_password again,Günther Deschner2007-10-101-1/+1
| | | | | | | kerberos_kinit_password_ext provides access to more options. Guenther (This used to be commit afc519530f94b420b305fc28f83c16db671d0d7f)
* r14170: Paranioa fix for sesssetup.Jeremy Allison2007-10-101-9/+17
| | | | | | Fix Coverity bug #26. Guard against NULL ref. Jeremy. (This used to be commit c0f906ac8de850f4566b6b3be4e3c7d245e6e252)
* r13316: Let the carnage begin....Gerald Carter2007-10-101-18/+31
| | | | | Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
* r11551: Add a few more initialize_krb5_error_tableVolker Lendecke2007-10-101-0/+2
| | | | (This used to be commit d92c83aa42fe64a0e996094d1a983f0279c7c707)
* r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2007-10-101-1/+2
| | | | | | x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
* r9780: Clean up a bunch of compiler warnings.James Peach2007-10-101-6/+0
| | | | (This used to be commit 623d2e69319ffead31a780a4d6156dae45f386d7)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-4/+4
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r3711: Fix KRB5_SETPW-defines, no change in behaviour.Günther Deschner2007-10-101-7/+5
| | | | | | | | | | A value of '2' is due to an expired internet draft, while 0xff80 comes from RFC3244. See Bugzilla #1661 for details. Thanks to Luke Mewburn <lukem@NetBSD.org> for his research. Guenther (This used to be commit 3906c1623fb3823612347a0533ad49d7dfbe1b99)
* r3436: Fix build with recent heimdal-versions (0.6.3) as pointed out by LukeGünther Deschner2007-10-101-0/+2
| | | | | | | | | | Mewburn <lukem@NetBSD.org> and close Bugzilla #1661. Leaving the old define for KRB5_KPASSWD_VERS_SETPW (added by Antti Andreimann) as fallback when the library does not provide one. Guenther (This used to be commit 00598877dfb7aab48d1b5d58b3a69ed2dd8a36a8)
* r3377: Merge in first part of modified patch from Nalin Dahyabhai ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | <nalin@redhat.com> for bug #1717.The rest of the code needed to call this patch has not yet been checked in (that's my next task). This has not yet been tested - I'll do this once the rest of the patch is integrated. Jeremy. (This used to be commit 7565019286cf44f43c8066c005b1cd5c1556435f)
* r1247: Final fix to make this compile on Heimdal.Jeremy Allison2007-10-101-0/+4
| | | | | Jeremy. (This used to be commit b462b8fa2f264bef62ed4cd2aaacb2f21e135068)
* r1223: Fix valgrind error with realm manipulation.... Damn macros :-(.Jeremy Allison2007-10-101-2/+8
| | | | | Jeremy. (This used to be commit 5a1d8c3c9b8daa435f6eb5bc1652bab138e05dbf)
* r1222: Valgrind memory leak fixes. Still tracking down a strange one...Jeremy Allison2007-10-101-10/+25
| | | | | | Can't fix the krb5 memory leaks inside that library :-(. Jeremy. (This used to be commit ad440213aaae58fb5bff6e8a6fcf811c5ba83669)
* r541: fixing segfault in winbindd caused -r527 -- looks like a bug in ↵Gerald Carter2007-10-101-3/+3
| | | | | | heimdal; also initialize some pointers (This used to be commit be74e88d9a4b74fcaf25b0816e3fa8a487c91ab5)
* Fix bugzilla # 1208Jim McDonough2004-03-241-1/+1
| | | | | | | | | | | Winbind tickets expired. We now check the expiration time, and acquire new tickets. We couln't rely on renewing them, because if we didn't get a request before they expired, we wouldn't have renewed them. Also, there is a one-week limit in MS on renewal life, so new tickets would have been needed after a week anyway. Default is 10 hours, so we should only be acquiring them that often, unless the configuration on the DC is changed (and the minimum is 1 hour). (This used to be commit c2436c433afaab4006554a86307f76b6689d6929)
* - Make 'net' use a single funciton for setting the 'use machine account' code.Andrew Bartlett2003-08-191-9/+6
| | | | | | | | | | - Make winbindd try to use kerberos for connections to DCs, so that it can access RA=2 servers, particularly for netlogon. - Make rpcclient follow the new flags for the NETLOGON pipe - Make all the code that uses schannel use the centralised functions for doing so. Andrew Bartlett (This used to be commit 96b4187963cedcfe158ff02868929b8cf81c6ebf)
* get rid of more compiler warningsHerb Lewis2003-08-151-1/+1
| | | | (This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
* Removed strupper/strlower macros that automatically map to ↵Jeremy Allison2003-07-031-1/+1
| | | | | | | | strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
* More on bug 137: rename remainder of krb5_xxx functions to not start with krb5_Jim McDonough2003-05-301-11/+11
| | | | (This used to be commit 4169de6d8fb1b13de3892ec787886cc1543736a1)
* Fix bug #137: krb5_set_password is already defined in MIT 1.3 libs, soJim McDonough2003-05-301-5/+6
| | | | | we wouldn't build. (This used to be commit 0e9836c4e9e71494b10d71a5f3d5f7da2888c5ef)
* Patch from Ken Cross to allow an ADS domain join with a username of the formAndrew Bartlett2003-05-041-1/+1
| | | | | | | user@realm, where realm might not be the realm we are joining. Andrew Bartlett (This used to be commit 00e08efb5cd21bf42be9125d3188efbf9d13b8b7)
* Add const, static and fix a double free() (merge from HEAD).Andrew Bartlett2003-04-211-6/+5
| | | | (This used to be commit 9ba88c7314168b87b72a7e9dc3c7588dcce86893)
* Merge from HEAD:Andrew Bartlett2003-03-171-37/+29
| | | | | | | | | net ads password Heimdal compile fixes. Andrew Bartlett (This used to be commit 3aa4f923e99f453310bb4a8d43ce43757591909d)
* More const fixes.Jeremy Allison2003-03-051-2/+2
| | | | | Jeremy. (This used to be commit fa93763248f2043395e4cfc70b8afd81e28b2b75)
* Merge from HEAD client-side authentication changes:Andrew Bartlett2003-02-241-123/+306
| | | | | | | | | | | - new kerberos code, allowing the account to change it's own password without special SD settings required - NTLMSSP client code, now seperated from cliconnect.c - NTLMv2 client code - SMB signing fixes Andrew Bartlett (This used to be commit 837680ca517982f2e5944730581a83012d4181ae)
* Mem alloc checks.Jeremy Allison2003-02-041-4/+21
| | | | | Jeremy. (This used to be commit 46ea028169426fbcad92d3d5bf786e88be8f5112)
* More fixes getting us closer to full Heimdal compile....Jeremy Allison2003-01-211-11/+7
| | | | | Jeremy. (This used to be commit a7ee6ed64500a0d949849da6996b7dc837518f00)
* syncing up with HEAD. Seems to be a lot of differences creeping inGerald Carter2002-10-011-0/+31
| | | | | | (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-4/+10
| | | | (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)