Hi all,
On VC 10.0 with the default VSAM security, I got the following error with mdump:
C:\\>mdump -a localhost -p 86 -n ESDEMO -s 1 -v 2
Copyright 2001-2024 Micro Focus or one of its affiliates.
mdump 3.8.14: Dump MFDS repository information
*********************Command Line Arguments*********************
* Address = localhost *
* Port = 86 *
* Module = MRNRPI.DLL *
* Server Name = ESDEMO *
* Base DN = *
* Scope = 2 *
****************************************************************
Using directory at localhost:86...
m_ldap_init success
Using path: C:\\Program Files (x86)\\Micro Focus\\Enterprise Developer\\bin64\\MRNRPI.DLL
Provider: MRNRPI
MLDAP version: 1.22
Provider version: 1.88
Querying extended DS info:
m_ldap_bind: 0x0 Success
Extended directory information:
Version=1.30.22 Restricted=1 NoAnon=1 Loopback=1 Bitism=32 UI=0 TLSOn=0 MTOLicensed=1 SOALicensed=1 Vault=1 TLSPort=0 IPv6=3 OSType=131 OSVerMajor=128 OSVerMinor=0 Prod=5 ProdVer=10 ProdRev=0 ProdFix=0
m_ldap_bind(Auth=0x0): 0x7 AUTH_METHOD_NOT_SUPPORTED
How can I run mdump here ?
Thank you,
Junichi
------------------------------
Junichi Kobayashi
Rocket Internal
------------------------------
Hi Junichi-San,
you need to provide your VSAM ESM credentials with the mdump command:
>mdump
Copyright 2001-2024 Micro Focus or one of its affiliates.
mdump 3.8.14: Dump MFDS repository information
Usage, in any order:
mdump [-v verbosity level] [-a DS-address | DS-address:port | *] [-p port] [-n server-name | *] [-m module] [-b auth] [-u username/id] [-x password] [-d baseDN] [-s scope]
Default values are show in {}
-a Address of Directory Server you wish to connect to.
Three versions to allow port specification and wildcard search.
[address | address:port | *]
{localhost}
-b Authorization option used to bind to the Directory Server.
[ 0 = MLDAP_AUTH_NONE | 1 = MLDAP_AUTH_NONE_MF_FAST |
3 = MLDAP_AUTH_SIMPLE_TCP |
4 = MLDAP_AUTH_SIMPLE_MF_FAST ]
{ The default option used is dependent on which other }
{ connection options have been specified as well as }
{ the server configuration. If the default is }
{ over-ridden connection failures may occur. }
-d Base DN object used for search operation.
[CN=MFDS Repository,CN=Micro Focus,DC=local]
{NULL}
-e Query Security Manager configuration details (Integer).
[ 1 = show security configuration that applies to any
returned Enterprise Servers. |
2 = show security configuration for MFDS and the default
Enterprise Server security configuration. |
3 = the properties of all configured external Security
Managers are returned. ]
(MFDS version 1.15.00 or higher required to support option 2.)
{0}
-m Specify the module you want to use for connecting to a
repository.
{MRNRPI.DLL for port 86 | WLDAP32.DLL for port 389}
-n Specify the name of the Enterprise Server you want to search for.
Two versions to allow exact search and wildcard search.
[server-name | *]
{*}
-p Port that you want to use to connect to the server.
{reads from environment variable CCITCP2_PORT or 86}
-s Specify the scope of the search (Integer).
[ 1 = MLDAP_SCOPE_ONELEVEL | 2 = MLDAP_SCOPE_SUBTREE |
3 = Server and listeners only ]
{MLDAP_SCOPE_SUBTREE}
-u Username used to connect to server.
[cn=schemaadmin]
{cn=schemaadmin}
-v Specifies level of Verbosity [ 1 = verbose | 2 = extra verbose ].
{0}
-x Password used to connect to server.
[password]
{NULL}
------------------------------
Rolf Richard Becking
Rocket Internal - All Brands
Denver CO US
------------------------------
Hi Junichi-San,
you need to provide your VSAM ESM credentials with the mdump command:
>mdump
Copyright 2001-2024 Micro Focus or one of its affiliates.
mdump 3.8.14: Dump MFDS repository information
Usage, in any order:
mdump [-v verbosity level] [-a DS-address | DS-address:port | *] [-p port] [-n server-name | *] [-m module] [-b auth] [-u username/id] [-x password] [-d baseDN] [-s scope]
Default values are show in {}
-a Address of Directory Server you wish to connect to.
Three versions to allow port specification and wildcard search.
[address | address:port | *]
{localhost}
-b Authorization option used to bind to the Directory Server.
[ 0 = MLDAP_AUTH_NONE | 1 = MLDAP_AUTH_NONE_MF_FAST |
3 = MLDAP_AUTH_SIMPLE_TCP |
4 = MLDAP_AUTH_SIMPLE_MF_FAST ]
{ The default option used is dependent on which other }
{ connection options have been specified as well as }
{ the server configuration. If the default is }
{ over-ridden connection failures may occur. }
-d Base DN object used for search operation.
[CN=MFDS Repository,CN=Micro Focus,DC=local]
{NULL}
-e Query Security Manager configuration details (Integer).
[ 1 = show security configuration that applies to any
returned Enterprise Servers. |
2 = show security configuration for MFDS and the default
Enterprise Server security configuration. |
3 = the properties of all configured external Security
Managers are returned. ]
(MFDS version 1.15.00 or higher required to support option 2.)
{0}
-m Specify the module you want to use for connecting to a
repository.
{MRNRPI.DLL for port 86 | WLDAP32.DLL for port 389}
-n Specify the name of the Enterprise Server you want to search for.
Two versions to allow exact search and wildcard search.
[server-name | *]
{*}
-p Port that you want to use to connect to the server.
{reads from environment variable CCITCP2_PORT or 86}
-s Specify the scope of the search (Integer).
[ 1 = MLDAP_SCOPE_ONELEVEL | 2 = MLDAP_SCOPE_SUBTREE |
3 = Server and listeners only ]
{MLDAP_SCOPE_SUBTREE}
-u Username used to connect to server.
[cn=schemaadmin]
{cn=schemaadmin}
-v Specifies level of Verbosity [ 1 = verbose | 2 = extra verbose ].
{0}
-x Password used to connect to server.
[password]
{NULL}
------------------------------
Rolf Richard Becking
Rocket Internal - All Brands
Denver CO US
------------------------------
Hi Rolf,
Thank you for this. I could run it by:
mdump -a localhost -p 86 -n ESDEMO -s 1 -v 2 -u cn=SYSAD -x [SYSAD pwd]
------------------------------
Junichi Kobayashi
Rocket Internal
------------------------------