projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
posix -> os
[mirror/userdir-ldap.git]
/
ud-info
diff --git
a/ud-info
b/ud-info
index
4b0c103
..
c77b2d2
100755
(executable)
--- a/
ud-info
+++ b/
ud-info
@@
-16,10
+16,8
@@
# database
# -r Enable 'root' functions, do this if your uid has access to
# restricted variables.
# database
# -r Enable 'root' functions, do this if your uid has access to
# restricted variables.
-#
-# http://www.geocode.com/eagle.html-ssi
-import string, time,
posix
, pwd, sys, getopt, ldap, crypt, whrandom, readline, copy;
+import string, time,
os
, pwd, sys, getopt, ldap, crypt, whrandom, readline, copy;
from userdir_ldap import *;
RootMode = 0;
from userdir_ldap import *;
RootMode = 0;
@@
-237,7
+235,7
@@
def MultiChangeAttr(Attrs,Attr):
print;
# Main program starts here
print;
# Main program starts here
-User = pwd.getpwuid(
posix
.getuid())[0];
+User = pwd.getpwuid(
os
.getuid())[0];
BindUser = User;
# Process options
(options, arguments) = getopt.getopt(sys.argv[1:], "nu:c:a:r")
BindUser = User;
# Process options
(options, arguments) = getopt.getopt(sys.argv[1:], "nu:c:a:r")