<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<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;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@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">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">I’m new to setting up ArchivesSpace, and I’m having trouble getting it to bind to my LDAP.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m getting two errors, one is a code 49 saying Invalid Credentials (which I know are correct) and then it says failed to bind to LDAP directory.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is what my LDAP config block looks like (scrubbed a bit for privacy):<o:p></o:p></p>
<div style="mso-element:para-border-div;border:solid #A1A0A0 1.0pt;padding:12.0pt .25in 12.0pt .25in;background:#FAFAF8;margin-left:.05in;margin-right:0in">
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8">AppConfig[:authentication_sources] = [{<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :model => 'LDAPAuth',<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :hostname => 'dc.example.com',<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :port => 389,<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :base_dn => 'dc=blah,dc=example',dc=blahblah’<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :username_attribute
=> 'SAMAccountName',<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :attribute_map =>
{:cn => :name},<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :bind_dn => 'sAMAccountName=ldapuser,ou=users,dc=blah,dc=example,dc=blahblah',<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FAFAF8;border:none;padding:0in"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8"> :bind_password =>
'secretpassword',<o:p></o:p></span></p>
</div>
<div style="mso-element:para-border-div;border:solid #A1A0A0 1.0pt;padding:12.0pt .25in 12.0pt .25in;background:#FAFAF8">
<p class="MsoNormal" style="line-height:18.0pt;background:#FAFAF8;border:none;padding:0in">
<span style="font-size:9.0pt;font-family:"Courier New";color:gray;border:none windowtext 1.0pt;padding:0in;background:#FAFAF8">}]</span><span style="font-size:9.0pt;font-family:"Courier New";color:gray"><o:p></o:p></span></p>
</div>
<p class="MsoNormal">This is a configuration similar to what other apps use. The only line that was really unfamiliar to us was the ‘:attribute_map=>’ line.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m grateful for any help the community might be able to provide.<o:p></o:p></p>
<p class="MsoNormal">Thank you,<o:p></o:p></p>
<p class="MsoNormal">Jayson Rowe<o:p></o:p></p>
<p class="MsoNormal">Southeastern Baptist Theological Seminary<o:p></o:p></p>
</div>
<div>
<p style="color: #003876; font-family:Georgia, 'Times New Roman', Times, serif;">
<span style="font-weight:bold;font-size:15px;">Jayson Rowe</span><br>
<span style="font-size:12px;">Software Developer, Information Technology<br>
Editor, Between The Times<br>
Southeastern Baptist Theological Seminary<br>
919.761.2267 | <a href="http://www.sebts.edu" style="color: #003876;">www.sebts.edu</a> |
<a href="http://www.sebts.edu/student-life/campus/" style="color: #003876;">map</a> |
<a href="http://www.sebts.edu/news-resources/social_network.aspx" style="color: #003876;">
social</a></span></p>
<img src="http://mailer.sebts.edu/admin/images/SEBTS-logo-email.png" width="271" height="62">
</div>
</body>
</html>