Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-22-2011, 10:25 PM
Special Member
 
Posts: 117
Question LDAP custom attribute permission issue.

Hello Guys,

I've edited /opt/zimbra/data/ldap/config/cn=config/cn=schema/cn={3}zimbra.ldif file and added some custom attribute in account object. I've wrote an admin extension which adds a new tab in account edit page contains the new attributes.

All the operation works fine like add,edit and delete account. The values of the new attributes gets updated and works like a charm.

Now, I created a new domain admin user and added a grant -set.account.zimbraIsDelegatedAdminAccount to deny.

I've logged in with domain admin user and when I edit any user. I can edit other attributes of account but not my custom attributes.

Can anybody tell me what is wrong with it? And what if I want to make my custom attributes editable and works like normal attributes even if the set.account.zimbraIsDelegatedAdminAccount is deny.

Thank You!

--stalker.
Reply With Quote
  #2 (permalink)  
Old 12-05-2011, 12:13 PM
Project Contributor
 
Posts: 92
Default

I am not quite sure why&how you did add a grant -set.account.zimbraIsDelegatedAdminAccount to deny.
(Are you trying this on ZCS7,right?)

But for making your custom attributes editable for a domain admin,
how about allowing set.account.<your custom attribute> to the domain admin account?
Reply With Quote
  #3 (permalink)  
Old 12-05-2011, 08:48 PM
Special Member
 
Posts: 117
Default

Quote:
Originally Posted by yutaka View Post
I am not quite sure why&how you did add a grant -set.account.zimbraIsDelegatedAdminAccount to deny.
(Are you trying this on ZCS7,right?)

But for making your custom attributes editable for a domain admin,
how about allowing set.account.<your custom attribute> to the domain admin account?
Yup, that exactly what we tried but we had problem that when we try to add our custom attribute, zimbra was giving error that "No such attribute in account". Then we found that we forgot to set a flag which allow domain admin to edit those attributes. So, we changed /opt/zimbra/conf/attrs/zimbra-attrs.xml file and everything worked.
Reply With Quote
  #4 (permalink)  
Old 12-07-2011, 06:24 AM
Project Contributor
 
Posts: 92
Default

So does that mean that your problem has already been solved, right?

Do you still have any issues?
Reply With Quote
  #5 (permalink)  
Old 12-07-2011, 09:15 PM
Special Member
 
Posts: 117
Default

Quote:
Originally Posted by yutaka View Post
So does that mean that your problem has already been solved, right?

Do you still have any issues?
Yes, the issue has been resolved.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.