Re: [jabberd2] LDAP auth by "mail" field

2008-09-08 Thread Tomasz Sterna
Dnia 2008-09-08, pon o godzinie 19:32 +0400, Proskurin Kirill pisze: > Why it was not created by "db-setup.mysql"? It's here: http://jabberd2.xiaoka.com/browser/trunk/tools/db-setup.mysql#L27 The answer to your question should be in your db-setup.mysql processing output. Did MySQL output any erro

Re: [jabberd2] LDAP auth by "mail" field

2008-09-08 Thread Proskurin Kirill
Proskurin Kirill wrote: Tomasz Sterna wrote: If you want to run jabberd with file based database, I would recommend using SQLite3 backend. I'm using it on my local development machine, so it's up to date and maintained. Ok. Im try to use mysql as a storage. Then im auth in logs this: c2s.log:

Re: [jabberd2] LDAP auth by "mail" field

2008-09-08 Thread Proskurin Kirill
Tomasz Sterna wrote: If you want to run jabberd with file based database, I would recommend using SQLite3 backend. I'm using it on my local development machine, so it's up to date and maintained. Oh... It is exactly what im what, but my really old jabberd-2.0.11 run with bdb storage. Im need

Re: [jabberd2] LDAP auth by "mail" field

2008-09-08 Thread Tomasz Sterna
Dnia 2008-09-05, pią o godzinie 16:07 +0400, Proskurin Kirill pisze: > /libexec/ld-elf.so.1: /usr/local/lib/jabberd/storage_db.so: Undefined > symbol "ser_string_set" > Something wrong with db4?.. It looks like so. The BerkeleyDB backend is very old and unmaintained. > Im allready try to rebui

Re: [jabberd2] LDAP auth by "mail" field

2008-09-08 Thread Proskurin Kirill
Proskurin Kirill wrote: Any hints what im need to do? Im start jabberd2 without sm. %/usr/local/etc/rc.d/jabberd start Starting jabberd. %sockstat USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS jabber c2s1832 4 tcp4 127.0.0.1:62473 127.0.0.1:5347

Re: [jabberd2] LDAP auth by "mail" field

2008-09-05 Thread Proskurin Kirill
Sterna wrote: > Dnia 2008-09-05, pią o godzinie 13:56 +0400, Proskurin Kirill pisze: >> Im try to do trace via ktrace/kdump freebsd tool. > > Unfortunately the syscall trace is not really usefull for crash > debugging. > I need the stack back trace to see what happened. > > Please install gdb and

Re: [jabberd2] LDAP auth by "mail" field

2008-09-05 Thread Proskurin Kirill
Tomasz Sterna wrote: Dnia 2008-09-05, pią o godzinie 13:56 +0400, Proskurin Kirill pisze: Im try to do trace via ktrace/kdump freebsd tool. Unfortunately the syscall trace is not really usefull for crash debugging. I need the stack back trace to see what happened. Please install gdb and run s

Re: [jabberd2] LDAP auth by "mail" field

2008-09-05 Thread Tomasz Sterna
Dnia 2008-09-05, pią o godzinie 13:56 +0400, Proskurin Kirill pisze: > Im try to do trace via ktrace/kdump freebsd tool. Unfortunately the syscall trace is not really usefull for crash debugging. I need the stack back trace to see what happened. Please install gdb and run sm under gdb control, th

Re: [jabberd2] LDAP auth by "mail" field

2008-09-04 Thread Jean de Largentaye
Hello, I was hoping someone else would have a better idea, because I'm not really sure what's happening. Your configuration appears correct. from the following lines, I understand that the auth procedure succeeded: C2S : Wed Sep 3 18:32:30 2008 [notice] [6] SASL authentication succeeded: mechani

Re: [jabberd2] LDAP auth by "mail" field

2008-09-04 Thread Tomasz Sterna
Dnia 2008-09-04, czw o godzinie 15:50 +0400, Proskurin Kirill pisze: > anyone?... This looks like a crash in SM. Have you tried getting a stack trace? http://fedoraproject.org/wiki/StackTraces might help. -- /\_./o__ Tomasz Sterna (/^/(_^^' http://www.xiaoka.com/ ._.(_.)_ im:[EMAIL PROTEC

Re: [jabberd2] LDAP auth by "mail" field

2008-09-04 Thread Proskurin Kirill
anyone?... Proskurin Kirill wrote: Jean de Largentaye wrote: Hello, To use the "mail attribute instead of the "uid" attribute, along with the realm, put mail in the section of your c2s.xml. This should behave as you are expecting. hope this helps. John Hello John, thank you for reply. I

Re: [jabberd2] LDAP auth by "mail" field

2008-09-03 Thread Proskurin Kirill
Jean de Largentaye wrote: Hello, To use the "mail attribute instead of the "uid" attribute, along with the realm, put mail in the section of your c2s.xml. This should behave as you are expecting. hope this helps. John Hello John, thank you for reply. Im now trying to setup jabberd-2.2.3 wit

Re: [jabberd2] LDAP auth by "mail" field

2008-09-02 Thread Jean de Largentaye
Hello, To use the "mail attribute instead of the "uid" attribute, along with the realm, put mail in the section of your c2s.xml. This should behave as you are expecting. hope this helps. John On 9/2/08, Proskurin Kirill <[EMAIL PROTECTED]> wrote: > Hello all! > > Im make new ldap structure an

[jabberd2] LDAP auth by "mail" field

2008-09-02 Thread Proskurin Kirill
Hello all! Im make new ldap structure and my jabberd2 clients will auth against it. At this time my users auth by "uid" field and takes a realm like this: domain.com domain2.com ou=People,dc=domain.com,dc=com ou=People,dc=domain2.com,dc=com My *new* LDAP structure looks like this: domains-|