This will need to be changed in 2 spots. First on the eDirectory object that tells eDirectory how to connect to the to the sybase database and on the sybase database it's self. For this reason the TID will be in 2 sections.
While Desktop Management database object is open from the last phase, click on the “Jdbc Driver Information” tab. This will hold all the information needed to connect to the Sybase database with a database client. The 3 most important fields are Port, Flags and Database Service Name. Open Notepad and copy and paste all 3 of those fields into Notepad.
---------------------------------
Example:
Port:
2638
Flags:
?ServiceName=nal&JCONNECT_VERSION=4
Database Service Name:
192.168.13.45
---------------------------------
Use a SQL client to attach to the database. If you have a SQL database client, use the above info to attach to the database. If you do not have one, do the following.
Download an open source database client. The following steps are based on the Squirrel SQL Client. Download the squirrel-sql-2.4.1-install.jar from:
You can choose to download any client.
Installation and Configuration:
Double click on squirrel-sql-2.4.1-install.jar. Complete the installation by following the default steps in the GUI installation.
Open the application.
Click on Windows->View Drivers. Choose Sybase Adaptive Server Anywhere. Choose "Extra Class Path" tab. Click on Add. In the file browser select the path to a jconn2.jar file.
If the SQL client is installed on the same workstation as the one Console One used to admin Zenworks, this makes life easy. Go into the Console One folder (usually “c:\Novell\ConsoleOne\”). Once in here, go to ..\ConsoleOne\1.2\lib\zen” and select jconn2.jar.
If the workstation does not ConsoleOne and the Zen snap-ins, find this jar file on a Zen server by doing a search for it. Find it, copy it to the workstation and then point at it.
Click on List Drivers, select com.sybase.jdbc2.jdbc.SybDriver and then OK.
Click on Windows->View Aliases. Create a new Alias. Give it a name in the name field.
From the driver drop down, Choose Sybase Adaptive Server Anywhere configured in step above as the driver.
Type the URL as jdbc:sybase:Tds:
:--------------------------------
Example URL:
jdbc:sybase:Tds:192.168.13.45:2638?ServiceName=nal&JCONNECT_VERSION=4
--------------------------------
Put in “User Name” as “MW_DBA” and “Password” as “novell” ( as this is still the default password until we change it)
Click OK.
Select the newly created alias and click the connect button. This will bring up a connection window with the user name and password pre-populated, click the “Connect” button.
Once connected to the database, select the SQL tab.
Run the following query:
GRANT CONNECT TO IDENTIFIED BY
Holding down CTRL and Hitting “Enter” key will run the query.
Example:
-------------------------------
GRANT CONNECT TO MW_DBA IDENTIFIED BY qazplm123
--------------------------------
this will change MW_DBA's password to “qazplm123”
The password of users MW_DBA, MW_READER and MW_UPDATER will need to be changed to match what is in eDirectory, which was done in the first section of this TID.
Done!