AFP548

ldapsearch help needed

I want to extract the home directories of all users. I have this query set up: [code] ldapsearch -LLL -x -b dc="myhost",dc="mydomainit",dc="com" uid=\* homeDirectory [/code] 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.
Exit mobile version