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

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
  #11 (permalink)  
Old 05-02-2008, 06:35 AM
raj raj is offline
Moderator
 
Posts: 768
Default

Hi..you can PM me and i will send you the tool and more details.

you dont need to diretly lookinto zimbra LDAP..you should use SOAP API's of zimbra they work great and are version independent to certain degree. Playing with LDAP is not recomended as it can change with versions.
there are some PHP wrappers people have made if you search the fourms.

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #12 (permalink)  
Old 05-02-2008, 07:46 AM
Starter Member
 
Posts: 2
Default

That's great, Raj, I'll PM you soon.

Our knowledge of Zimbra is limited, we're very new to it. It took us a while to get it running. We fell at the tty required hurdle. Some near useless one line answers to the problem being 'comment out the line DEFAULTS requiretty' wasn't helpful because it didn't specify the file. Eventually we found out that it was /etc/sudoers. I still have no idea what visudo is.

We have installed all components of Zimbra, although we have LDAP running on our domain controllers. I connect to LDAP on both domains (not Zimbra) from our website to validate staff and students for certain areas of the site.

Perhaps we'll need a PHP cron job to scan for new accounts on the domains?
Reply With Quote
  #13 (permalink)  
Old 05-03-2008, 11:44 AM
Moderator
 
Posts: 6,237
Default

If you still want that explanation:
Quote:
Originally Posted by mmorse View Post
visudo
comment out:
#Defaults requiretty
Quote:
Originally Posted by mmorse View Post
ie: Type visudo to edit /etc/sudoers rather than another text editor (vi, nano, nedit, gedit, etc). Visudo provides basic sanity checks, looks for parse errors, and locks the sudoers file against multiple simultaneous edits (say you we're in a multi-admin environment).

If requiretty is set sudo will only run when the user is logged in to a real tty. Requiring it disallows things like 'rsh somehost sudo ls' since rsh does not allocate a tty, etc, etc. Here we're turning it off because it's saying "you must have a tty to run sudo".
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.