Koozali.org: home of the SME Server

Create custom-template fragment to set "dos filetimes=Y

Offline stabilys

  • *
  • 76
  • +0/-0
  • Ah din't do it!!
    • Stabilys Ltd
Create custom-template fragment to set "dos filetimes=Y
« on: August 26, 2005, 05:22:02 PM »
Hello:

an accounts package (Windows clients) is to be upgraded to a new version. Datafiles live on an e-smith (v 6.0 in use because machine has Compaq SCSI RAID controller which is not supported in 6.01 on).

Having looked through all the samba template fragments I am very unclear on what template-custom fragment to create to override default behaviour to set (at least) two iBays to have "dos filetimes = Yes" set in smb.conf.

The iBays appear to use exclusively db-sourced parameters. I've never had to override or append anything here before.

Any clues, hints, kicks in right direction appreciated.

JR
This, too, will pass ;)

Offline meanpenguin

  • ****
  • 138
  • +0/-0
Create custom-template fragment to set "dos filetimes=Y
« Reply #1 on: August 30, 2005, 07:18:05 PM »
The template fragments for samba are under
/etc/e-smith/templates/etc/smb.conf/

Look through the files and copy the 90ibays to /etc/e-smith/templates-custom/etc/smb.conf/ dir
(creating the dir as necessary)

Modify the file as necessary to add the fragment.

/sbin/e-smith/expand-template /etc/smb.conf
to create the /etc/smb.conf file using the new
fragment.

That is all that would be necessary.
 
You don't have to use db parms, just use hard
coded values.  if  name = "bay1" then ...


Ed