BookmarkSubscribeRSS Feed
nishukhawale
Obsidian | Level 7

Hi,

 

I can not login through SAS Mobile BI App using LDAP user Login, so as a solution I am following below mentioned link for Configuring Web Authentication,

http://support.sas.com/documentation/cdl/en/bimtag/68217/HTML/default/viewer.htm#n1bhp608f0hsoen10i1...

for second maintenance release in step 14 where can I find required information? we have ADFS server in place.

 

Thnaks&Regards

Nishant

 

1 REPLY 1
msinga
SAS Employee

 

The realm definitions in server.xml totally depend on what attributes are supported by your LDAP. By ADFS, do you mean Active Directory Federation Services?

 

In any case a sample Realm for Active Directory LDAP would look like this:'

<Realm className="org.apache.catalina.realm.JNDIRealm" debug="true" allRolesMode="authOnly"
connectionName="CN=username,OU=Organization unit,DC=sample,DC=com"
connectionPassword="password"
connectionURL="ldap://xxx.sss.com:389"
userSearch="(sAMAccountName={0})"
/>

 

 

Another one could be:

 

 

<Realm className="org.apache.catalina.realm.LockOutRealm">

        <Realm className="org.apache.catalina.realm.JNDIRealm"

                allRolesMode="authOnly"

                connectionURL="ldap://sample.demo.com"

                userPattern="{0}@sample.demo.com"

        />

</Realm>

 

It again totally depends on what attributes are supported by your LDAP and you can use tools like ldapsearch to identify the correct pattern for user search in your LDAP.

 

Also here is an external link on some JNDI Realms, for reference

 

https://wiki.apache.org/tomcat/JNDI_HowTo

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 930 views
  • 1 like
  • 2 in conversation