Orignally posteed on blog.notesonsiebel.com on March 29th, 2007 by stuandgravy
Users forget their passwords – that’s just the way it is. Without picking on anybody, certain users (cough sales guys cough) are particularly prone to this. And more often than not, they’re remote users who’ve not synchronised their local database for a week and desperately need their updates.
As with the server database, there’s no way to retrieve the current local database password. Password hashing algorithms are repeatable, but not reversible – sensibly enough. It is possible to change the password to something new though.
Connect to the local database, then run these SQL commands:
grant connect to USERNAME identified by PASSWORD
grant connect to SIEBEL identified by PASSWORD
Where USERNAME is the login for this database and PASSWORD is the new password (both in upper case). If for some reason you don’t know who the local database belongs to, the login can be retrieved with this command:
select name from SYSUSERAUTH
where name not in ('SYS','DBA','PUBLIC','SIEBEL','DBO','dbo','SSE_ROLE')
More often than not, you’ll also want to reset the server database password to match, so that you can sync up those outstanding changes. On Oracle, this is your usual:
alter user USERNAME identified by PASSWORD
There’s more info in SupportWeb TechNote 25, including scripts for different versions of SQL Anywhere to automate the process.