You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pwm-g...@googlegroups.com
Menno,
Here are my current notes for setting up a basic PWM on top of an SSL-secured CentOS 6.3 389-ds server, which I plan to port to RHDS and should also be usable with Fedora.
The following uses the ou=People,dc=zen,dc=local bind DN; change the examples below to math your environment.
My server is CentOS 6.3 64-bit running 389-ds from the EPEL repository. Default install locations are assumed.
The server is secured using Fedora's setupssl2.sh script.
SElinux is enforced in targeted mode and iptables is running with ports 389,636, and 9830 open but tailored.
I use some custom SElinux code to reverse proxy my PWM but this is not required or covered unless anyone asks.
FIPS modes are not enabled as it will break PWM, but TLS and SSLv3 are enabled; unauthenticated connections are disabled.
The Java keytool was used to import my CA certificate as detailed in the admin guide.
PWM is deployed via tomcat6 but unconfigured.
My time is limited but I will respond when I can.
Extend the schema
Create the file /etc/dirsrv/slapd-<instance>/schema/99-zPWM-schema.ldif (change with your directory values as necessary):
dn: uid=pwmtest,ou=People,dc=zen,dc=local objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson uid: pwmtest sn: Test givenName: PWM cn: PWM Test displayName: PWM Test userPassword: yourpassword
Delete the file after it is loaded unless you use CRYPT passwords.
Create the PWM ACI
Create a temp file called /tmp/pwmaci.ldif and load it using ldapadd (again, change your OUs and DCs and necessary):
Attempts to merge the PWM password policy with the directory will fail spectacularly. So set your PWM password to meet or exceed your LDAP password poloicy. Therefore go to Settings » Password Policy and set View » Advanced Settings:
Password Policy Source
(Advanced): PWM
Minimum Length: 8
Maximum Sequential Repeat: 2
Minimum numeric: 1
Minimum Special: 1
Minimum Alpha: 1
Min Non-alpha: 1
Min upper: 1
Min lower: 1
Min strength: 45
Set corresponding maximums to 0
Failure to set the above in my experience will yield strange results. I welcome feedback on the topic.
Menno Pieters
unread,
Jan 31, 2013, 2:44:54 AM1/31/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pwm-g...@googlegroups.com
Thanks! I'll add this as soon as I have time to update the manual!
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pwm-g...@googlegroups.com
I'll have revisions within a month, so you may want to wait until I have time to clean it up and also add sections for user self-registration, email verification (if available?) and RECAPTCHA.
But now that I have the UID/CN stuff worked out, thanks to you, I have high expectations and hope to deliver it as part of a new IdM soon!
Justin Mercier
unread,
Feb 10, 2013, 7:39:27 PM2/10/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pwm-g...@googlegroups.com
Menno,
I just wanted to give you and perhaps any Red Hat/Fedora users out there that I have updated the development snapshot of the admin guide with integration steps for 389 Directory Server (aka Fedora Directory Server). It can probably use a little peer review and editing QC. I did not overwrite the preexisting schema instructions which use the graphical console, and I also added a summary of considerations (such as uid vs cn, and memberof vs. groupmembership) that apply to 389DS versus OpenLDAP.
I have a bunch of extra documentation that applies to my particular installation that is out of scope but may be of use to other users. These deal with configuration of the various modules, reverse proxy and iptables configuration, and SELinux. If any users need any assistance with these topics I am happy to help.
Justin
Justin Mercier
unread,
Feb 10, 2013, 7:40:52 PM2/10/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pwm-g...@googlegroups.com
Hi Justin,
I just wanted to give you and perhaps any Red Hat/Fedora users out there that I have updated the development snapshot of the admin guide with integration steps for 389 Directory Server (aka Fedora Directory Server). It can probably use a little peer review and editing QC. I did not overwrite the preexisting schema instructions which use the graphical console, and I also added a summary of considerations (such as uid vs cn, and memberof vs. groupmembership) that apply to 389DS versus OpenLDAP.
I have a bunch of extra documentation that applies to my particular installation that is out of scope but may be of use to other users. These deal with configuration of the various modules, reverse proxy and iptables configuration, and SELinux. If any users need any assistance with these topics I am happy to help.
Thanks for your effort. I'll have a look, perhaps make a couple of changes and inform Jason to update the main document.