sapatos
sapatos

Reputation: 1304

IBM Message broker: how to unsetldap princial and credentials

Using mqsichangebroker I'm able to set the ldap username and password. Is there a way to unset this once made? I've managed to unset the principal by passing -y """" but the credential cannot be set to the same as it asks for a password.

mqwmb@esbprodz > mqsichangebroker ESBTST -y """" -z """"

Enter password for user ID

Upvotes: 0

Views: 845

Answers (2)

Dave
Dave

Reputation: 633

You could also stop the broker and delete the $MQSI_REGISTRY/registry//CurrentVersion/LdapCredentials and LdapPrincipal files.

Upvotes: 0

mqjeff
mqjeff

Reputation: 26

You can delete and recreate the broker and fail to specify the -y and -z. Which you really kind of should do anyway, and then use mqsisetdbparms to specify the credentials instead.

Then you can use the -d flag on mqsisetdbparms to remove the credentials at a later date.

Upvotes: 1

Related Questions