Maybe I should explain the purposes of my site to give a better understanding
of the problems I'm facing.

I'm building a new site for a department of our enterprise. All the
enterprise's computers/users are connected to an intranet. My site should be
accessible for all users who are connected to the intranet, except for
certain pages. Those pages should be restricted to the users belonging to
this specific department only. All users are stored in AD and the idea is
that you should only need to login once, and that is when you logon to the
intranet. The present outdated site, based on Java too, uses a
LDAP-connection to verify if an user belongs to this department, thus
granting or denying access to some of the pages. 

My idea was to build the site using Lenya and then importing all the users
that are allowed to visit certain pages and create a specific group for
them. As the site is only accessible from inside of the intranet I guess all
users on the intranet belong to the "world" visitor group in Lenya.

The point is that no visitor of the website, even the "special visitors"
should have to login manually to the site (of course the admin, reviewer,
site manager etc should log in). When a visitor should want to visit one of
the restricted pages, an automatic connection should be made to the AD,
verifying if the visitor should be granted access or not (just like it works
now with the present site). 

I wonder if this is possible at all with Lenya??


Richard Frovarp wrote:
> 
> jazzhazze wrote:
>> I've found the HTML-source of the error page that occurs when I try to
>> add a
>> LDAP-user. It looks like this:
>>
>> stacktracejava.lang.NullPointerException
>>      at java.util.Hashtable.put(Hashtable.java:396)
>>      at org.apache.lenya.ac.ldap.LDAPUser.bind(LDAPUser.java:359)
>>      at
>> org.apache.lenya.ac.ldap.LDAPUser.getDirectoryEntry(LDAPUser.java:434)
>>      at org.apache.lenya.ac.ldap.LDAPUser.existsUser(LDAPUser.java:146)
>>      at org.apache.lenya.cms.ac.usecases.AddUser.validate(AddUser.java:75)
>>      at
>> org.apache.lenya.cms.ac.usecases.AddUser.doCheckExecutionConditions(AddUser.java:96)
>>      at
>>   
> 
> Somehow the principal being passed in is null. You probably haven't set 
> the mgr-dn property in the ldap config file.
> 
> Richard
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Support-for-Active-Directory----tp16720195p17079343.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to