OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: jeffs42885 on July 27, 2015, 02:49:41 PM

Title: RESOLVED - LDAP Question
Post by: jeffs42885 on July 27, 2015, 02:49:41 PM
I turned LDAP on an 08 system with an invalid setting and I cannot get in.

Is there a registry key I can revert to? I checked and cant find anything. Thanks in advance.
Title: Re: LDAP Question
Post by: Justin Derrick on July 27, 2015, 10:21:31 PM
Written for AIX, but it should still work for you:

https://cmod.wiki/index.php/Manually_disabling_LDAP_authentication
Title: Re: LDAP Question
Post by: jeffs42885 on July 28, 2015, 12:12:28 PM
Thank you sir! Much appreciated. I will try this and let ya know how i made out.
Title: Re: LDAP Question
Post by: jeffs42885 on July 28, 2015, 12:35:03 PM
Quote from: Justin Derrick on July 27, 2015, 10:21:31 PM
Written for AIX, but it should still work for you:

http://cmod.wiki/index.php/Manually_disabling_LDAP_authentication

Justin, thanks again. This worked for me. You might want to add to the wiki that you need to restart the library server.
Title: Re: LDAP Question
Post by: Justin Derrick on July 28, 2015, 12:57:01 PM
Excellent tip.  I wrote that article when I couldn't get CMOD to start, so that's a valid point in your scenario.

Thanks!

-JD.
Title: Re: LDAP Question
Post by: jeffs42885 on July 28, 2015, 01:02:20 PM
Quote from: Justin Derrick on July 28, 2015, 12:57:01 PM
Excellent tip.  I wrote that article when I couldn't get CMOD to start, so that's a valid point in your scenario.

Thanks!

-JD.

Is it safe to assume that this is not an IBM supported method?
Title: Re: RESOLVED - LDAP Question
Post by: Justin Derrick on July 28, 2015, 01:16:51 PM
Anything that modifies the database manually is unsupported.  However, if you called them with this problem, this is how you'd have to fix it.
Title: Re: RESOLVED - LDAP Question
Post by: jeffs42885 on July 28, 2015, 03:32:05 PM
Heh, I did that. And I got a blob from a link.

And the link.

Thanks again JD
Title: Re: RESOLVED - LDAP Question
Post by: Alessandro Perucchi on August 03, 2015, 12:07:53 PM
Hello Justin,

just for info, in DB2, you can use the function

BITANDNOT

in order to flip a bit according to your needs.

You were saying in the wiki:

QuoteIn this example, simply subtract 4 from the value returned on your system, and update the field in the database accordingly

if you write that:

$ db2 "update arssys set sys_mask=bitandnot(sys_mask, 4)"

and if the bit 3 is set, then it will be cleared, and if it was cleared, then it stays cleared!

Kind regards,
Alex
Title: Re: RESOLVED - LDAP Question
Post by: Justin Derrick on August 03, 2015, 12:56:12 PM
I swear, I learn as much as I teach here.  :D

That's an excellent tip.  Thanks Alessandro!  I'll try and get that updated today.  :)

-JD.
Title: Re: RESOLVED - LDAP Question
Post by: Justin Derrick on December 14, 2017, 06:17:41 PM
I actually spent some time re-writing and expanding this article in the wiki -- here's the shortcut: https://cmod.wiki/index.php?title=Manually_disabling_LDAP_authentication