Hello Group;
Sybase release 11, Windows 95, BO 4.1.2.
I’ve been working with our DBA’s to try to find a way to allow Bus Obj to initiate a password change via the Sybase stored procedure (“sp_password”) once the user is informed that their Sybase Password has expired.
BO Tech support indicated that they do not support stored procedures that do not return data. With that in mind, we have modified the “sp_password” function to return a “pass/fail” query response to eliminate the “No data to fetch” error.
We’ve hit a stumbling block. The procedure works great if you change your password before it expires. However after it has expired BO will not allow you to execute any SQL, procedure, universe, etc. Sybase itself (in Sybase via ISQL & not via BO) sends back an error Msg. #4022 telling you that your password has expired and logs you in, However you are only allowed to change your password at that point BO receives the message and must believe that the connection did not work so it will not allow you to open a free-hand SQL window, Stored Procedure, etc. So although Sybase has let you in, BO seems to have shut the door.
Unfortunately BO also does not pick up the messages that come back telling you your password will expire in x days when you log in, so you have no way of knowing that your password will be expiring soon. Most likely users will find out that their password has expired by running a query only to have it come back and tell them their password is expired and then it’s too late to do anything.
One (of several) suggestions that we came up with follows:
Write a simple GUI app to simply reset passwords. Once BO tells you that your password has expired you could exit BO, execute the GUI app and change your password and proceed in BO.
We’re still looking for a more elegant way, within BO to handle this.
Your input/ideas are appreciated.
Bruce Hinrichs
Information Warehouse Analyst
Schneider National, Inc.
Green Bay, WI USA
HinrichsB@Schneider.Com
(920) 592-2098
Listserv Archives (BOB member since 2002-06-25)