how do you use dscl to query values



I am trying to use dscl to query for a DN using the UniqueID.

I can do something like this:

sudo dscl localhost read /Search/Users/jberger dn

and it gets the DN. I want to use the UniqueID to get the DN.

Anyone have any ideas?

--joubert

.