Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Open-Xchange on Gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 30, 31, 32 ... 37, 38, 39  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
ferp2
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 104

PostPosted: Tue May 31, 2005 1:42 am    Post subject: Reply with quote

OK, never mind my whining about LDAP, turns out I put a "-" instead of a "=" in the ./configure portion of installing OX.
Back to top
View user's profile Send private message
hybrid256
n00b
n00b


Joined: 18 Mar 2005
Posts: 22

PostPosted: Tue May 31, 2005 1:47 pm    Post subject: Reply with quote

ferp2 wrote:
hybrid256 wrote:
I tried to add a user called "walid" in the system but this didn't solved the problem.
I'm clueless.
The error is stating that you already have a user named "walid" who does not belong to any group. Therefore you will have to create a group and add walid to it.

I ran into the same problem, however, when I tried to add a new group, I got the following:

Code:
cd /usr/local/open-xchange/sbin
./addgroup_ox --group="test"
ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN
Added Group test to LDAP

Of course, nothing was added to LDAP. This ugly little problem has cropped again since I upgraded to the latest OX version. I'm having the same problem when trying when trying to add a new user:

Code:
./adduser_ox --username="billy" --passwd="xxxxx" --name="Billy" --sname="Jones" --maildomain="billyjones.com" --ox_timezone="EST"
ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN
LDAP Success
SQL Success


If anyone has any suggestions, please tell me.

Thanks


I found the way !
Well, adding a user don't link it to any group, you have to do it manually using addusertogroup_ox like this :

addusertogroup_ox --user="<user>" --group="users"

The "users" group is created by default and every user should be created linked to that group.
After that, using ical sync or even webdav documents works like a charm and this is really great, I can mount a web share, I can sync Sunbird without any problem, everything is perfect, the only thing I encounter some problems now is the address book.

Here is an error when I try to add a contact to my private contact list (not the global one) :

Quote:

Le contact a bien été créé dans la base de données \nmais n'a pu être inséré dans l'annuaire LDAP : Naming err in ContactLdap javax.naming.NoPermissionException: [LDAP: error code 50 - no write access to parent]; remaining name 'uid=50,ou=addr,uid=walid,ou=Users,ou=OxObjects'


Which means : "the contact has correctly been added to the database but could not be inserted in the LDAP diary" ... any help ?

Please ... there are very few things now to complete and I'll kick Exchange's ASS !!! :twisted:
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Wed Jun 01, 2005 3:54 pm    Post subject: Reply with quote

hybrid256 wrote:
Quote:

Le contact a bien été créé dans la base de données \nmais n'a pu être inséré dans l'annuaire LDAP : Naming err in ContactLdap javax.naming.NoPermissionException: [LDAP: error code 50 - no write access to parent]; remaining name 'uid=50,ou=addr,uid=walid,ou=Users,ou=OxObjects'


Which means : "the contact has correctly been added to the database but could not be inserted in the LDAP diary" ... any help ?

Please ... there are very few things now to complete and I'll kick Exchange's ASS !!! :twisted:


Looks like OpenLDAP is either running into a filesystem permissions issue, or an ACL issue in the LDAP tree.
Back to top
View user's profile Send private message
hybrid256
n00b
n00b


Joined: 18 Mar 2005
Posts: 22

PostPosted: Thu Jun 02, 2005 10:20 am    Post subject: Reply with quote

bitwh0re wrote:


Looks like OpenLDAP is either running into a filesystem permissions issue, or an ACL issue in the LDAP tree.


I just religiously followed the howto ... do you encounter such problems yourself ?
Or do you have any idea on how I could correct this ?

Now everything is working so well, this is the last annoying bit, I even managed to make webmail check works (thanks again for the howto) with the french dictionary.

About that last point, here are some suggestions to complete this great "holly bible" :

- about spell check, you should say in the howto that, for installing the good dictionary, the easiest way is to do "emerge ispell-xx" where xx is the code for your country (ispell-fr for french, ispell-de for german, ispell-es for spanish ...) and you can have the complete list of supported country by typing "emerge --search ispell-"
Explanations on how to modify the xml file could be developped a bit more, I'll send you some additions if you wish.

Anyway, my french dictionary is working very well now but the -Tlatin1 doesn't work with it and that means that it doesn't work correctly whith accentuated characters, I tried -Tunicode and -Tutf8 but it doesn't work :(

- I'd love to see some more explanations about the "LDAP ACL" section ... I didn't really understand the purpose. What is it for ?
In general, I'd love to see some explanations on the purpose of those "addons", some are self explanatory (like CLAM or spell check) but some are not (like LDAP ACL)

- I'd love to see some more added functionalities like spam protection, multiple domains, aliases, some administration articles (how to add a user, set some options, ... well, just to do it simply with all the steps necessary)

This document is really wonderfull and could easily replace any official "user guide" if it was just completed a little.

Sorry, I'm talking too much and I might ask for a dream but this is just because I'm so enthousiast with this thing !

Just to let you know, I began a french translation of the document, I'll send it to you as soon as it is finished.

A++
Back to top
View user's profile Send private message
ferp2
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 104

PostPosted: Fri Jun 03, 2005 9:07 pm    Post subject: Reply with quote

I seem to be stuck trying to get Sunbird working with OX. To get Sunbird to work with OX, I goto Tools/Subscribe to Remote Calendar. First I give Calendar session a name -- Test; then I enter the location as in https://mydomain.com or https://mydomain.com/servlet/webdav.ical. In either case nothing happens. In Sunbird on the left hand side below the menubar, you'll find 2 tabs, one is "Calendar" and the other is "Calendars". When I switch to the "Calendars" tab, I see My Calendar with a checkmark and the new one I created ("Test") with a little red arrow turning around and around. I guess that means it's trying to download something but in my case it's not succeeding. Anyway, if I right click on the Test calendar that I created and then select Edit Calendar, I see that it wants to create a Calendar Data File, as in:

Quote:
/home/user/.mozilla/sunbird/default.jtu/Calendar/CalendarDataFile1.ics


The file, however, never gets created, so I have to stop the procedure from Sunbird.

Anyway, I'm wondering if the problem has to do with the fact that Sunbird can't deal with SSL. So, I'm wondering if anybody has succeeded in accessing OX with Sunbird over https.

Thanks.
Back to top
View user's profile Send private message
feliperal
Apprentice
Apprentice


Joined: 09 Mar 2003
Posts: 168

PostPosted: Sat Jun 04, 2005 1:43 pm    Post subject: Reply with quote

hybrid256 wrote:
bitwh0re wrote:


Looks like OpenLDAP is either running into a filesystem permissions issue, or an ACL issue in the LDAP tree.


I just religiously followed the howto ... do you encounter such problems yourself ?
Or do you have any idea on how I could correct this ?

Now everything is working so well, this is the last annoying bit, I even managed to make webmail check works (thanks again for the howto) with the french dictionary.

About that last point, here are some suggestions to complete this great "holly bible" :


Hybrid256, I would first make sure that all the files in /var/lib/openldap-data belong to owner and group: ldap:ldap
Code:
 chown -R ldap:ldap /var/lib/openldap-data/*


Next, try these ACL. They differ alittle bit from bitwhore's, but I was able to solve that error with these:
Code:
access to dn.base="" by * read
access to dn.base="cn=Subschema" by * read

# protect the userPassword attribute
access to attr=userPassword
  by self =w
  by anonymous auth

# global address book
access to dn.subtree="o=AddressBook,ou=OxObjects,dc=example,dc=org"
  by group.exact="cn=AddressAdmins,o=AddressBook,ou=OxObjects,dc=example,dc=org" write
  by users read

# personal address book
access to dn.regex="^ou=addr,(uid=([^,]+),ou=Users,ou=OxObjects,dc=example,dc=org)$" attrs=children
  by dn.regex="$1" write
access to dn.regex="^uid=([^,]+),ou=addr,(uid=([^,]+),ou=Users,ou=OxObjects,dc=example,dc=org)$" attrs=entry
  by dn.regex="$2" write

# default rule allowing users full access to their own entries
access to *
    by self write
    by users read


Good Luck,
Felipe
Back to top
View user's profile Send private message
linuxholgi
n00b
n00b


Joined: 16 Mar 2005
Posts: 36

PostPosted: Thu Jun 09, 2005 1:39 pm    Post subject: Reply with quote

Thats my problem:

Code:
ox_test root # emerge dev-java/ant
Calculating dependencies ...done!
>>> emerge (1 of 8) dev-java/javacup-0.10k to /
>>> md5 files   ;-) javacup-0.10k.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/digest-javacup-0.10k
>>> md5 src_uri ;-) java_cup_v10k.tar.gz
>>> Unpacking source...
>>> Unpacking java_cup_v10k.tar.gz to /var/tmp/portage/javacup-0.10k/work
>>> Source unpacked.
xargs: jar: No such file or directory
>>> Test phase [not enabled]: dev-java/javacup-0.10k

>>> Install javacup-0.10k into /var/tmp/portage/javacup-0.10k/image/ category dev-java
install: cannot stat `javacup.jar': No such file or directory

!!! ERROR: dev-java/javacup-0.10k failed.
!!! Function java-pkg_dojar, Line 185, Exitcode 1
!!! javacup.jar not found
!!! If you need support, post the topmost build error, NOT this status message.


First emerge told me it was unable to find javac. I added the /opt/sun-jdk/bin directory to my path and was able to invoke javac on the commandline without any trouble. Next thing I did was a symbolic link from the /opt/sun... folder to /bin/javac. Now it is able to find javac but fails at this point.

Any Ideas?

--Holger
Back to top
View user's profile Send private message
Arkanjo
n00b
n00b


Joined: 24 May 2003
Posts: 24
Location: Portugal

PostPosted: Wed Jun 22, 2005 5:21 pm    Post subject: Reply with quote

Hey guys,

I got all working thanks to bitwh0re howto :wink:

But now I wonder how are you guys managing the users?
What tools besides the ones from OX are you using to create or modifing users?

I took a look at http://www.web-cyradm.org for the IMAP part but i still can't make it work.

any thoughts?

regards,
_________________
There are 10 types of people in the world; those who understand binary, and those who don't
Back to top
View user's profile Send private message
hybrid256
n00b
n00b


Joined: 18 Mar 2005
Posts: 22

PostPosted: Thu Jun 23, 2005 8:37 am    Post subject: Reply with quote

Setting up users is quite easy after you did everything correctly following the howto but there are a few steps you'll have to follow :

1) add the user in OX : /usr/local/open-xchange/sbin/adduser_ox (use --help to see the parameters needed)

2) create the mailbox like this : cyrusadm (enter the password as described in the HOWTO) then type cm.<user> where <user> is the username you used with adduser_ox

3) add you created user to a group (the default group is "users" but you can create as many groups as you like)

/usr/local/open-xchange/sbin/addusertogroup_ox --user=john --group=users

You MUST add the user to a group if you want everything to work correctly under Open Xchange, this is a part which is not mentionned in the HOWTO but this is necessary.
When you create a user using adduser_ox, the user is NOT affected to any group (at least, not with 0.8.0.0) so you have to do it manually.

That's all, have fun.
Back to top
View user's profile Send private message
plut0
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 272

PostPosted: Thu Jun 23, 2005 12:54 pm    Post subject: Reply with quote

Anyone know if Open-Xchange works with mysql yet? I see it in the ebuild now.
Back to top
View user's profile Send private message
xunil
n00b
n00b


Joined: 18 Jun 2003
Posts: 36
Location: Blacksburg, VA, USA

PostPosted: Tue Jun 28, 2005 8:53 pm    Post subject: Reply with quote

So I followed the OX on Gentoo guide at http://www.mikefetherston.ca/OX/html/index.html but haven't done any of the extensions yet. Everything appears to be working until I try to log in. Logging in appears to work fine, but when I get redirected I get a blank browser window. There's nothing in view source. When I try to hit any of the OX servlets, I get the blank page, but I can hit the manager through Apache or Tomcat directly, it comes up normally. I've considered a configuration error, but triple-checking seems to indicate that everything is, in fact, correct. Anyone have any ideas?
Back to top
View user's profile Send private message
Arkanjo
n00b
n00b


Joined: 24 May 2003
Posts: 24
Location: Portugal

PostPosted: Tue Jun 28, 2005 10:36 pm    Post subject: Reply with quote

Check your OX logs, here is a good place to start debuging:
http://www.open-xchange.org/oxwiki/TroubleShootingTips
_________________
There are 10 types of people in the world; those who understand binary, and those who don't
Back to top
View user's profile Send private message
xunil
n00b
n00b


Joined: 18 Jun 2003
Posts: 36
Location: Blacksburg, VA, USA

PostPosted: Wed Jun 29, 2005 3:16 pm    Post subject: Reply with quote

Well I got it working (it wasn't finding the Postgresql JAR), but now when I try to go to any of the appointments, tasks, calendars, etc. tabs I get a Permission denied notice that reads " You don't have the permission to access this page." Webmail doesn't work, but I knew it wouldn't -- anyone know how to tell Open-Xchange to use an IMAP server on a different host?
Back to top
View user's profile Send private message
cy_
n00b
n00b


Joined: 06 Apr 2005
Posts: 2

PostPosted: Fri Jul 08, 2005 1:26 pm    Post subject: Reply with quote

Arkanjo wrote:


I got all working thanks to bitwh0re howto :wink:

But now I wonder how are you guys managing the users?
What tools besides the ones from OX are you using to create or modifing users?

I took a look at http://www.web-cyradm.org for the IMAP part but i still can't make it work.

any thoughts?

regards,


http://www.flatmtn.com/computer/Linux-LDAP.html#LdapGeneral-3

as far as i see it, you just need to --enable-sql
add some config stuff and youre done.. i havent tried to do that yet but i will soon and post a progress-report here ;-)

yes, thanks bitwh0re for your great tutorial..

but concering the latest changes on http://www.mikefetherston.ca/OX/html/index.html
why do you use mod_jk and not mod_jk2 ?! ..

cheers :)
Back to top
View user's profile Send private message
bitwh0re
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 214

PostPosted: Mon Jul 11, 2005 2:12 pm    Post subject: Reply with quote

cy_ wrote:

yes, thanks bitwh0re for your great tutorial..

but concering the latest changes on http://www.mikefetherston.ca/OX/html/index.html
why do you use mod_jk and not mod_jk2 ?! ..

cheers :)


You're welcome! I have to thank for taking the time to try it out! I use mod_jk because mod_jk2 has been removed from the portage tree as well as been deprecated by the developers that work on it.

Mike.

PS> I must apologize for not participating lately in the forum here. It's summertime after all and this geek has to work on his tan!! :)
Back to top
View user's profile Send private message
vorel
n00b
n00b


Joined: 13 Jul 2005
Posts: 1

PostPosted: Wed Jul 13, 2005 4:08 pm    Post subject: How can I make alias of user mail in OX ? Reply with quote

Hi
I tried to follow up instructions posted in past by ulwur :
****************
In phpldapadmin I added alias attributes on the users
I added this to my postfix's main.cf
virtual_maps = ldap:ldapsource
ldapsource_query_filter = (|(mail=%s)(alias=%s))
********************
Since that time I am able to see in the list and change email address from which are the e-mails going from.
But still, I am able to receive mails just to e-mail address "ldap_UID"@mydomain.com. When I send email to alias email I can see in postfix log:

postfix/lmtp[8621]: 8C92818630C: to=<my_alias@mydomain.com>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], delay=0, status=bounced (host /var/imap/socket/lmtp[/var/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))

Can you please help?
Thanks,
Ondrej.
Back to top
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 310

PostPosted: Wed Jul 13, 2005 5:16 pm    Post subject: Reply with quote

I hope I'm not being repetitive here, but what all do I have to do to change the Postgres port used throughout?
I can't use 5432 anymore...

Thanks,
-Rick
Back to top
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 310

PostPosted: Wed Jul 13, 2005 6:47 pm    Post subject: Reply with quote

rickvernam wrote:
I hope I'm not being repetitive here, but what all do I have to do to change the Postgres port used throughout?
I can't use 5432 anymore...

Thanks,
-Rick


well, I just upgraded to 0.8.0-4
added
Code:
--with-dbhost=localhost:5431
to the ./configure options

did the trick just fine...
Back to top
View user's profile Send private message
Hibbelharry
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2003
Posts: 88
Location: Bremen, Northern Germany

PostPosted: Thu Jul 14, 2005 6:55 pm    Post subject: receiving mails for other aliases than in ldap Reply with quote

hey guys,
i did the following to assign incoming email aliases to mailboxes not in ldap, see /etc/postfix/main.cf:

alias_maps = hash:/etc/aliases,ldap:ldapsource

after inserting this you can insert lines there like:
incoming_alias receiver_mailbox_name

when you use a default setup of OX don't add the domain in that lines anywhere. after saving the file don't forget to convert it to a postfix db file using postmap command.

greetz from Bremen, Northern Germany
Hibbelharry
Back to top
View user's profile Send private message
lxnay
Retired Dev
Retired Dev


Joined: 09 Apr 2004
Posts: 661
Location: Italy

PostPosted: Sun Jul 17, 2005 3:33 pm    Post subject: Reply with quote

how can I train spamassassin in a fully working Open-Xchange environment? How can I pass to spamassassin an IMAP directory to scan? I've some problems because most spam get a low score and it isn't blocked by spamassassin.

The next thing is... there are some problems when you upgrade sun-jdk, we should use:

Code:
export JAVA_HOME=`java-config -O`


and then use it in ./sbin/add* bash scripts.

Anyone have problems with tomcat that doesn't really start at boot?
I've to restart it manually, at init time, it starts, then it stops again without bashing for errors...

a catalina.sh bug? If I restart it from an xterm, everything work perfectly...
_________________
http://www.sabayon.org
Back to top
View user's profile Send private message
aphex
n00b
n00b


Joined: 27 Feb 2003
Posts: 6

PostPosted: Wed Jul 20, 2005 5:52 pm    Post subject: Can not build up socket Reply with quote

After reading through this thread and the howto, I have gotten everything installed and appears to be running. When I get to the login screen and enter the usename and password that I created, I get the following:

Can not build up socket!
SessionD running?

Of course I have checked for errors in my log files, and have found none, and all sessiond/groupware/webmail scripts have/are running successfully. Any advice or help would be appreciated.
Back to top
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 310

PostPosted: Wed Jul 20, 2005 6:20 pm    Post subject: Reply with quote

My biggest problem getting it to start the first time was that I had not done the following:

/usr/local/open-xchange/etc/init.d/groupware
sudo -u $USER $OX_BIN >> $LOGFILE 2>&1 &
#su $USER -s /bin/bash $OX_BIN >> $LOGFILE 2>&1 &

/usr/local/open-xchange/etc/init.d/sessiond
sudo -u $USER $OX_SESSIOND_BIN >> $LOGFILE 2>&1 &
#su $USER -s /bin/bash $OX_SESSIOND_BIN >> $LOGFILE 2>&1 &

/usr/local/open-xchange/etc/init.d/webmail
sudo -u $USER $OX_BIN >> $LOGFILE 2>&1 &
#su $USER -s /bin/bash $OX_BIN >> $LOGFILE 2>&1 &


have you double checked those?
Back to top
View user's profile Send private message
aphex
n00b
n00b


Joined: 27 Feb 2003
Posts: 6

PostPosted: Wed Jul 20, 2005 6:37 pm    Post subject: Reply with quote

I have the same sudo lines in each init script, and each appears to be starting correctly. As part of my troubleshooting I launched each from separate terminals so I could see what was going on. Throughout this issue, each runs, but nothing happeds when I attempt to login.

I am wondering if this may be caused by a problem with saslauthd or slapd. When I try to issue

ldapsearch -D "cn=Manager,dc=airxcel,dc=com" -W

After I enter my password, I get the following response from stdout

ldap_sasl_interactive_bind_s: No such object (32)

And this shows up in my /var/log/messages

Jul 20 08:50:54 ox slapd[7851]: conn=31 fd=12 ACCEPT from IP=123.2.1.253:35041 (IP=0.0.0.0:389)
Jul 20 08:50:54 ox slapd[7930]: conn=31 op=0 SRCH base="" scope=0 filter="(objectClass=*)"
Jul 20 08:50:54 ox slapd[7930]: conn=31 op=0 SRCH attr=supportedSASLMechanisms
Jul 20 08:50:54 ox slapd[7930]: conn=31 op=0 RESULT tag=101 err=0 text=
Jul 20 08:50:54 ox slapd[7851]: conn=31 fd=12 closed

Maybe I am misunderstanding how this is supposed to work, but I am also unable to connect to my ldap server with phpldapadmin.


Last edited by aphex on Wed Jul 20, 2005 6:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
rickvernam
Guru
Guru


Joined: 09 Jul 2004
Posts: 310

PostPosted: Wed Jul 20, 2005 6:47 pm    Post subject: Reply with quote

nothing in the tomcat logs either (/var/log/tomcat5) ?
Back to top
View user's profile Send private message
aphex
n00b
n00b


Joined: 27 Feb 2003
Posts: 6

PostPosted: Wed Jul 20, 2005 6:54 pm    Post subject: Reply with quote

Nothing unusual, and no errors are in tomcats logs. I can login to the management interface and see all the umin and webdav items started.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 30, 31, 32 ... 37, 38, 39  Next
Page 31 of 39

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum