After playing around with the samba2-20000418.diff patch and initially having difficulties applying it, I noticed that my problem was due to the file being in MSDOS format, i.e. lots of "^M" characters. This may happen more often to users downloading the patch from the patches page who are in heterogenous Microsoft/Amanda Compatible networks. More so if you use wordpad, notepad, vim or Linux vi, this error may not seem obvious. I have posted this mail in aid of all previous correspondence with similar problems. There are a number of solutions, mine was using vi, an editor of choice:- sh% vi samba2-20000418.diff (in vi type the following commands) :1,$ s/<CTRL v><CTRL m>//g<RETURN> :wq (where commands in braces <> denote special keys) Clearly to apply the patch, cd to the root directory of the unarchived amanda distribution and use the comman:- sh% cd <root where amanda dist sits> sh% ls amanda-2.4.1p1 .. .. samba2-20000418.diff .. .. sh% patch -p0 < samba2-20000418.diff I hope this is some help to someone.
