#!/bin/bash
# Samba-TNG                                               basicentries
# --------------------------------------------------------------------
# Script to replace variables in basicentries.ldif.dot with values 
# in ./prefs
#
. ./prefs
cat basicentries.ldif.dot|sed s/"\$topsuffix"/$topsuffix/g |sed s/"\$smbsuffix"/$smbsuffix/g |sed s/"\$usersuffix"/$usersuffix/g |sed s/"\$groupsuffix"/$groupsuffix/g |sed s/"\$sambaorg"/$sambaorg/g> basicentries.ldif
