listing just the internet addresses

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mnauta
Posts: 152
Joined: Wed Feb 23, 2005 4:10 pm
Location: Austin, TX

listing just the internet addresses

Postby mnauta » Tue Jan 04, 2011 6:11 pm

I need to have a listing of all the internet addresses on the server, "omshowu -m all -I" gives to much info. is there a way to just get the internet addresses?

Thanks

tdeklein
Posts: 21
Joined: Thu Apr 28, 2005 8:18 am
Location: Germany

Re: listing just the internet addresses

Postby tdeklein » Tue Jan 04, 2011 7:08 pm

You can do that with omsearch:

omsearch -e 'entry-type=1|entry-type=4' -m 'cn/internet-addr'

entry-type 1 represents users while entry-type 4 is for groups. With -m you can choose what attributes will be listed:

CN=Simpson, Bart/INTERNET-ADDR="Simpson, Bart" <Bart.Simpson@springfield.private>
CN=Simpsons/INTERNET-ADDR="Simpsons" <Simpsons@springfield.private>

Cheers
Thomas

mnauta
Posts: 152
Joined: Wed Feb 23, 2005 4:10 pm
Location: Austin, TX

Re: listing just the internet addresses

Postby mnauta » Wed Jan 05, 2011 11:37 am

tdeklein wrote:You can do that with omsearch:

omsearch -e 'entry-type=1|entry-type=4' -m 'cn/internet-addr'

entry-type 1 represents users while entry-type 4 is for groups. With -m you can choose what attributes will be listed:

CN=Simpson, Bart/INTERNET-ADDR="Simpson, Bart" <Bart.Simpson@springfield.private>
CN=Simpsons/INTERNET-ADDR="Simpsons" <Simpsons@springfield.private>

Cheers
Thomas


Thanks, that works perfectly!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests