Microsoft KB Archive/72361

-

The information in this article applies to:


 * Microsoft SQL Server for OS/2, version 4.2

-

SUMMARY
Setting up SQL Server under user-level security requires the following three steps:


 * 1) Grant permissions on the LAN to use pipes.
 * 2) Create login IDs for named users on the LAN.
 * 3) Grant privileges to the database users.

Granting Permissions on Named Pipes
When attempting to install SQL Server on top of user-level security, there are several extra steps necessary to prepare the LAN software, the most important of which is to grant permissions on named pipes.

In user-level security, IPC$ (interprocess communications) is shared automatically. However, before you can use named pipes, permissions to use them must be granted.

Grant permissions through the LAN Manager's NetAdmin screen. The following are the steps necessary to grant everyone on the LAN permission to use pipes. Permissions may be restricted at a later time.


 * 1) Start the NetAdmin screen by typing:

NET ADMIN
 * 1) Choose Accounts from the main menu.
 * 2) Choose Other Permissions.
 * 3) Choose Named Pipes.
 * 4) Choose Zoom.
 * 5) Select the first *GROUP (that is, *ADMINS).
 * 6) Choose Permitted access (Yes), or Permitted access: may change permissions (Yes+P).
 * 7) Choose Permit.
 * 8) Choose Permit again until all *GROUPS are permitted (you may ignore named USERS for the time being).
 * 9) Choose OK and back out of NetAdmin.

This procedure is also documented in Chapter 11 &quot;Sharing Processing Power&quot; of the &quot;Microsoft LAN Manager Administrator's Guide.&quot; Version 2.2.

Please note that it is not necessary to start and stop the server for these permissions to become effective.

The next step is to set up Microsoft SQL Server for OS/2. For more information on these processes, see Part 5 &quot;User Accounts&quot; of the &quot;Microsoft SQL Server System Administrator's Guide.&quot;

Create Login IDs
Create login IDs only for those individuals who are also named users on the LAN. This restriction is unique to user-level security. To add new users, first make them users on the LAN. For more information on creating LAN user accounts, see Chapter 4 &quot;Setting Up User-Level Security&quot; of the &quot;Microsoft LAN Manager Administrator's Guide.&quot; Version 2.2.

Create Groups
In addition to any specialized groups, create a group name called &quot;guest&quot;. This is created as a group name, without a user ID. It must be in lowercase letters. Users who log on to the SQL Server as guest, will have the same privileges that have been granted to public.

Grant Permissions
No privileges exist for users other than system administrator (sa) and database owner (dbo), until they have been granted. In addition, granting permissions in SQL Server is database specific. In other words, permissions in one database may differ considerably from those in another. It is generally advisable to create a script that grants and revokes privileges for each database.

Keywords         : kbnetwork kbsetup SSrvAdmin SSrvInst SSrvLAN Version          : 4.2 Platform         : OS/2 Issue type       : Last Reviewed: March 11, 1999