Sun Directory Services provides two graphical interfaces that are used to view or modify information in the directory:
Deja
Deja is a JavaTM directory editor suitable for all day-to-day management of the directory contents. With the tool you can search for and view entries, create and modify entries, delete entries, and copy and paste entries.
Web Gateway
The Web Gateway is designed for quickly viewing the contents of the directory, searching for entries in the directory, and modifying some directory information. Its limited functionality makes it unsuitable for more complicated operations. It should not be used as a substitute for Deja.
Both tools can be connected remotely or locally to a Sun Directory Server. They both provide simple ways to view the contents of the directory.
Deja provides a comprehensive user interface suitable for maintaining the directory contents. Figure 1-1 shows the Deja Create panel. The tool is split into four areas, the toolbar, the browser window, the function window, and the status bar. The toolbar, browser window, and status bar are optional.
When you click on an icon in the toolbar or select an option from the Directory menu, the appropriate screen is displayed in the function window.
The toolbar uses a number of icons which have specific functions. Refer to Table 1-1 for a description of the icons and their functions.
Table 1-1 Deja Toolbar Icons
Icon |
Use |
---|---|
Login
|
Click this icon to login to the directory server. You must login to modify the contents of the directory. |
Search
|
Click this icon to search the directory for entries. |
View
|
Select an entry in the directory browser window and click this icon to view the values of the attributes of an entry. |
Create
|
Click this icon to create a new entry in the directory. |
Modify
|
Select an entry in the directory browser window and click this icon to modify the entry's properties. |
Rename
|
Select an entry in the directory browser window and click this icon to modify the Relative Distinguished Name of the entry. |
Delete
|
Select an entry in the directory browser window and click this icon to remove an entry from the directory. |
Cut
|
Select an entry in the directory browser window and click this icon to cut the entry from the directory, and retain a copy in the clipboard. |
Copy
|
Select an entry in the directory browser window and click this icon to copy the entry into the clipboard. |
Paste
|
After an entry has been cut or copied to the clipboard, select a parent entry in the directory browser window and click this icon to paste the entry as a child of the selected entry. |
Help |
Click this icon to diplay the online help. |
The Web Gateway provides an interface to a Sun Directory Services directory from any web browser. You can view the directory, search for and read entries, and modify some directory information. This is useful for checking information in the directory, but it is a general-purpose tool and should not be used in place of Deja.
Figure 1-2 shows the naming contexts defined for the directory, and provides access to the schema.
Deja requires the directory services daemon, dsservd, to be running on the directory server. In addition, the Web Gateway requires the web gateway daemon, dswebd, to be running on the server that holds the directory. Before you start Deja or the Web Gateway, make sure that the appropriate daemons are running. If they are not, start them as described in the following section.
To start the directory server daemon, dsservd, as root type:
# /etc/init.d/dsserv start |
To start the web gateway daemon, dswebd, as root type:
# /etc/init.d/dsweb start |
When you install Sun Directory Services, these commands are added to the system startup file, so that all the server daemons are started automatically when the machine is rebooted.