Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cn=John Doe,ou=today,dc=is,dc=friday
- telephoneNumber 0123456789
- for (( i=0; i<${ldapquerylength}; i++ ));
- do
- echo "
- dn: cn=John Doe,ou=today,dc=is,dc=friday
- givenname: John
- surname: Doe
- telephonenumber: 6789"
- telephoneNumber: $(ldapquery[$i] | grep telephonenumber | awk '{ print $NF}'
Add Comment
Please, Sign In to add comment