directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pike <>
Subject Re: Unit Tests
Date Thu, 04 May 2017 20:04:26 GMT
So I was originally having problems because the attribute "pwdPolicySubentry" wasn't recognized
because I wasn't loading the policy module. Once I got that loaded, it looks like it is being
added to users when I step through code, but I don't see the attributes when I query the users.

----- Original Message -----
From: "Shawn" <>
Sent: Thursday, May 4, 2017 3:44:31 PM
Subject: Re: Unit Tests

You can still use slapd.conf with latest version of openldap but of course don't have to.
The likely cause is slapd config doesn't have pwpolicy enabled. . In your case it will be
under cn=config.
Could also be fortress config. Maybe server type not openldap. 
-------- Original message --------From: Chris Pike <> Date: 5/4/17  12:26
PM  (GMT-06:00) To: Subject: Re: Unit Tests 
I am running a newer version, which I don't think has the slapd.conf file anymore...

----- Original Message -----
From: "Shawn McKinney" <>
Sent: Thursday, May 4, 2017 12:06:57 PM
Subject: Re: Unit Tests

Definitely an openldap pw policy issue.  Is that overlay enabled in your server?  Here’s
the error:

     * The password change failed because User is not allowed to change password.
    public static final int USER_PW_MOD_NOT_ALLOWED = 1018;

Can you send your and slapd.conf config?  (pw’s redacted of course)


> On May 4, 2017, at 9:55 AM, Chris Pike <> wrote:
> Shawn,
> I'm working on running the unit tests, and am getting an error when changing password
> junit.framework.AssertionFailedError:
user [jtsTU2User1]  user not authorized to change password, ldap rc= Fortress rc=1018
> 	at
> 	at
> 	at
> 	at
> My testing environment is slightly modified from last time I ran the tests, so I am assuming
some sort of config issue. Any ideas?
> Thanks,
> ~Chris

View raw message