/etc/cfengine/debian-edu/cf.lwat is in debian-edu-config 1.702.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | editfiles:
debian.server::
{ /etc/lwat/admin.ini
# Solve bug#1364 (Skolelinux): sambaPwdLastSet is mandatory ldapsam
# attribute since Samba 3.0.2.
BeginGroupIfNoLineContaining "sambaPwdLastSet"
ResetSearch "1"
LocateLineMatching "\[Students\]"
IncrementPointer "6"
InsertLine "sambaPwdLastSet = 1"
ResetSearch "1"
LocateLineMatching "\[Teachers\]"
IncrementPointer "6"
InsertLine "sambaPwdLastSet = 1"
ResetSearch "1"
LocateLineMatching "\[jrAdmins\]"
IncrementPointer "6"
InsertLine "sambaPwdLastSet = 1"
ResetSearch "1"
LocateLineMatching "\[Admins\]"
IncrementPointer "6"
InsertLine "sambaPwdLastSet = 1"
EndGroup
}
|