File tree 2 files changed +1
-22
lines changed
rust/krb5-provision-keytab/src
2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -44,18 +44,6 @@ pub enum Error {
44
44
#[ snafu( display( "failed to unparse Kerberos principal" ) ) ]
45
45
UnparsePrincipal { source : krb5:: Error } ,
46
46
47
- #[ snafu( display( "failed to get password cache {password_cache_ref}" ) ) ]
48
- GetPasswordCache {
49
- source : stackable_operator:: client:: Error ,
50
- password_cache_ref : ObjectRef < Secret > ,
51
- } ,
52
-
53
- #[ snafu( display( "failed to update password cache {password_cache_ref}" ) ) ]
54
- UpdatePasswordCache {
55
- source : stackable_operator:: client:: Error ,
56
- password_cache_ref : ObjectRef < Secret > ,
57
- } ,
58
-
59
47
#[ snafu( display( "failed to create LDAP user" ) ) ]
60
48
CreateLdapUser { source : ldap3:: LdapError } ,
61
49
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use std::{
4
4
io:: { stdin, BufReader } ,
5
5
} ;
6
6
7
- use krb5:: { kadm5 , Keyblock , Keytab } ;
7
+ use krb5:: { Keyblock , Keytab } ;
8
8
use snafu:: { ResultExt , Snafu } ;
9
9
use stackable_krb5_provision_keytab:: { AdminBackend , Request , Response } ;
10
10
use tracing:: info;
@@ -27,9 +27,6 @@ enum Error {
27
27
#[ snafu( display( "failed to init Active Directory admin client" ) ) ]
28
28
ActiveDirectoryInit { source : active_directory:: Error } ,
29
29
30
- #[ snafu( display( "failed to init kadmin server handle" ) ) ]
31
- KadminInit { source : kadm5:: Error } ,
32
-
33
30
#[ snafu( display( "failed to decode admin principal name" ) ) ]
34
31
DecodeAdminPrincipalName { source : NulError } ,
35
32
@@ -63,12 +60,6 @@ enum Error {
63
60
principal : String ,
64
61
} ,
65
62
66
- #[ snafu( display( "failed to create principal {principal}" ) ) ]
67
- CreatePrincipal {
68
- source : kadm5:: Error ,
69
- principal : String ,
70
- } ,
71
-
72
63
#[ snafu( display( "failed to add dummy key to keytab" ) ) ]
73
64
AddDummyToKeytab { source : krb5:: Error } ,
74
65
You can’t perform that action at this time.
0 commit comments