Guest User

Untitled

a guest
Oct 28th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. cn=John Doe,ou=today,dc=is,dc=friday
  2. telephoneNumber 0123456789
  3.  
  4. for (( i=0; i<${ldapquerylength}; i++ ));
  5. do
  6. echo "
  7. dn: cn=John Doe,ou=today,dc=is,dc=friday
  8. givenname: John
  9. surname: Doe
  10. telephonenumber: 6789"
  11.  
  12. telephoneNumber: $(ldapquery[$i] | grep telephonenumber | awk '{ print $NF}'
Add Comment
Please, Sign In to add comment