Re: [SOGo] sogo-tool list users

2015-09-24 Thread Márcio Merlone

Em 23-09-2015 17:35, Steve Ankeny escreveu:

On 09/23/2015 01:57 PM, Márcio Merlone wrote:
Is there how to list all users currently on database, something like 
'sogo-tool list users' or alike?

IF you're using Samba, you can use 'samba-tool' --
'sudo samba-tool user list'


Hi,

My goal is to 'sogo-tool remove' old users from sogo database by 
comparing it with my samba/ldap base, I need to know who is on sogo 
regardless anything else.


Regards.

--
*Marcio Merlone*
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] sogo-tool list users

2015-09-23 Thread Steve Ankeny

On 09/23/2015 01:57 PM, Márcio Merlone wrote:

Greetings!

Is there how to list all users currently on database, something like 
'sogo-tool list users' or alike?


Regards,

--
*Marcio Merlone*


IF you're using Samba, you can use 'samba-tool' --

'sudo samba-tool user list'


--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] sogo-tool list users

2015-09-23 Thread Márcio Merlone

Greetings!

Is there how to list all users currently on database, something like 
'sogo-tool list users' or alike?


Regards,

--
*Marcio Merlone*
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] sogo-tool list users

2015-09-23 Thread Ludovic Marcotte

On 23/09/2015 13:57, Márcio Merlone wrote:
Is there how to list all users currently on database, something like 
'sogo-tool list users' or alike?

sogo-tool doesn't have this feature.

Doing the following SQL request will tell you:

select distinct(c_path2) from sogo_folder_info;

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists