<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Eric,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I think this might be the result of a copy paste error. The :bind_dn entry begins with a single quote but there appears to be no closing quote and no final comma. Maybe do a visual comparison of that entry
 with your 3.3.1 config?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Brian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Gadsby, Eric T. <egadsby@towson.edu><br>
<b>Date: </b>Thursday, August 3, 2023 at 2:29 PM<br>
<b>To: </b>Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject: </b>[Archivesspace_Users_Group] Updated from v3.3.1 to v3.4.0, LDAP syntax problems...<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">Dear Friends,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">I hope everybody is doing well. Today I updated to v3.4.0 from v3.3.1. Everything went well with the exception of our LDAP authentication. Aspace seems to be tripping over
 our LDAP configuration syntax when starting up and stopping. From the log: <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">"SyntaxError: /opt/archivesspace/config/config.rb:251: syntax error, unexpected tIDENTIFIER<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :bind_password => ‘REDACTED’,"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">Given all of the changes to the config file I decided to paste our LDAP info from the old config in what I though was the right place. This is what that part of our config
 file looks like:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">"#AppConfig[:staff_username] = "staff_system"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">#<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">AppConfig[:authentication_sources] = [{<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :model => 'LDAPAuth',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :hostname => 'ldap.towson.edu',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :port => 389,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :base_dn => 'dc=towson,dc=edu',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :username_attribute => 'sAMAccountName',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :attribute_map => {:cn => :name},<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :bind_dn => 'CN=srv-aspace-ldap\, srv-aspace-ldap s. (Archivespace (Library)),OU=Guests,OU=User Accounts$<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">                                         :bind_password => 'REDACTED',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">}]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">## When 'true' restrict authentication attempts to only the source already set for the user<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">#AppConfig[:authentication_restricted_by_source] = false # default: allow any source"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">This LDAP configuration was provided to us by our enterprise identity management group and has worked in previous versions of Aspace. I have redacted the password here but
 it is only letters and numerals no special characters. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual">I am a little stuck. When I commented out the LDAP configuration then Aspace starts up but of course that means our staff can't log-in with their enterprise wide accounts.
 Any help would be appreciated, thanks in advance!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"> <span style="mso-ligatures:standardcontextual"><o:p></o:p></span></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;margin-left:2.25pt;border-top:solid #FFBB00 1.0pt;border-left:none;border-bottom:solid #FFBB00 1.0pt;border-right:none">
<tbody>
<tr style="height:9.0pt">
<td colspan="3" style="border:none;padding:0in 0in 0in 0in;height:9.0pt">
<p class="MsoNormal" style="line-height:9.0pt"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#717371;letter-spacing:.1pt"> </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width="90" valign="top" style="width:67.5pt;border:none;padding:0in 0in 0in 0in">
<p class="MsoNormal"><a href="http://www.towson.edu/" title="http://www.towson.edu/"><span style="font-size:11.0pt;color:windowtext;mso-ligatures:standardcontextual;text-decoration:none"><span style="font-family:"Arial",sans-serif;color:#3C3C3C;mso-ligatures:none"><img border="0" width="62" height="55" style="width:.6458in;height:.5729in" id="Picture_x0020_1" src="cid:image001.jpg@01D9C614.F80F7B30" alt="Towson University logo"></span></span></a><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
<td valign="top" style="border:none;padding:0in 0in 0in 0in">
<p class="MsoNormal" style="line-height:12.0pt"><b><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">Eric T. Gadsby</span></b><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.25pt;line-height:12.0pt"><i><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">Pronouns: he/him/his</span></i><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.25pt;line-height:12.0pt"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">IT Operations Specialist  </span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#CCCCCC;letter-spacing:.1pt">|</span><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">  Albert
 S. Cook Library</span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:2.25pt;line-height:12.0pt"><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#FFBB00;letter-spacing:.1pt">—</span></b><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:3.75pt;line-height:12.0pt"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">P: 410-704-3340 <br>
</span><span style="font-size:11.0pt;color:#1F497D"><a href="mailto:egadsby@towson.edu" title="mailto:egadsby@towson.edu"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt">egadsby@towson.edu</span></a></span><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#CCCCCC;letter-spacing:.1pt">  </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#CCCCCC;letter-spacing:.1pt">|</span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt"> </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#2E2E2E"> </span><span style="font-size:11.0pt;color:#1F497D"><a href="http://www.towson.edu/https:/libraries.towson.edu" title="http://www.towson.edu/https:/libraries.towson.edu"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#954F72">libraries.towson.edu</span></a></span><span style="font-size:6.0pt;font-family:"Arial",sans-serif;color:#2E2E2E"> <br>
</span><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#3C3C3C;letter-spacing:.1pt"> </span><b><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#FFBB00;letter-spacing:.1pt">—</span></b><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
<td style="border:none;padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:9.75pt"><span style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#999999;letter-spacing:.1pt">Confidentiality Notice: This message may contain information that is confidential, privileged,
 proprietary, or otherwise legally exempt from disclosure. If you are not the intended recipient, you are notified that you are not authorized to read, print, copy or disseminate this message, any part of it, or any attachments. If this message has been sent
 to you in error, please notify the sender by replying to this transmission, or by calling Albert S. Cook Library at 410-704-3340 . </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><span style="font-size:11.0pt;mso-ligatures:standardcontextual"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-ligatures:standardcontextual"> <o:p></o:p></span></p>
</div>
</body>
</html>