Adjust spaces and newlines
This commit is contained in:
parent
1aa1da4777
commit
b3eb09dd07
1
adduser
1
adduser
|
@ -15,6 +15,7 @@ password = os.popen('tr -dc A-Za-z0-9 </dev/urandom | head -c 16; echo ""').read
|
|||
hashedpassword = os.popen('slappasswd -s ' + password).read()
|
||||
print('Password:', password)
|
||||
|
||||
|
||||
# Construct LDIF
|
||||
ldif = '''dn: uid={username},ou=People,dc=exozy,dc=me
|
||||
objectClass: top
|
||||
|
|
Loading…
Reference in a new issue