uPortal IRC Logs-2011-09-26

[09:19:45 CDT(-0500)] <brandon> hello
[09:28:51 CDT(-0500)] <athena1> hello brandon
[09:30:01 CDT(-0500)] <brandon> having some problems mapping user attributes from my active directory over ldap to uportal
[09:30:33 CDT(-0500)] <brandon> i followed this guide: https://wiki.jasig.org/display/UPM32/LDAP+User+Attribute+Sources
[09:30:45 CDT(-0500)] <brandon> but it is still showing up "Unrecognized person"
[09:31:18 CDT(-0500)] <brandon> any specific errors i should be looking for in the logs?
[09:32:32 CDT(-0500)] <athena1> i'd recommend turning up logging in log4j.properties on several packages
[09:32:46 CDT(-0500)] <athena1> i think org.jasig.services.persondir and org.springframework.ldap, in particular
[09:32:58 CDT(-0500)] <athena1> usually that prints out a bunch of extra debugging that can help narrow down the problem
[09:33:23 CDT(-0500)] <athena1> you'll want to look at uPortal.log around user login time to find the relevant info
[09:33:59 CDT(-0500)] <athena1> you saw the note about using sAMAccountName for AD?
[09:34:30 CDT(-0500)] <brandon> yup
[09:35:41 CDT(-0500)] <brandon> one thing i do see is: web.RequestAttributeSourceFilter.[] - No username found for attribute 'null'
[09:35:56 CDT(-0500)] <brandon> but after googling it i saw that it was a non issue awhile ago
[09:36:10 CDT(-0500)] <brandon> still the case?
[09:41:49 CDT(-0500)] <athena1> yeah that's true
[09:41:53 CDT(-0500)] <athena1> no worries on that one (smile)
[09:48:10 CDT(-0500)] <athena1> i'm off to a meeting for the next hour plus, but will return eventually - good luck!
[09:49:50 CDT(-0500)] <brandon> thanks
[10:46:34 CDT(-0500)] <EricDalquist> athena1: do you know of any portlets that use the user-agent as a property feature?
[10:46:35 CDT(-0500)] <EricDalquist> I'
[10:46:45 CDT(-0500)] <EricDalquist> I'm looking for an example to share with some devs here
[11:19:52 CDT(-0500)] <athena1> try the calendar portlet
[11:19:59 CDT(-0500)] <athena1> there's a useragentviewnameresolver, or something like that
[11:20:29 CDT(-0500)] <EricDalquist> ah thanks
[11:20:38 CDT(-0500)] <athena1> yep (smile)
[11:26:04 CDT(-0500)] <EricDalquist> got contegix working on upgrading the wiki to confluence 4
[11:26:19 CDT(-0500)] <EricDalquist> if the test upgrade goes well we should be upgraded Friday night
[11:26:27 CDT(-0500)] <athena> oh nice!
[11:30:52 CDT(-0500)] <EricDalquist> grr
[11:31:20 CDT(-0500)] <EricDalquist> apparently I registered on the hibernate jira instance with my unicon email address long ago
[11:31:26 CDT(-0500)] <EricDalquist> now I need to reset my password :op
[11:31:28 CDT(-0500)] <EricDalquist> and canit
[11:31:33 CDT(-0500)] <EricDalquist> can't
[11:31:44 CDT(-0500)] <athena> oh ugh
[11:32:01 CDT(-0500)] <EricDalquist> yeah
[11:32:06 CDT(-0500)] <EricDalquist> guess I just register a new account :/
[11:32:13 CDT(-0500)] <athena> that sucks
[11:32:16 CDT(-0500)] <EricDalquist> yeah
[11:32:24 CDT(-0500)] <athena> they have any admins that can help?
[11:32:38 CDT(-0500)] <EricDalquist> I can't find any admin link
[11:38:00 CDT(-0500)] <brandon> hey athena
[11:38:12 CDT(-0500)] <brandon> javax.naming.directory.InvalidSearchFilterException: invalid attribute description; remaining name 'dc=hccc,dc=campus'
[11:38:14 CDT(-0500)] <brandon> turned my logging up and got this in my log
[11:38:36 CDT(-0500)] <athena> i'm not really sure what that means offhand
[11:38:53 CDT(-0500)] <brandon> does this correspond to my baseDN value?
[11:39:08 CDT(-0500)] <athena> could be - i'm honestly not sure
[11:39:23 CDT(-0500)] <brandon> hmm
[11:39:28 CDT(-0500)] <brandon> anybody else have any idea?
[11:39:43 CDT(-0500)] <EricDalquist> do you have a full stack trace you can share via pastebin?
[11:39:49 CDT(-0500)] <brandon> yeah, one min
[11:40:50 CDT(-0500)] <brandon> http://pastebin.com/gY1r8THw
[11:41:13 CDT(-0500)] <brandon> trying to get attribute mapping to work with uportal and active directory over ldap
[11:41:37 CDT(-0500)] <EricDalquist> can you share your LdapPersonAttributeDao configuration xml?
[11:43:07 CDT(-0500)] <brandon> http://pastebin.com/UHv5Z1xd
[11:43:21 CDT(-0500)] <EricDalquist> ah
[11:43:22 CDT(-0500)] <EricDalquist> ok
[11:43:33 CDT(-0500)]

<EricDalquist> so that

Unknown macro: {0}

bit is actually replaced by a fully created query string


[11:43:38 CDT(-0500)] <EricDalquist> with attribute name and value
[11:44:35 CDT(-0500)]

<EricDalquist> so you need to add a new property that looks like: <property name="queryTemplate" value="

Unknown macro: {0}

"/>


[11:44:55 CDT(-0500)] <EricDalquist> then
[11:45:47 CDT(-0500)] <EricDalquist> change the one entry in your queryAttributeMapping to
[11:45:56 CDT(-0500)] <EricDalquist> <entry key="username" value="sAMAccountName" />
[11:46:18 CDT(-0500)] <EricDalquist> what happens then is when the portal makes an attribute query and "username" is the attrigbute the query is on
[11:46:39 CDT(-0500)] <EricDalquist> the LdapPersonAttributeDao will generate an LDAP query that looks like: sAMAccountName=FOO
[11:46:56 CDT(-0500)] <brandon> ah, ok
[11:47:14 CDT(-0500)] <brandon> thanks, i'll see if that works
[11:52:51 CDT(-0500)] <brandon> awesome, working now
[11:52:57 CDT(-0500)] <EricDalquist> great
[12:18:21 CDT(-0500)] <EricDalquist> so the automatic build now does an initdb and then a data-export of everything
[12:18:31 CDT(-0500)] <EricDalquist> so hopefully that will help verify things as well
[14:03:43 CDT(-0500)] <EricDalquist> uploading uportal maven site via webdav ... wonder how long this will take (tongue)
[14:05:21 CDT(-0500)] <athena> lol
[14:05:23 CDT(-0500)] <athena> i bet a while (smile)
[14:27:06 CDT(-0500)] <foxnesn1> hello
[14:27:44 CDT(-0500)] <foxnesn1> i have successfully setup CAS following the "best practices" guide
[14:28:15 CDT(-0500)] <foxnesn1> now i want to grabe the deployerConfigContext.xml file but do not know where to find it
[14:28:39 CDT(-0500)] <foxnesn1> i need it to replace the default authetication and continue the walkthrough
[14:28:57 CDT(-0500)] <foxnesn1> i am on v 3.4.10
[14:29:14 CDT(-0500)] <wgthom> hey fox
[14:29:38 CDT(-0500)] <wgthom> u prolly have more luck on the jasig-cas channel
[14:30:05 CDT(-0500)] <wgthom> in any case….are you using maven overlay?
[14:30:21 CDT(-0500)] <foxnesn1> yes i am
[14:31:03 CDT(-0500)] <foxnesn1> so it is running just fine in the default scenerio
[14:31:19 CDT(-0500)] <foxnesn1> but now it says i need to grab the latest deployerConfigCOntext.xml
[14:31:28 CDT(-0500)] <wgthom> right.
[14:31:30 CDT(-0500)] <foxnesn1> i search the website and havn't found anything yet
[14:31:34 CDT(-0500)] <wgthom> run mvn package
[14:31:37 CDT(-0500)] <foxnesn1> search*
[14:32:49 CDT(-0500)] <wgthom> then look in target/war/work/org.jasig.cas/cas-server-webapp/WEB-INF
[14:33:02 CDT(-0500)] <wgthom> or you could go find it in github
[14:33:25 CDT(-0500)] <wgthom> copy that to src/main/WEB-INF
[14:33:30 CDT(-0500)] <wgthom> and make your changes there
[14:33:47 CDT(-0500)] <wgthom> ccol?
[14:33:47 CDT(-0500)] <foxnesn1> ahh
[14:33:50 CDT(-0500)] <wgthom> cool?
[14:34:28 CDT(-0500)] <wgthom> also, feel free to improve the wiki doc! (smile)
[14:46:42 CDT(-0500)] <foxnesn1> hrm
[14:46:47 CDT(-0500)] <foxnesn1> ran into an issue
[14:46:50 CDT(-0500)] <foxnesn1> Access denied to: http://repository.jboss.com/maven2/org/opensaml/opensaml/1.1b/opensaml-1.1b.pom -> [Help 1]
[14:46:54 CDT(-0500)] <foxnesn1> the build failed
[14:47:42 CDT(-0500)] <wgthom> ok. I'd take this #jasig-cas or the cas-user list.
[14:48:29 CDT(-0500)] <foxnesn1> k thanks
[14:48:45 CDT(-0500)] <foxnesn1> strang because the default builds just fine
[15:34:59 CDT(-0500)] <EricDalquist> 2 hours later ... still uploading (tongue)
[15:38:22 CDT(-0500)] <athena> ick (tongue)
[15:38:57 CDT(-0500)] <EricDalquist> yeah
[15:39:03 CDT(-0500)] <EricDalquist> just doing this to test the configs
[15:39:11 CDT(-0500)] <EricDalquist> next is to try and figure out how to get bamboo to build the release sites
[15:39:25 CDT(-0500)] <EricDalquist> but I think this is up to date: https://wiki.jasig.org/display/JCH/Publishing+Maven+Sites
[15:39:37 CDT(-0500)] <athena> awesome
[15:39:56 CDT(-0500)] <EricDalquist> and so projects that aren't giant can publish maven sites easily
[15:40:06 CDT(-0500)] <EricDalquist> it takes all of 3 minutes to do the resource server site
[15:40:43 CDT(-0500)] <athena> that's awesome (smile)
[15:40:52 CDT(-0500)] <athena> will be great to have all that set up