Home Forums OS X Server and Client Discussion Open Directory ldapsearch help needed

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #377759
    gw1500se
    Participant

    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.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Comments are closed