wuzamarine Absent Member.
Absent Member.
1849 views

How I dump the groupwise userlist via cli

The GUI, is absolutely useless.
It locks, it doesn't drop any errors either.
It's there a 'non gui solution' or even just a solution to dropping the userlist from groupwise?
http://i.imgur.com/zyEdqBf.png

I 'should' be able to dump the user list with thier statistics.
Where is this tool hidden? Hopefully, not in the GUI either.
Labels (2)
0 Likes
11 Replies
jmarton2 Absent Member.
Absent Member.

Re: How I dump the groupwise userlist via cli

wuzamarine wrote:

>
> The GUI, is absolutely useless.
> It locks, it doesn't drop any errors either.
> It's there a 'non gui solution' or even just a solution to dropping
> the userlist from groupwise?
> http://i.imgur.com/zyEdqBf.png
>
> I 'should' be able to dump the user list with thier statistics.
> Where is this tool hidden? Hopefully, not in the GUI either.


You could use a third-party solution such as JRB Utilities.

http://www.jrbsoftware.com/jrbutils_nw/choosing/groupwise/

If you upgrade to GroupWise 2014, the new web admin console easily
allows you to do this without any third-party software. You could also
leverage the REST interface to get such a list using the proper HTTP
query.

--
Your world is on the move. http://www.novell.com/mobility/
BrainShare 2014 is coming. http://www.novell.com/brainshare/

Joe Marton Emeritus Knowledge Partner
0 Likes
wuzamarine Absent Member.
Absent Member.

Re: How I dump the groupwise userlist via cli

Are you trying to tell me, that the only way to query the database is via some third party paid application?
Novell has stripped basic database accounting from it's administration????
Now I truly know why this mta is a complete failure.

I will always steer my future customers away from Novell like the plague.

I don't believe it, Microsoft finally beat another product.
Microsoft is the best at nothing, but it is far better than Novell.

At least you can dump basic accounting via the admin console in Exchange.


jmarton;2334075 wrote:
wuzamarine wrote:

>
> The GUI, is absolutely useless.
> It locks, it doesn't drop any errors either.
> It's there a 'non gui solution' or even just a solution to dropping
> the userlist from groupwise?
> http://i.imgur.com/zyEdqBf.png
>
> I 'should' be able to dump the user list with thier statistics.
> Where is this tool hidden? Hopefully, not in the GUI either.


You could use a third-party solution such as JRB Utilities.

http://www.jrbsoftware.com/jrbutils_nw/choosing/groupwise/

If you upgrade to GroupWise 2014, the new web admin console easily
allows you to do this without any third-party software. You could also
leverage the REST interface to get such a list using the proper HTTP
query.

--
Your world is on the move. http://www.novell.com/mobility/
BrainShare 2014 is coming. http://www.novell.com/brainshare/
0 Likes
jmarton2 Absent Member.
Absent Member.

Re: How I dump the groupwise userlist via cli

wuzamarine wrote:

> Are you trying to tell me, that the only way to query the database is
> via some third party paid application?
> Novell has stripped basic database accounting from it's
> administration????


GroupWise is a collection of databases (domain/post
office/user/message) so it's not quite like querying a standard SQL
database of some sort. Regardless, in versions up through 2012 the
main way of getting information out of GW is through ConsoleOne or via
third-party utilities.

However, as I mentioned in my last post, this has all been completely
redesigned with GroupWise 2014. There's powerful web-based
administration with rich searching and filtering capability which can
easily be exported to a CSV, or the REST interface can be queried
directly via HTTP calls through any number of scripting technologies
(bash or powershell).

--
Your world is on the move. http://www.novell.com/mobility/
BrainShare 2014 is coming. http://www.novell.com/brainshare/

Joe Marton Emeritus Knowledge Partner
0 Likes
Bob-O-Rama
Visitor.

Re: How I dump the groupwise userlist via cli

You have LDAP access to the eDirectory. You seems more comfortable using open source / CLI tools, so use ldapsearch and export the whole mess. Any account which has GroupWise has a ngwObjectID attribute as well as several other GW specific attributes. This will include any GroupWise specific attributes that exist.

You seem to be supporting a 10 year old GroupWise setup stuck at version 7.0 - that is 3 major releases behind. So some of the problem you have are those of supporting abandoned installations.

-- Bob
0 Likes
tunage Absent Member.
Absent Member.

Re: How I dump the groupwise userlist via cli

with ldapsearch
ldapsearch -x -ZZ -h localhost -D "cn=admin,o=tree" -b o=tree mail |grep mail:
0 Likes
Knowledge Partner
Knowledge Partner

Re: How I dump the groupwise userlist via cli

In article <wuzamarine.6ktrxc@no-mx.forums.novell.com>, Wuzamarine
wrote:
> I 'should' be able to dump the user list with thier statistics.
> Where is this tool hidden? Hopefully, not in the GUI either.
>

To get at any statistics, you need to trigger a GWCheck job that
collects that information and sends it as an internal GroupWise message
to the designated administrator.

A whole lot can be done with GroupWise, but like every other system out
there, only if you put the round pegs in the round holes and the square
pegs into the square holes will you get anywhere useful. Like any
system, if you learn its ways, you can get far, if you try and force it
with the wrong assumptions, you'll just get stuck and frustrated.
Either learn how GroupWise works (aka RTFM
https://www.novell.com/documentation/gw7/
https://www.novell.com/documentation/gw8/ or
https://www.novell.com/documentation/groupwise2012/ as applicable, you
weren't clear as to what version you are running) so you can talk to it
on its own terms, or get in a consultant who can help you get to where
you need to be.
GroupWise is a wonderful, robust, secure, scalable and easy to manage
system, better than Exchange in so many ways. But any system that is
mishandled will be much much less than it can be otherwise.

When in Rome, do as the Romans do.


Andy of
KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!

___
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
wuzamarine Absent Member.
Absent Member.

Re: How I dump the groupwise userlist via cli

I don't see how or where GWCheck could possibly be more robust than ldapsearch and ldapmodify for managing the network GPOs especially when you consider that ldap commands are the same on Linux as they are on MS products (cross platform).
The skill level of the forum only seems to know the GUI method which for what ever reason or another just hangs on me without any error to assist with debugging.
ldapsearch started to upchucked beautiful syntax errors and connection errors allowing me to quickly debug my faults and solve the issue.
It would appear that Novell has lost tough which it's roots and is now just a proprietary management mess ontop of ldap.
Go straight for the source and bypass the management BS.
The shortest distance between two points is a straight line...

konecnya;2334780 wrote:
In article <wuzamarine.6ktrxc@no-mx.forums.novell.com>, Wuzamarine
wrote:
> I 'should' be able to dump the user list with thier statistics.
> Where is this tool hidden? Hopefully, not in the GUI either.
>

To get at any statistics, you need to trigger a GWCheck job that
collects that information and sends it as an internal GroupWise message
to the designated administrator.

A whole lot can be done with GroupWise, but like every other system out
there, only if you put the round pegs in the round holes and the square
pegs into the square holes will you get anywhere useful. Like any
system, if you learn its ways, you can get far, if you try and force it
with the wrong assumptions, you'll just get stuck and frustrated.
Either learn how GroupWise works (aka RTFM
https://www.novell.com/documentation/gw7/
https://www.novell.com/documentation/gw8/ or
https://www.novell.com/documentation/groupwise2012/ as applicable, you
weren't clear as to what version you are running) so you can talk to it
on its own terms, or get in a consultant who can help you get to where
you need to be.
GroupWise is a wonderful, robust, secure, scalable and easy to manage
system, better than Exchange in so many ways. But any system that is
mishandled will be much much less than it can be otherwise.

When in Rome, do as the Romans do.


Andy of
KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!
0 Likes
jmarton2 Absent Member.
Absent Member.

Re: How I dump the groupwise userlist via cli

wuzamarine wrote:

> The skill level of the forum only seems to know the GUI method
>
> It would appear that Novell has lost tough which it's roots


As mentioned multiple times in the thread, there are a whole host of
tools built into GW if you upgrade to GW2014--both GUI and
command-line. The new REST interface in particular provides a lot more
flexibility than GW has had in a long, long time.

--
Your world is on the move. http://www.novell.com/mobility/
BrainShare 2014 is coming. http://www.novell.com/brainshare/

Joe Marton Emeritus Knowledge Partner
0 Likes
Bob-O-Rama
Visitor.

Re: How I dump the groupwise userlist via cli

wuzamarine;2334807 wrote:
The shortest distance between two points is a straight line...


Its actually a segment of a geodesic, but this forums is for GroupWise, not assessing the distance between points. If you have a specific question about GroupWise rather than geometry, we'd be happy to answer it, but your question has already been asked and answered.

-- Bob
0 Likes
Knowledge Partner
Knowledge Partner

Re: How I dump the groupwise userlist via cli

In article <wuzamarine.6l64db@no-mx.forums.novell.com>, Wuzamarine wrote:
> I don't see how or where GWCheck could possibly be more robust than
> ldapsearch and ldapmodify for managing the network GPOs

Because GWCheck is run within the PostOffice Agent to gather data that
has not yet (pre GW2014) made available to the ldap interface. What has
made it to the ldap interface pre GW 2014 is not a complete snap shot of
what most people where looking for. I pointed out GWCheck in direct
answer to your not finding "basic database accounting" because happens to
be THE interface for the versions you are using. GWCheck processes are
what supplies some of that accounting information to the ldap interface.
Microsoft's Exchange has the same sort of process that runs against the
mail system to feed to the useful spots in their directory service, one
of those few times where Microsoft got there ahead of Novell.

GPO's are a thing of the Microsoft world, invented by Microsoft as their
way to do things. Other vendors/developers have chosen different paths,
and insisting on following one vendor's path when working with other
vendors' products is just not logical or productive.

> Especially when
> you consider that ldap commands are the same on Linux as they are on MS
> products (cross platform).

A total red herring, as the D in ldap is for Directory, not database nor
email data.

> management mess ontop of ldap.

You have that backwards. The core GroupWise structure was designed
before ldap was. You are the one trying to do non-directory things with a
directory interface, so it is just natural that you are getting
sub-optimal results.
You will notice in the history of ldap that email data (messages and
such) are not mentioned. Back when DOS was the most common OS, the x500
standard begat ldap and NDS/eDirectory that because of their common roots
where quickly connected without problem. MS's Domains structure of the
time was given a very quirky ldap interface at the time because of the
differing bas assumptions which they mostly fixed as part of the changes
in expanding Domains to Active Domains/Directory.
http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol

When clients that pay want a GUI interface, that is what gets created
first. Clients who don't want to pay anything for a product don't
generally get what they ask for. It is only comparatively recently that
people who understand the value of command line vs the poke and choose
route got to spending control and that is the only reason Microsoft now
has things like powershell and didn't eliminate the Command Prompt like
they almost did.

The straitest path to the other side of a mountain takes a whole lot of
very hard digging.


Andy of
KonecnyConsulting.ca in Toronto
Knowledge Partner
http://forums.novell.com/member.php/75037-konecnya
If you find a post helpful and are logged in the Web interface, please
show your appreciation by clicking on the star below. Thanks!

___
Andy of Konecny Consulting in Toronto
Knowledge Partner Profile
If you find a post helpful, click the Like button below. Thanks!
0 Likes
Knowledge Partner
Knowledge Partner

Re: How I dump the groupwise userlist via cli

Am 28.09.2014 21:26, schrieb wuzamarine:
>
> I don't see how or where GWCheck could possibly be more robust than
> ldapsearch and ldapmodify


Because gwcheck talks to the *real* groupwise data, whereas ldap tools
talk to the directory that may or may not hold a complete or not or
current or not mirror of the groupwise data for purely entertaining
value. Groupwise does not really use nor even need alDAP accessible
directory at all. As you give basically zero information about your
system, it's prudent not to let you talk to the directory copy just to
find that the data you're receiving (if any) is stale, incomplete or
simply non-existant at all. You want to talk to the real deal.


CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.