...making Linux just a little more fun!
Ben Okopnik [ben at linuxgazette.net]
On Fri, Jun 04, 2010 at 12:22:51PM +0800, bayu ramadhan wrote:
> dear linuxgazette, > > i've read about migrating mail server to postfix/cyrus/openldap, , , > > i've tried u'r tutorial, , ,
Who's "u'r"? I'm pretty sure it was Rene Pfeiffer who wrote that article, not "u'r".
HINT: please use standard English, and preferably standard punctuation as well. As you already know, your English isn't of the best; please don't make it any more difficult by adding more levels of obscurity to it.
> but i've some error when execute the perl script,, > > i've attach the screenshoot of the error and the script, , ,
Next time, please just copy and paste the error. It's plain text, so there's no need for screenshots. The error - which I've had to transcribe from your screenshot (an unnecessary waste of time) - was
Communications Error at ./cgate_migrate_ldap.pl line 175, <DATA> line 225.
Taking a look at line 175 of the script shows a pretty good possibility for where the possible problem might be:
173 --> # Bind to servers 174 --> $mesg = $ldap_source->bind($binddn_source, password => 'ldapbppt'); 175 --> $mesg->code && die $mesg->error;
That is, you're trying to bind to a server using the same password that Rene had used in his article. Unless you're using that password, the connection is going to fail.
-- * Ben Okopnik * Editor-in-Chief, Linux Gazette * https://LinuxGazette.NET *
René Pfeiffer [lynx at luchs.at]
Hello!
On Jun 04, 2010 at 0839 -0400, Ben Okopnik appeared and said:
> On Fri, Jun 04, 2010 at 12:22:51PM +0800, bayu ramadhan wrote: > > dear linuxgazette, > > > > i've read about migrating mail server to postfix/cyrus/openldap, , , > > i've tried u'r tutorial, , , > > Who's "u'r"? I'm pretty sure it was Rene Pfeiffer who wrote that > article, not "u'r". > > HINT: please use standard English, and preferably standard punctuation > as well. As you already know, your English isn't of the best; please > don't make it any more difficult by adding more levels of obscurity to > it.
If you use correct language you also decreased the probability of ending in spam folders. Both filter systems I use trash illegible e-mails on sight.
> Taking a look at line 175 of the script shows a pretty good possibility > for where the possible problem might be: > > ``` > 173 --> # Bind to servers > 174 --> $mesg = $ldap_source->bind($binddn_source, password => 'ldapbppt'); > 175 --> $mesg->code && die $mesg->error; > ''' > > That is, you're trying to bind to a server using the same password that > Rene had used in his article. Unless you're using that password, the > connection is going to fail.
I'd suggest the same. Your error is most probably from a failed bind attempt.
Best, Ren?.