Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
SHA Encryption's problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="forstera" data-source="post: 1844907" data-attributes="member: 404130"><p>Hello all,</p><p></p><p>To be short : I work for a school and I have to build my own OpenLDAP server to authenticate my users. This server will be used to authenticate different local web applications and our MACBook Pro High Sierra 10.13.6 (about 120 computers)</p><p></p><p>Everything works except the following : When I create a new user in my OpenLDAP server, the password is encrypted using SHA. People can than connect to the web part of the server to change their password.</p><p></p><p>When they try to open a session on the Macbook Pro, they receive an error message about a wrong password. (instead the connection to the OpenLDAP server is made and is fine). </p><p></p><p>I analyzed that and realized that when I create a user, the password looks like : {sha}<hash encryption>. If, using a ldap admin tool, and I change the {sha} with capital letters -> {SHA} and I don't change the hash encryption, I can connect with the computers.</p><p></p><p>But this time, people cannot authenticate anymore through the web console to change their password ! </p><p></p><p>So it seems my OpenLDAP and my Macs are not storing the password in the same way.</p><p>I don't know what to do to make my 2 systems speaking the same langage ...</p><p>Any idea is very welcomed</p><p>Thanks to all for your help</p></blockquote><p></p>
[QUOTE="forstera, post: 1844907, member: 404130"] Hello all, To be short : I work for a school and I have to build my own OpenLDAP server to authenticate my users. This server will be used to authenticate different local web applications and our MACBook Pro High Sierra 10.13.6 (about 120 computers) Everything works except the following : When I create a new user in my OpenLDAP server, the password is encrypted using SHA. People can than connect to the web part of the server to change their password. When they try to open a session on the Macbook Pro, they receive an error message about a wrong password. (instead the connection to the OpenLDAP server is made and is fine). I analyzed that and realized that when I create a user, the password looks like : {sha}<hash encryption>. If, using a ldap admin tool, and I change the {sha} with capital letters -> {SHA} and I don't change the hash encryption, I can connect with the computers. But this time, people cannot authenticate anymore through the web console to change their password ! So it seems my OpenLDAP and my Macs are not storing the password in the same way. I don't know what to do to make my 2 systems speaking the same langage ... Any idea is very welcomed Thanks to all for your help [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
SHA Encryption's problem
Top