ldapsearch help needed Home › Forums › OS X Server and Client Discussion › Open Directory › ldapsearch help needed This topic has 0 replies, 1 voice, and was last updated 16 years, 10 months ago by gw1500se. Viewing 1 post (of 1 total) Author Posts January 7, 2010 at 2:12 pm #377759 gw1500seParticipant I want to extract the home directories of all users. I have this query set up: ldapsearch -LLL -x -b dc="myhost",dc="mydomainit",dc="com" uid=\* homeDirectory The problem is that this returns both users and groups. I cannot come up with a filter that gives me only users. Can some provide me with the correct syntax for that? TIA. Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In