php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38815 kadm5_create_principal() warning
Submitted: 2006-09-13 19:39 UTC Modified: 2006-09-13 19:41 UTC
From: klem at linux dot ee Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.4.4 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: klem at linux dot ee
New email:
PHP Version: OS:

 

 [2006-09-13 19:39 UTC] klem at linux dot ee
Description:
------------
Example from manual gives warning:
"No policy specified for burbach@GONICUS.LOCAL; assigning "default" in .. on line .."

Reproduce code:
---------------
$attributes = KRB5_KDB_REQUIRES_PRE_AUTH | KRB5_KDB_DISALLOW_PROXIABLE;
$options = array(KADM5_PRINC_EXPIRE_TIME => 0,
                 KADM5_POLICY => "default",
                 KADM5_ATTRIBUTES => $attributes);

kadm5_create_principal($handle, "burbach@GONICUS.LOCAL","password", $options);

Expected result:
----------------
no warning

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-13 19:41 UTC] tony2001@php.net
Please report PECL issues to PECL bug database.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 01:00:01 2026 UTC