Guest User

Untitled

a guest
May 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. adquery user -D "$(hostname -s)"
  2.  
  3. adquery user `hostname -s` --dump
  4.  
  5. adedit myscript "$(adquery user -D "$(hostname -s)")"
  6.  
  7. if { $argc != 1 } {
  8. puts "format: $argv0 hostDN"
  9. exit 1
  10. }
  11.  
  12. set the_dn [lindex $argv 0]
  13.  
  14. bind ... (credentials here)
  15.  
  16. select_object $the_dn
Add Comment
Please, Sign In to add comment