Anonymous

Equipment/Turing: Difference between revisions

From London Hackspace Wiki
point to the patches.
m (oops)
(point to the patches.)
Line 118: Line 118:
* http://svn.gna.org/viewcvs/smbldap-tools/trunk/smbldap-grouplist.pl?view=patch&r1=135&r2=134&pathrev=135
* http://svn.gna.org/viewcvs/smbldap-tools/trunk/smbldap-grouplist.pl?view=patch&r1=135&r2=134&pathrev=135


... and smbldap-passwd was patched to generate bogus LM password hashes
... and a few others, you can see them all here:


<nowiki>
https://github.com/londonhackspace/hackspace-foundation-sites/tree/ldap/ldap
--- smbldap-passwd.prev 2013-08-06 08:01:54.000000000 +0000
+++ smbldap-passwd 2014-09-11 23:31:33.000000000 +0000
@@ -157,7 +157,8 @@
# the sambaPwdLastSet must be updating
my $date=time;
my @mods;
- push(@mods, 'sambaLMPassword' => $sambaLMPassword);
+ # XXX modified by jasper to generate an invalid LM password.
+ push(@mods, 'sambaLMPassword' => '!'); #$sambaLMPassword);
push(@mods, 'sambaNTPassword' => $sambaNTPassword);
push(@mods, 'sambaPwdLastSet' => $date);
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>


== Graphs ==
== Graphs ==