[Samba] dos/unix line termination

Steven Kurylo skurylo at cleartech.ca
Fri Apr 26 10:17:03 GMT 2002

John Lien wrote:

>I have a simple Samba configuration that has been very low (zero) maintenace
>for months.  Its version 2.2.2.  I want to make a small change, but I cant
>find the info I'm looking for.
>Is there an entry for the smb.conf file that would translate DOS-style line
>terminations to Unix-style line terminations?  My smb.conf looks like this:
>        path = /www/maps
>        comment = Solaris share
>        guest ok = Yes
>        read only = No
>Thanks for your help,
What is your goal?  I don't know if it would work but you could use the 
preexec and the postexec commands to run the utility 'flip'.  Flip 
changes line terminations.  So when a user logs into a share the line 
terminations would change, and when they log out, it changes back..

Steven Kurylo
Information Systems Administrator
Cleartech Industries Inc.
(306) 664-2522

More information about the samba mailing list