Worked great, thanks for looking into that.

-andy


On Tue, 11/17/2015 01:45 PM, Roland Gruber <[email protected]> wrote:
> Hi Andy,
> 
> looks like 389 server is no longer accepting empty lines in the file.
> I attached a fixed version of the schema. The only change is that there
> are "#" instead of empty lines.
> 
> 
> Best regards
> 
> Roland
> 
> 
> On 17.11.2015 12:36, Andy Thompson wrote:
> > Running ubuntu 14.04. 
> > 
> > I copied the file from /usr/share/doc from the pro .deb installation.  I 
> > don't see anything showing up in emacs though.
> > 
> > -andy
> > 
> > On Tue, 11/17/2015 12:57 AM, Roland Gruber <[email protected]> wrote:
> >> Hi Andy, 
> >>
> > 
> >>
> > what Linux distribution and its version do you use? 
> >>
> > 
> >>
> > Please also check that the file was not converted to Windows line endings 
> > when you transferred it to your server. 
> >>
> > 
> >>
> > Best regards 
> >>
> > 
> >>
> > Roland 
> >>
> >> Am 16. November 2015 21:53:02 MEZ, schrieb Andy Thompson 
> >> <[email protected]>:> 
> > Running 1.3.2.16 
> >>
> >> -andy
> >>
> >>
> >> On Mon, 11/16/2015 02:25 PM, Roland Gruber <[email protected]> wrote:
> >>>  Hi Andy,
> >>  
> >>  ok, thanks for the info.
> >>  What Linux distribution and version do you use? Maybe 389 server needs a
> >>  new format now.
> >>  
> >>  
> >>  Best regards
> >>  
> >>  Roland
> >>  
> >>  
> >>  On 16.11.2015 19:32, Andy Thompson wrote:
> >>>  I'm running a 389ds installation so I didn't do anything with ldapadd.  
> >>> I just followed the steps for 389 in the documentation appendix F and 
> >>> copied the file over from the lam schema files
> >>  
> >>  Contents of the file are
> >>  
> >>  dn: cn=schema
> >>  
> >>  attributeTypes: (
> >>    1.3.6.1.4.1.34955.1.1
> >>    NAME 'passwordSelfResetQuestion'
> >>    DESC 'Password self reset question'
> >>    EQUALITY caseIgnoreMatch
> >>    SUBSTR caseIgnoreSubstringsMatch
> >>    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
> >>    SINGLE-VALUE
> >>    )
> >>  
> >>  attributeTypes: (
> >>    1.3.6.1.4.1.34955.1.2
> >>    NAME 'passwordSelfResetAnswer'
> >>    DESC 'Password self reset answer'
> >>    EQUALITY caseExactMatch
> >>    SUBSTR caseExactSubstringsMatch
> >>    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
> >>    SINGLE-VALUE
> >>    )
> >>  
> >>  attributeTypes: (
> >>    1.3.6.1.4.1.34955.1.3
> >>    NAME 'passwordSelfResetBackupMail'
> >>    DESC 'Backup email address'
> >>    EQUALITY caseIgnoreIA5Match
> >>    SUBSTR caseIgnoreIA5SubstringsMatch
> >>    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
> >>    SINGLE-VALUE
> >>    )
> >>  
> >>  objectClasses: (
> >>    1.3.6.1.4.1.34955.2.1
> >>    NAME 'passwordSelfReset'
> >>    DESC 'Password self reset with security question+answer'
> >>    SUP top
> >>    AUXILIARY
> >>    MAY ( passwordSelfResetQuestion $ passwordSelfResetAnswer $ 
> >> passwordSelfResetBackupMail )
> >>    )
> >>  
> >>  
> >>  thanks!
> >>  
> >>  -andy
> >>  
> >>  On Mon, 11/16/2015 12:58 PM, Roland Gruber <[email protected]> wrote:
> >>>  Hi Andy,
> >>
> >>  how exactly did you install the schema? Do you have OpenLDAP with slap.d 
> >> and did it like this?
> >>
> >>   For slapd.d configurations you need to upload the schema file 
> >> passwordSelfReset.ldif via ldapadd command:
> >>   ldapadd -x -W -H ldap://localhost -D "cn=admin,o=test,c=de" -f 
> >> passwordSelfReset.ldif
> >>   Please replace "localhost" with your LDAP server and 
> >> "cn=admin,o=test,c=de" with your LDAP admin user (usually starts with 
> >> cn=admin or cn=manager).
> >>
> >>  Did you get any message at the ldapadd command? What is the content of 
> >> /etc/dirsrv/slapd-ldapprod01/schema/70pwdreset.ldif?
> >>
> >>
> >>  Best regards
> >>
> >>  Roland
> >>
> >>
> >>  On 16.11.2015 15:51, Andy Thompson wrote:
> >>>  I followed the instructions in appendix F for installing the password 
> >>  self reset schema.  When I try to restart my instance it errors out 
> >>  reading the ldif.  Everything looks ok in the ldif as far as I can tell 
> >>  but below is an error snippet<br><br>[16/Nov/2015:06:21:12 -0700] - 
> >> str2entry_dupcheck: entry has no dn<br>[16/Nov/2015:06:21:12 -0700] 
> >> dse_read_one_file - Parsing entry (lineno: 1) in file 
> >> /etc/dirsrv/slapd-ldapprod01/schema/70pwdreset.ldif 
> >> failed.<br>[16/Nov/2015:06:21:12 -0700] dse_read_one_file - Invalid 
> >> section [# Id: passwordSelfReset.schema 1348 2014-02-15 15:51:29Z 
> >> roland<br>#<br># LDAP schema for LAM Pro password reset 
> >> functionality<br>#<br># This code is part of LDAP Account Manager (<a 
> >> href="https://mail.thompsonsplace.net/redir.hsp?url=%68%74%74%70%3A%2F%2F%77%77%77%2E%6C%64%61%70%2D%61%63%63%6F%75%6E%74%2D%6D%61%6E%61%67%65%72%2E%6F%72%67%2F";
> >>  target="_blank">http://www.ldap-account-manager.org/</a>)<br># Copyright 
> >> (C) 2015  Roland Gruber<br>#<br>#<br>#  OID ba 
> >> ...]<br>[16/Nov/2015:06:21:12 -0700] - str2entry_dupcheck: entry has no 
> >> dn<br>[16/Nov/2015:06:21:12 -0700] dse_read_one_file - Parsing entry 
> >> (lineno: 27) in file /etc/dirsrv/slapd-ldapprod01/schema/70pwdreset
 .ld
> 
> >>  if
> >>>   failed.<br>[16/Nov/2015:06:21:12 -0700] dse_read_one_file - Invalid 
> >>> section [attributeTypes: (<br>  1.3.6.1.4.1.34955.1.1<br>  NAME 
> >>> 'passwordSelfResetQuestion'<br>  DESC 'Password self reset question'<br>  
> >>> EQUALITY caseIgnoreMatch<br><br>What am I missing to get this 
> >>> installed?<br><br>thanks<br><br>-andy
> >>>
> >>
> >>
> >>  Presto, an open source distributed SQL query engine for big data, 
> >> initially
> >>  developed by Facebook, enables you to easily query your data on Hadoop in 
> >> a 
> >>  more interactive manner. Teradata is also now providing full enterprise
> >>  support for Presto. Download a free open source copy now.
> >>  http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
> >>
> >>  Lam-public mailing list
> >>  [email protected]
> >>  https://lists.sourceforge.net/lists/listinfo/lam-public
> > 
> > 
> >>  Presto, an open source distributed SQL query engine for big data, 
> >> initially
> >>  developed by Facebook, enables you to easily query your data on Hadoop in 
> >> a 
> >>  more interactive manner. Teradata is also now providing full enterprise
> >>  support for Presto. Download a free open source copy now.
> >>  http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
> >>
> >>  Lam-public mailing list
> >>  [email protected]
> >>  https://lists.sourceforge.net/lists/listinfo/lam-public
> >>
> >>
> >>
> >>
> >>  Presto, an open source distributed SQL query engine for big data, 
> >> initially
> >>  developed by Facebook, enables you to easily query your data on Hadoop in 
> >> a 
> >>  more interactive manner. Teradata is also now providing full enterprise
> >>  support for Presto. Download a free open source copy now.
> >>  http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
> >>
> >>
> >>
> >>  Lam-public mailing list
> >>  [email protected]
> >>  https://lists.sourceforge.net/lists/listinfo/lam-public
> >>  
> >  
> > 
> >  Presto, an open source distributed SQL query engine for big data, initially
> >  developed by Facebook, enables you to easily query your data on Hadoop in 
> > a 
> >  more interactive manner. Teradata is also now providing full enterprise
> >  support for Presto. Download a free open source copy now.
> >  http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
> > 
> >  Lam-public mailing list
> >  [email protected]
> >  https://lists.sourceforge.net/lists/listinfo/lam-public
> > 
> > 
> > 
> > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > 
> > 
> > 
> > _______________________________________________
> > Lam-public mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/lam-public
> > 
> 
>         
> ------------------------------------------------------------------------------
> 
>         _______________________________________________
> Lam-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lam-public


------------------------------------------------------------------------------
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to