Author Topic: RESOLVED - LDAP Question  (Read 4094 times)

jeffs42885

  • Guest
RESOLVED - LDAP Question
« on: July 27, 2015, 07:49:41 AM »
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.
« Last Edit: July 28, 2015, 05:59:25 AM by jsamsung85 »

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: LDAP Question
« Reply #1 on: July 27, 2015, 03:21:31 PM »
Written for AIX, but it should still work for you:

https://cmod.wiki/index.php/Manually_disabling_LDAP_authentication
« Last Edit: December 14, 2017, 10:56:07 AM by Justin Derrick »
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jeffs42885

  • Guest
Re: LDAP Question
« Reply #2 on: July 28, 2015, 05:12:28 AM »
Thank you sir! Much appreciated. I will try this and let ya know how i made out.

jeffs42885

  • Guest
Re: LDAP Question
« Reply #3 on: July 28, 2015, 05:35:03 AM »
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.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: LDAP Question
« Reply #4 on: July 28, 2015, 05:57:01 AM »
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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jeffs42885

  • Guest
Re: LDAP Question
« Reply #5 on: July 28, 2015, 06:02:20 AM »
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?

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: RESOLVED - LDAP Question
« Reply #6 on: July 28, 2015, 06:16:51 AM »
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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jeffs42885

  • Guest
Re: RESOLVED - LDAP Question
« Reply #7 on: July 28, 2015, 08:32:05 AM »
Heh, I did that. And I got a blob from a link.

And the link.

Thanks again JD

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: RESOLVED - LDAP Question
« Reply #8 on: August 03, 2015, 05:07:53 AM »
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:

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

if you write that:

Code: [Select]
$ 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
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: RESOLVED - LDAP Question
« Reply #9 on: August 03, 2015, 05:56:12 AM »
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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: RESOLVED - LDAP Question
« Reply #10 on: December 14, 2017, 11:17:41 AM »
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
« Last Edit: May 24, 2018, 09:47:19 AM by Justin Derrick »
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR