Providing initial passwords for users

The password for each user is stored with the user name in the ml_user table. You can use Sybase Central or the mluser command line utility to provide initial passwords.

Sybase Central is a convenient way of adding individual users and passwords. The mluser utility is useful for batch additions.

If you create a user without a password, MobiLink does not authenticate the user and a password is not required to connect and synchronize.

 Provide an initial MobiLink password for a user (Sybase Central)
  1. From the View menu, choose Folders.

  2. Open your MobiLink project and expand Consolidated Databases using the MobiLink 12 plug-in.

  3. Expand the name of your consolidated database.

  4. Click Users.

  5. Click File » New » User.

  6. Follow the instructions in the Create User Wizard.

 Provide initial MobiLink passwords (command line)
  1. Create a file with a single user name and password on each line, separated by white space.

  2. Open a command prompt and run the mluser command line utility. For example:

    mluser -c "DSN=my_dsn" -f password-file

    In this command line, the -c option specifies an ODBC connection to the consolidated database. The -f option specifies the file containing the user names and passwords.

 See also