Equipment/Turing: Difference between revisions

From London Hackspace Wiki

more smbldap-tools patches
(the logs are complaining about memberUid)
(more smbldap-tools patches)
Line 133: Line 133:
  push(@mods, 'sambaPwdLastSet' => $date);
  push(@mods, 'sambaPwdLastSet' => $date);
  if (defined $config{defaultMaxPasswordAge}) {
  if (defined $config{defaultMaxPasswordAge}) {
</nowiki>
... and /usr/share/perl5/smbldap_tools.pm needs patching with:
<nowiki>
--- smbldap_tools.pm.orig 2013-08-06 09:01:54.000000000 +0100
+++ smbldap_tools.pm 2014-09-15 21:48:27.000000000 +0100
@@ -106,6 +106,7 @@
  list_union
  list_minus
  account_by_sid
+  user_by_uid
  user_next_uid
  user_next_rid
  group_next_uid
</nowiki>
</nowiki>