|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57167 specifing policy on kadm5_create_principal()
Submitted: 2006-08-01 06:06 UTC Modified: 2017-04-01 20:44 UTC
From: klem at linux dot ee Assigned:
Status: Wont fix Package: kadm5 (PECL)
PHP Version: 4.4.1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
47 - 20 = ?
Subscribe to this entry?

 [2006-08-01 06:06 UTC] klem at linux dot ee
Basically same code as manual example gives error:
Warning: No policy specified for blaah...; assigning "default" .

Reproduce code:

$options = array(KADM5_PRINC_EXPIRE_TIME => 0,
                            KADM5_PW_EXPIRATION => 0,
                            KADM5_POLICY => "default",
                            KADM5_ATTRIBUTES => $attributes);

return kadm5_modify_principal($this->krb_con,"principal/default@EXAMPLE.COM",$options);

Expected result:
no errors

Actual result:
warning, that no policy was specified and a default policy was assigned


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-01 20:44 UTC]
-Status: Open +Status: Wont fix
 [2017-04-01 20:44 UTC]
Due to this extension not seeing any activity since 2003, this issue will not be fixed. We are therefore closing this now.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Mar 04 13:01:25 2021 UTC