[BackupPC-users] MOTD file entry breaks authentication
I noticed when setting up my backuppc install that Windows clients with rsyncd software worked OK. A linux box did not. In the log file was the error message auth required, but service is open/insecure. I double-checked the settings, and then tried a simple command-line rsync. I was prompted for a password, as expected. I rsynced to a Windows box, and was also prompted for password. Both were successful at rsyncing a small directory. I turned off authorization requirement, and received a new message in the log for the linux box: unexpected response: '' Puzzled, I looked closer at the command line. There was an extra linefeed on the Linux output: # rsync -azv linuxbox::module . Password: vs. the windows box: # rsync -azv winbox::module . Password: I then checked the rsyncd.conf file on Linux, and discovered that there was an MOTD file listed. The file did not actually exist, but the reference was there. I added a file with "Message of the day" text in it, and voila - that message showed up in the "unexpected response" quotation marks. I removed the motd file reference from rsyncd.conf, and backups to the linux server work fine. The command-line login now looks just like the Windows login - no extra line. I see this error message listed around on the mailing list, so I know I'm not the only one who's run into this. - Paul * * - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] MOTD file entry breaks authentication
On Fri, Mar 7, 2008 at 6:15 PM, Paul <[EMAIL PROTECTED]> wrote: > I noticed when setting up my backuppc install that Windows clients with > rsyncd software worked OK. A linux box did not. In the log file was the > error message auth required, but service is open/insecure. > > I double-checked the settings, and then tried a simple command-line > rsync. I was prompted for a password, as expected. I rsynced to a > Windows box, and was also prompted for password. Both were successful at > rsyncing a small directory. > > I turned off authorization requirement, and received a new message in > the log for the linux box: unexpected response: '' Puzzled, I looked > closer at the command line. There was an extra linefeed on the Linux > output: > ># rsync -azv linuxbox::module . > >Password: > > > vs. the windows box: > ># rsync -azv winbox::module . >Password: > > > > I then checked the rsyncd.conf file on Linux, and discovered that there > was an MOTD file listed. The file did not actually exist, but the > reference was there. I added a file with "Message of the day" text in > it, and voila - that message showed up in the "unexpected response" > quotation marks. > > I removed the motd file reference from rsyncd.conf, and backups to the > linux server work fine. The command-line login now looks just like the > Windows login - no extra line. > > I see this error message listed around on the mailing list, so I know > I'm not the only one who's run into this. > > - Paul > > * * > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > Hello I believe this error is generated from the Perl Rsync module. What version of File::RsyncP are you running? -- Nicholas Hall [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] MOTD file entry breaks authentication
Nicholas Hall wrote: > I believe this error is generated from the Perl Rsync module. What > version of File::RsyncP are you running? > > -- Good question. I found a module URI::Rsync, but not File::RsyncP. Where might I find that? - Paul - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] MOTD file entry breaks authentication
Paul wrote: > Nicholas Hall wrote: >> I believe this error is generated from the Perl Rsync module. What >> version of File::RsyncP are you running? > > Good question. I found a module URI::Rsync, but not File::RsyncP. > Where > might I find that? See the BackupPC documentation: http://backuppc.sourceforge.net/faq/BackupPC.html#requirements Some distributions have ready-to-go packages. I know Debian- and Red Hat-style (via RPMForge) distro's do. What OS are you running and did you install BackupPC from source or using your package manager? Nils Breunese. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] MOTD file entry breaks authentication
Nils Breunese (Lemonbit) wrote: > Paul wrote: > > >> Nicholas Hall wrote: >> >>> I believe this error is generated from the Perl Rsync module. What >>> version of File::RsyncP are you running? >>> >> Good question. I found a module URI::Rsync, but not File::RsyncP. >> Where >> might I find that? >> > > See the BackupPC documentation: > http://backuppc.sourceforge.net/faq/BackupPC.html#requirements > Some distributions have ready-to-go packages. I know Debian- and Red > Hat-style (via RPMForge) distro's do. What OS are you running and did > you install BackupPC from source or using your package manager? > > Nils Breunese. > Ubuntu 7.l0 (Gutsy), everything installed via Synaptic package manager. Ubuntu is up to date according to the package manager. - Paul - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] MOTD file entry breaks authentication
Paul wrote: > Nils Breunese (Lemonbit) wrote: >> Paul wrote: >> >>> Nicholas Hall wrote: >>> I believe this error is generated from the Perl Rsync module. What version of File::RsyncP are you running? >> >>> >>> Good question. I found a module URI::Rsync, but not File::RsyncP. >>> Where >>> might I find that? >> >> See the BackupPC documentation: >> http://backuppc.sourceforge.net/faq/BackupPC.html#requirements >>Some distributions have ready-to-go packages. I know Debian- and >> Red Hat-style (via RPMForge) distro's do. What OS are you running >> and did you install BackupPC from source or using your package >> manager? >> > > Ubuntu 7.l0 (Gutsy), everything installed via Synaptic package > manager. Ubuntu is up to date according to the package manager. The Debian/Ubuntu package name for File::RsyncP is libfile-rsyncp-perl I believe. I don't know if the Debian/Ubuntu package installs this as a dependency automatically. File::RsyncP is the CPAN name and on Red Hat style distro's you can use the package called perl-File-RsyncP from RPMForge. Nils Breunese. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] MOTD file entry breaks authentication
Nils Breunese (Lemonbit) wrote: > The Debian/Ubuntu package name for File::RsyncP is libfile-rsyncp-perl > I believe. I don't know if the Debian/Ubuntu package installs this as > a dependency automatically. File::RsyncP is the CPAN name and on Red > Hat style distro's you can use the package called perl-File-RsyncP > from RPMForge. > Installed, version 0.68-1 (which matches the 0.68 I get by checking the file version with perl -M). And yes, it was installed automatically as a dependency. Perl is currently at 5.8.8. - Paul - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/