/srv/irclogs.ubuntu.com/2006/08/16/#ubuntu-server.txt

=== 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
p4Hello. How to adjust Ldap-authorization Samba if LDAP is on OTHER server?10:15
lionelpp4: hello10:17
lionelpthe same10:17
lionelpbut change localhost by your LDAP server :)10:17
p4Thank. Where it is better to look adjustment in Ubuntu LDAP-authorizations SAMBA?10:53
=== alexis_ [n=alexis@212.157.111.5] has joined #ubuntu-server
alexis_hi10:56
alexis_does anyone got the postfix-ldap package to work10:57
alexis_?10:57
lionelpalexis_: yep11:16
alexis_hi11:17
alexis_postfix tells me "SASL CRAM-MD5 authentication failed"11:17
alexis_every time i try to send a mail with a user which is in the ldap base11:18
alexis_testsaslauthd works well (0: OK "Success.")11:19
lionelpFor what purpose you use LDAP with postfix ?11:19
lionelpOk, for SMTP-AUTH ?11:19
alexis_i nned to migrate a macosx server (with netinfo) to ldap11:19
alexis_??11:20
alexis_what do you mean by "Ok, for SMTP-AUTH ?"?11:20
lionelpYou are trying to use SMTP-AUTH with Postfix ?11:21
alexis_yes11:21
alexis_i need the smtp server to allow only ldap users to send mails11:21
lionelp2s11:22
alexis_it works well without authentification11:22
alexis_ok11:22
lionelpalexis_: sorry11:30
alexis_yep11:30
=== ToonArmy [n=chris@88-105-188-93.dynamic.dsl.as9105.com] has joined #ubuntu-server
lionelpYou does not need postfix-ldap to make SMTP-AUTH11:30
lionelppostfix-ldap is for maps LDAP support in postfix11:30
lionelp(for example if you store mail addreses in LDAP)11:30
alexis_it's what i want to do11:31
lionelpin your case, it is SASL (saslauthd to be more precise) that will interact with LDAP11:31
lionelpOk :)11:31
alexis_yes 11:31
alexis_saslauthd works11:31
lionelpwith LDAP ?11:31
lionelpOh, i know11:32
alexis_but postfix always tell me "SASL authentication failure: no secret in database"11:32
lionelpdid you take care of Postfix chroot ?11:32
alexis_yes11:32
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
alexis_i have a testman in ldap and "testsaslauthd -u testman -p 123" works11:32
lionelpThat's fine for saslauthd11:33
alexis_yes i did some changes in configuration files (google)11:33
lionelpHow did you had saslauthd socket in postfix chroot ?11:33
alexis_but when  i try testsaslauthd being not root it does not work11:34
alexis_i added a few lines into /etc/init.d/saslauthd11:36
lionelpCan you show me the /etc/default/saslauthd ?11:36
alexis_yes11:37
alexis_2s11:37
alexis_http://paste.ubuntu-nl.org/2074411:38
alexis_and i added these lines into /etc/init.d/saslautd: http://paste.ubuntu-nl.org/2074311:39
lionelpOk11:40
alexis_and i modified 2 lines in the beginning of /etc/init.d/saslautd:11:40
alexis_PWDIR=/var/spool/postfix/var/run/saslauthd11:40
alexis_PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"11:40
p4How to LDAP+SAMBA?11:42
p4How to LDAP+SAMBA?11:42
alexis_i haven't tried samba yet11:42
alexis_but ftp works well11:42
alexis_ftp+ldap i mean11:42
lionelpalexis_: what is the content of /etc/postfix/sasl/smtpd.conf ?11:43
alexis_pwcheck_method: saslauthd11:43
lionelpp4: We understand even if you ask only once :)11:43
lionelpp4: did you check http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/11:44
lionelpoh sorry alexis_ i missed your answer11:46
lionelpyou should add the following line11:47
lionelpmech_list: PLAIN LOGIN11:47
alexis_ok i'll try11:47
alexis_it does not work11:48
alexis_i check the logs...11:48
lionelpdid you reload postfix ?11:49
alexis_yes11:49
alexis_the log is not the same11:49
alexis_2s i post it on pastebin11:49
alexis_over there http://paste.ubuntu-nl.org/2075211:50
alexis_it is the same error i i tell sylpheed-claws to use AUTH PLAIN instead of AUTH LOGIN 11:54
alexis_"cannot connect to saslauthd server: No such file or directory"... which file is it talking about?11:56
lionelpalexis_: I think this is the socket file12:01
alexis_i see the problem12:03
alexis_/var/run/saslautd is a link to /var/spool/postfix/var/run/saslauthd12:03
alexis_but /var/spool/postfix/var/run/saslauthd does not exist even if saslautd is running12:04
lionelphum...12:04
lionelpCan you check the content of /var/run/saslauthd ?12:05
lionelpDoes your socket even exists ?12:05
alexis_i will put back the original configuration12:05
lionelpI personnaly used a moutn with bind option12:05
lionelpHere is my fstab entry :  /var/run/saslauthd /var/spool/postfix/var/run/saslauthd none bind,defaults 0 012:06
alexis_i will try this12:07
=== allee [n=ach@allee.exgal.mpe.mpg.de] has joined #ubuntu-server
alexis_wow12:08
alexis_i dont kno what i have changed but testsaslauthd does not work anymore12:09
alexis_ok now it works again12:12
alexis_so i must keep PWDIR=/var/spool/postfix/var/run/saslauthd ?12:12
lionelpno12:12
alexis_i need to put back PWDIR=/var/run/saslauthd?12:12
lionelpI would do so12:13
alexis_ok12:13
alexis_now i'll change my fstab12:13
alexis_YES12:15
alexis_authentification is OK12:16
alexis_but now...12:16
alexis_it wouldn't send my mail12:16
alexis_[12:16:39]  ESMTP< 235 Authentication successful12:16
alexis_but after that it does nothing12:17
alexis_AUTH PLAIN works and AUTH LOGIN works12:17
lionelpdid you changed the smtpd_recipient_restrictions ?12:18
alexis_smtpd_recipient_restrictions = permit_mynetworks12:19
alexis_                               permit_sasl_authenticated12:19
alexis_                               reject_unauth_destination12:19
lionelpOk, looks good12:20
lionelpDoes log tell you more ?12:20
alexis_2s i look12:20
alexis_i ll post it12:20
alexis_ah12:21
alexis_fatal: ldap:aliases(0,100): table lookup problem12:21
lionelpalexis_: I will look at it after lunch12:21
lionelpoh, you've got it12:21
alexis_ok12:21
alexis_bon appetit12:21
lionelpcollegues are waiting for me12:21
lionelpmerci :)12:21
alexis_thank you very much12:22
=== DevGet [n=gustav@h54n5fls32o1096.telia.com] has joined #ubuntu-server
DevGetI get "forbidden" when I'm trying to go to the defult cgi-bin in my webbrowser, whats wrong?01:03
DevGetwhat's*01:03
DevGetoh, sry01:03
DevGetwrong channel01:03
=== 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
alexis_are you here lionelp?04:38
=== J_P [n=jp@200.146.37.219] has joined #ubuntu-server
J_Phi all05:33
J_Phey all, anyone know some colocation (server location) in the web that install ubuntu too in servers ?05:34
=== 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
infinityJ_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
infinityJ_P: Another option is someplace like www.layeredtech.com that installs Debian Sarge, and you can "sidegrade" from Sarge to Dapper.06:17
J_Pinfinity: humm second option is better, but yet is bad, becouse I would like two HDs doing RAID and LVM, so ned do this in instalation06:18
=== 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
dj_ryanhail people.10:29
=== 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

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!