Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Export list of clients who joined Open Directory

I would like to be able to run a report of all the clients that have bonded to Open Directory, and if possible, the date they were joined and the last time they were active. Is something like this possible?


Also, I would like to know how to delete/unbind a client computer from Open Directory server if the client computer no longer exists.



OS X 10.10.2

Server.app 4.x

Posted on Mar 30, 2015 9:33 PM

Reply
Question marked as Best reply

Posted on Mar 31, 2015 2:14 PM

You can get a list of devices by running this command:


dscl /LDAPv3/127.0.0.1 list /Computers


However, there is not a lot of details in the computer record. User the following to see the record's key value pairs


dscl /LDAPv3/127.0.0.1 read /Computers/name_of_device


To unbind, you can do it from the workstation if you have access. If you don't, use Directory Utility (available from Server.app's Tools menu) to remove the unneeded machine records.


Reid

Apple Consultants Network

Author "Yosemite Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Author "Mavericks Server – Control and Collaboration" :: Exclusively available in Apple's iBooks Store

2 replies
Question marked as Best reply

Mar 31, 2015 2:14 PM in response to mhadjar

You can get a list of devices by running this command:


dscl /LDAPv3/127.0.0.1 list /Computers


However, there is not a lot of details in the computer record. User the following to see the record's key value pairs


dscl /LDAPv3/127.0.0.1 read /Computers/name_of_device


To unbind, you can do it from the workstation if you have access. If you don't, use Directory Utility (available from Server.app's Tools menu) to remove the unneeded machine records.


Reid

Apple Consultants Network

Author "Yosemite Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

Author "Mavericks Server – Control and Collaboration" :: Exclusively available in Apple's iBooks Store

Export list of clients who joined Open Directory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.