Koozali.org: home of the SME Server

Command Line - List Firstname, Lastname, Email ??

Offline wbell

  • ***
  • 49
  • +0/-0
Command Line - List Firstname, Lastname, Email ??
« on: January 21, 2010, 04:08:23 PM »
Is there a easy way at the command line, to list Firstname, Lastname, Email, of all the user accounts?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Command Line - List Firstname, Lastname, Email ??
« Reply #1 on: January 21, 2010, 04:27:07 PM »
Hi

please, explain your problem, not the solution, thank you

Offline wbell

  • ***
  • 49
  • +0/-0
Re: Command Line - List Firstname, Lastname, Email ??
« Reply #2 on: January 21, 2010, 04:39:52 PM »
I've been requested to create an e-mail directory that can be imported into Outlook, Entourage, etc., which contains the users on the mail server.
The person importing the list does not understand how to set up a LDAP directory within their e-mail client, nor do they care to know.
So, if I could output the list of each user's First Name, Last Name, and E-mail Address, to a text file, I could then create a directory for the user to import.
(On a sidenote... Exporting users to a comma or tab-delimited file would be a great feature to add to Server Manager!)   :grin:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Command Line - List Firstname, Lastname, Email ??
« Reply #3 on: January 21, 2010, 04:45:18 PM »
Hi

try http://wiki.contribs.org/Lazy_Admin_Tools, in particular lat-dump script

HTH

Offline wbell

  • ***
  • 49
  • +0/-0
Re: Command Line - List Firstname, Lastname, Email ??
« Reply #4 on: January 21, 2010, 05:16:01 PM »
Thank you.  That will be suffice.