summaryrefslogtreecommitdiffstats
path: root/source3/libnet/libnet_keytab.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-libnet: better separate headers.Günther Deschner2010-07-131-1/+3
| | | | Guenther
* s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett2009-04-071-18/+14
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-libnet: fix DEBUG statement in libnet_keytab.Günther Deschner2008-12-111-1/+1
| | | | Guenther
* s3-libnet: move add_to_keytab_entries to libnet_keytab.Günther Deschner2008-11-181-0/+33
| | | | Guenther
* kerberos: use KRB5_KT_KEY macro where appropriate.Günther Deschner2008-08-291-27/+3
| | | | | Guenther (This used to be commit a042dffd7121bda3dbc9509f69fcfae06ed4cc22)
* kerberos: move the KRB5_KEY* macros to header file.Günther Deschner2008-08-291-10/+0
| | | | | Guenther (This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)
* Fix "might be used uninitialized" warnings.Jeremy Allison2008-08-071-0/+1
| | | | | Jeremy. (This used to be commit 5abd12eec1c9b6d30af5ec1ba16c0922e78d5bea)
* libnet_keytab: fix the build with heimdalStefan Metzmacher2008-08-041-6/+38
| | | | | metze (This used to be commit ba18af00cc79a4e92372d3c1151061f200bc0655)
* libnet dssync: add my C after dssync keytab changes.Michael Adam2008-08-011-0/+1
| | | | | Michael (This used to be commit 9391aec8d4600c685b14d3cd1624f8758f2cc80d)
* libnet keytab: implement cleaning of old entries in libnet_keytab_add().Michael Adam2008-08-011-0/+22
| | | | | | | | Triggered by the flag clean_old_entries from the libnet_keytab_contex (unused yet...). Michael (This used to be commit a5f4e3ad95c26064881918f3866efa7556055a8f)
* libnet keytab: add parameter ingnore_kvno to libnet_keytab_remove_entries()Michael Adam2008-08-011-3/+4
| | | | | | | | | | | to allow for removing all entries with given principal and enctype without repecting the kvno (i.e. cleaning "old" entries...) This is called with ignore_kvno == false from libnet_keytab_add_entry() to keep the original behaviour. Michael (This used to be commit 6047f7b68548b33a2c132fc4333355a2c6abb19a)
* libnet keytab: add flag clean_old_entries to libnet_keytab_context.Michael Adam2008-08-011-0/+1
| | | | | Michael (This used to be commit f40eb8cc20a297c57f6db22e0c2457ce7425d00c)
* libnet keytab: use proper counter type (uint32_t) in libnet_keytab_add().Michael Adam2008-08-011-1/+1
| | | | | Michael (This used to be commit d0bd9195f04ae0f45c2e571d31625b31347f13e9)
* dssync keytab: move handling of removal of duplicates to ↵Michael Adam2008-08-011-90/+99
| | | | | | | | | | | | libnet_keytab_add_entry(). This makes libnet_keytab_remove_entries static and moves it up. libnet_keytab_add_entry() now removes the duplicates in advance. No special handling neede for the UTDV - this is also needed for other entries... Michael (This used to be commit 3c463745445f6b64017918f442bf1021be219e83)
* libnet_keytab: add some debug statements to libnet_keytab_search().Michael Adam2008-08-011-0/+8
| | | | | Michael (This used to be commit d3354c3516b56f254583f3dd065302b27d02af2b)
* libnet keytab: use libnet_keytab_add_entry() in libnet_keytab_add().Michael Adam2008-08-011-13/+6
| | | | | | | This will in particular allow us to store ENCTYPE_NULL. Michael (This used to be commit 85c7e3ae29a6f25ed0b6917ff73baea9c6c905c6)
* libnet keytab: add function libnet_keytab_add_entry()Michael Adam2008-08-011-0/+54
| | | | | | | | | This is a stripped down version of smb_krb5_kt_add_entry() that takes one explicit enctype instead of an array. And it does not neither salting of keys nor cleanup of old entries. Michael (This used to be commit c83e54f1eb3021d13fb0a3c3f6b556a338d2a8c3)
* libnet keytab: add function libnet_keytab_remove_entries().Michael Adam2008-08-011-0/+90
| | | | | | | This can be used to remove entries of given principal, kvno and enctype. Michael (This used to be commit a6f61c05b270c82f4bfce8a6850f81a09ad29087)
* libnet_keytab: cleanup libnet_keytab_search().Michael Adam2008-08-011-28/+27
| | | | | Michael (This used to be commit 344428d96c9be87eae1d715a8b8fcd6ad02142f8)
* libnet keytab: test for matching enctype in libnet_keytab_search().Michael Adam2008-08-011-0/+5
| | | | | Michael (This used to be commit 484b35f319178f360e406a1bc725dca2e9d95ee3)
* libnet keytab: add enctype parameter to libnet_keytab_search().Michael Adam2008-08-011-0/+1
| | | | | | | | | | | Not really used yet. Note: callers use ENCTYPE_ARCFOUR_HMAC enctype for UTDV (for now). This is what is currently stored. This is to be changed to ENCTYPE_NULL. Michael (This used to be commit cb91d07413430e0e0a16846d2c44aae8c165400e)
* libnet_keytab: add a libnet_keytab_search() functionMichael Adam2008-08-011-0/+77
| | | | | | | | | that searches and fetches an entry from a keytab file by principal and kvno. This code is by metze. Michael (This used to be commit a51a60066b6703fc4e5db3536903abf1cdaca885)
* kerberos: allow to keep entries with old kvno's while creating keytab.Günther Deschner2008-06-301-0/+1
| | | | | Guenther (This used to be commit 6194244bd9fcc1fb736f3d91433f107270cac1c9)
* kerberos: rename smb_krb5_kt_add_entry to smb_krb5_kt_add_entry_ext.Günther Deschner2008-06-301-7/+7
| | | | | Guenther (This used to be commit 48600a0019d70d22574cf08e8fe19d44cc332a0f)
* net_vampire: separate keytab code from samsync code.Günther Deschner2008-06-271-0/+143
Guenther (This used to be commit 69d8442bf3248f97ad23def424901d7fa87bfe48)