=== Krumz [n=vircuser@cpe-66-25-180-250.austin.res.rr.com] has joined #ubuntu-server === Krumz [n=vircuser@cpe-66-25-180-250.austin.res.rr.com] has left #ubuntu-server [] === jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server === zenrox [n=zenrox@pool-71-120-239-162.spknwa.dsl-w.verizon.net] has joined #ubuntu-server === zen-afk [n=zenrox@pool-71-120-239-162.spknwa.dsl-w.verizon.net] has joined #ubuntu-server === ToonArmy [n=chris@88-105-188-93.dynamic.dsl.as9105.com] has joined #ubuntu-server === p4 [n=p4@62.33.89.232] has joined #ubuntu-server [10:15] Hello. How to adjust Ldap-authorization Samba if LDAP is on OTHER server? [10:17] p4: hello [10:17] the same [10:17] but change localhost by your LDAP server :) [10:53] Thank. Where it is better to look adjustment in Ubuntu LDAP-authorizations SAMBA? === alexis_ [n=alexis@212.157.111.5] has joined #ubuntu-server [10:56] hi [10:57] does anyone got the postfix-ldap package to work [10:57] ? [11:16] alexis_: yep [11:17] hi [11:17] postfix tells me "SASL CRAM-MD5 authentication failed" [11:18] every time i try to send a mail with a user which is in the ldap base [11:19] testsaslauthd works well (0: OK "Success.") [11:19] For what purpose you use LDAP with postfix ? [11:19] Ok, for SMTP-AUTH ? [11:19] i nned to migrate a macosx server (with netinfo) to ldap [11:20] ?? [11:20] what do you mean by "Ok, for SMTP-AUTH ?"? [11:21] You are trying to use SMTP-AUTH with Postfix ? [11:21] yes [11:21] i need the smtp server to allow only ldap users to send mails [11:22] 2s [11:22] it works well without authentification [11:22] ok [11:30] alexis_: sorry [11:30] yep === ToonArmy [n=chris@88-105-188-93.dynamic.dsl.as9105.com] has joined #ubuntu-server [11:30] You does not need postfix-ldap to make SMTP-AUTH [11:30] postfix-ldap is for maps LDAP support in postfix [11:30] (for example if you store mail addreses in LDAP) [11:31] it's what i want to do [11:31] in your case, it is SASL (saslauthd to be more precise) that will interact with LDAP [11:31] Ok :) [11:31] yes [11:31] saslauthd works [11:31] with LDAP ? [11:32] Oh, i know [11:32] but postfix always tell me "SASL authentication failure: no secret in database" [11:32] did you take care of Postfix chroot ? [11:32] yes === ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server [11:32] i have a testman in ldap and "testsaslauthd -u testman -p 123" works [11:33] That's fine for saslauthd [11:33] yes i did some changes in configuration files (google) [11:33] How did you had saslauthd socket in postfix chroot ? [11:34] but when i try testsaslauthd being not root it does not work [11:36] i added a few lines into /etc/init.d/saslauthd [11:36] Can you show me the /etc/default/saslauthd ? [11:37] yes [11:37] 2s [11:38] http://paste.ubuntu-nl.org/20744 [11:39] and i added these lines into /etc/init.d/saslautd: http://paste.ubuntu-nl.org/20743 [11:40] Ok [11:40] and i modified 2 lines in the beginning of /etc/init.d/saslautd: [11:40] PWDIR=/var/spool/postfix/var/run/saslauthd [11:40] PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid" [11:42] How to LDAP+SAMBA? [11:42] How to LDAP+SAMBA? [11:42] i haven't tried samba yet [11:42] but ftp works well [11:42] ftp+ldap i mean [11:43] alexis_: what is the content of /etc/postfix/sasl/smtpd.conf ? [11:43] pwcheck_method: saslauthd [11:43] p4: We understand even if you ask only once :) [11:44] p4: did you check http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/ [11:46] oh sorry alexis_ i missed your answer [11:47] you should add the following line [11:47] mech_list: PLAIN LOGIN [11:47] ok i'll try [11:48] it does not work [11:48] i check the logs... [11:49] did you reload postfix ? [11:49] yes [11:49] the log is not the same [11:49] 2s i post it on pastebin [11:50] over there http://paste.ubuntu-nl.org/20752 [11:54] it is the same error i i tell sylpheed-claws to use AUTH PLAIN instead of AUTH LOGIN [11:56] "cannot connect to saslauthd server: No such file or directory"... which file is it talking about? [12:01] alexis_: I think this is the socket file [12:03] i see the problem [12:03] /var/run/saslautd is a link to /var/spool/postfix/var/run/saslauthd [12:04] but /var/spool/postfix/var/run/saslauthd does not exist even if saslautd is running [12:04] hum... [12:05] Can you check the content of /var/run/saslauthd ? [12:05] Does your socket even exists ? [12:05] i will put back the original configuration [12:05] I personnaly used a moutn with bind option [12:06] Here is my fstab entry : /var/run/saslauthd /var/spool/postfix/var/run/saslauthd none bind,defaults 0 0 [12:07] i will try this === allee [n=ach@allee.exgal.mpe.mpg.de] has joined #ubuntu-server [12:08] wow [12:09] i dont kno what i have changed but testsaslauthd does not work anymore [12:12] ok now it works again [12:12] so i must keep PWDIR=/var/spool/postfix/var/run/saslauthd ? [12:12] no [12:12] i need to put back PWDIR=/var/run/saslauthd? [12:13] I would do so [12:13] ok [12:13] now i'll change my fstab [12:15] YES [12:16] authentification is OK [12:16] but now... [12:16] it wouldn't send my mail [12:16] [12:16:39] ESMTP< 235 Authentication successful [12:17] but after that it does nothing [12:17] AUTH PLAIN works and AUTH LOGIN works [12:18] did you changed the smtpd_recipient_restrictions ? [12:19] smtpd_recipient_restrictions = permit_mynetworks [12:19] permit_sasl_authenticated [12:19] reject_unauth_destination [12:20] Ok, looks good [12:20] Does log tell you more ? [12:20] 2s i look [12:20] i ll post it [12:21] ah [12:21] fatal: ldap:aliases(0,100): table lookup problem [12:21] alexis_: I will look at it after lunch [12:21] oh, you've got it [12:21] ok [12:21] bon appetit [12:21] collegues are waiting for me [12:21] merci :) [12:22] thank you very much === DevGet [n=gustav@h54n5fls32o1096.telia.com] has joined #ubuntu-server [01:03] I get "forbidden" when I'm trying to go to the defult cgi-bin in my webbrowser, whats wrong? [01:03] what's* [01:03] oh, sry [01:03] wrong channel === jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server === lbm [n=lbm@cpe.atm2-0-75146.0x535a2f1e.vgnxx2.customer.tele.dk] has joined #ubuntu-server === tmarble [n=tmarble@192.18.101.5] has joined #ubuntu-server [04:38] are you here lionelp? === J_P [n=jp@200.146.37.219] has joined #ubuntu-server [05:33] hi all [05:34] hey all, anyone know some colocation (server location) in the web that install ubuntu too in servers ? === lionelp [n=lionel@ip-128.net-82-216-65.rev.numericable.fr] has joined #ubuntu-server === ivoks [n=ivoks@lns02-0048.dsl.iskon.hr] has joined #ubuntu-server === harisund [n=harisund@ip24-255-87-152.br.br.cox.net] has joined #ubuntu-server [06:17] J_P: I don't know of any off hand, but I've always just gone with places that do RedHat or CentOS or whatever, then debootstrapped an ubuntu install, and used a static shell to mangle it into place. [06:17] J_P: Another option is someplace like www.layeredtech.com that installs Debian Sarge, and you can "sidegrade" from Sarge to Dapper. [06:18] infinity: humm second option is better, but yet is bad, becouse I would like two HDs doing RAID and LVM, so ned do this in instalation === harisund [n=harisund@ip24-255-87-152.br.br.cox.net] has left #ubuntu-server [] === DJ_Mirage [n=martijn@biggetje.xs4all.nl] has joined #ubuntu-server === airjump [n=MZ@p508ACDB4.dip.t-dialin.net] has joined #ubuntu-server === airjump [n=MZ@p508ACDB4.dip.t-dialin.net] has left #ubuntu-server [] === Valery [n=valery@217.196.165.225] has joined #ubuntu-server === Valery [n=valery@217.196.165.225] has left #ubuntu-server [] === MagicFab [n=magicfab@modemcable113.78-83-70.mc.videotron.ca] has joined #ubuntu-server === MagicFab [n=magicfab@modemcable113.78-83-70.mc.videotron.ca] has left #ubuntu-server ["Leaving"] === dj_ryan [i=ryan@dsl254-013-187.sea1.dsl.speakeasy.net] has joined #ubuntu-server [10:29] hail people. === harisund [n=harisund@ip24-255-87-152.br.br.cox.net] has joined #ubuntu-server === harisund [n=harisund@ip24-255-87-152.br.br.cox.net] has left #ubuntu-server [] === harisund_ [n=harisund@ip24-255-87-152.br.br.cox.net] has joined #ubuntu-server