Just remembered, I don't have this problem with ^M in Samba, it's on a PC with NFS-client software that mounts a directory from my Unix server. The PC get the ^M in files from the NFS-mounted dir unless I run them through the script first. I have never seen this problem with Samba.
-Fredrik
Hello Emma
I solved the problem with this script, hope it works for you:
#!/usr/bin/ksh
#
for FILENAME in $* ; do
sed 's/$/^M/g' ${FILENAME}
done
I called it ux2dos (like in HP-UX) and the syntax is:
ux2dos file1(with ^M) >> file2(free from ^M)
/F
Eric,
Do you have loopback and localhost defined in your /etc/hosts?
Also put your hostname there with ip of your "standard" interface.
-Fredrik
Rocky,
As "bi" writes, you shuold use BSD as "type of print spooler on remote server", when you set up the queue. Not AIX or System V!
Fredrik
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.