projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make fallbacks and group resolution more sane
[mirror/userdir-ldap.git]
/
ud-passchk
diff --git
a/ud-passchk
b/ud-passchk
index
e7c3cb7
..
6a7865a
100755
(executable)
--- a/
ud-passchk
+++ b/
ud-passchk
@@
-2,7
+2,7
@@
# -*- mode: python -*-
# Checks the passwd file to make sure all entries are in the directory
# -*- mode: python -*-
# Checks the passwd file to make sure all entries are in the directory
-import
string,
ldap, getopt, sys, os;
+import ldap, getopt, sys, os;
from userdir_ldap import *;
def PassCheck(l,File,HomePrefix):
from userdir_ldap import *;
def PassCheck(l,File,HomePrefix):
@@
-23,7
+23,7
@@
def PassCheck(l,File,HomePrefix):
if Line == "":
break;
if Line == "":
break;
- Split =
string.split(Line,":");
+ Split =
Line.split(":")
if UIDMap.has_key(Split[0]) == 0:
print Line,
continue;
if UIDMap.has_key(Split[0]) == 0:
print Line,
continue;