diff options
| author | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
|---|---|---|
| committer | cvsadm <cvsadm> | 2005-01-21 00:44:34 +0000 |
| commit | b2093e3016027d6b5cf06b3f91f30769bfc099e2 (patch) | |
| tree | cf58939393a9032182c4fbc4441164a9456e82f8 /ldap/clients/dsgw/pbconfig | |
Moving NSCP Directory Server from DirectoryBranch to TRUNK, initial drop. (foxworth)ldapserver7x
Diffstat (limited to 'ldap/clients/dsgw/pbconfig')
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/Makefile | 50 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/authPassword.html | 43 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/authSearch.html | 44 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/display-orgperson.html | 388 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/display-orgunit.html | 198 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/display-room.html | 124 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/dsgwfilter.conf | 89 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/dsgwsearchprefs.conf | 126 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/edit-passwd.html | 111 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/list-Auth.html | 116 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/list-People.html | 125 | ||||
| -rw-r--r-- | ldap/clients/dsgw/pbconfig/pb.tmpl | 126 |
12 files changed, 1540 insertions, 0 deletions
diff --git a/ldap/clients/dsgw/pbconfig/Makefile b/ldap/clients/dsgw/pbconfig/Makefile new file mode 100644 index 00000000..f81f381d --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/Makefile @@ -0,0 +1,50 @@ +# +# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to +# license terms. Copyright © 2001 Sun Microsystems, Inc. +# Some preexisting portions Copyright © 2001 Netscape Communications Corp. +# All rights reserved. +# +# +# Gmakefile for Directory Server Gateway config files. +# + +LDAP_SRC = ../../.. +MCOM_ROOT = ../../../../.. + +NOSTDSTRIP=true # don't let nsconfig.mak define target strip +NOSTDCLEAN=true # don't let nsconfig.mak define target clean +NOSTDDEPEND=true # don't let nsconfig.mak define target depend + +include $(MCOM_ROOT)/ldapserver/nsconfig.mk +include $(LDAP_SRC)/nsldap.mk + +include ../dsgw_include.mk + +HTMLDEST = $(DSGW_PBCONF_RELDIR) + +HTML = pb.tmpl dsgwsearchprefs.conf display-room.html edit-passwd.html\ + display-orgperson.html list-Auth.html authPassword.html \ + list-People.html authSearch.html display-orgunit.html \ + dsgwfilter.conf + +BINS=$(addprefix $(HTMLDEST)/,$(HTML)) + +ifeq ($(ARCH), WINNT) +CP2=cmd /c 'sh ../../../cm/nbsp2utf8.sh $< >' +else +CP2=sh ../../../cm/nbsp2utf8.sh $< > +endif + +all: $(HTMLDEST) $(BINS) + +install: $(HTMLDEST) $(BINS) + +clean: + $(RM) $(BINS) + +$(HTMLDEST)/%: % + -@$(RM) $@ + $(CP2) $@ + +strip: +depend: diff --git a/ldap/clients/dsgw/pbconfig/authPassword.html b/ldap/clients/dsgw/pbconfig/authPassword.html new file mode 100644 index 00000000..98395470 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/authPassword.html @@ -0,0 +1,43 @@ +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<!-- + | $Id: authPassword.html,v 1.1 2005/01/21 00:40:49 cvsadm Exp $ + | + | AUTHOR: + | + | SYNOPSIS: + | Display the vendor information. + | + | HISTORY: + | + +------------------------------------------------------------------------ +--> + +<HTML> +<!-- HEAD --> +<!--authPassword.html--> +<TITLE>Authenticate...</TITLE> +<!-- DS_AUTH_PASSWORD_SCRIPT --> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> +</HEAD> + +<!-- DS_AUTH_PASSWORD_BODY --> +<!-- DS_AUTH_PASSWORD_INFO --> +<!-- DS_AUTH_PASSWORD_FORM --> +<P> +Password for <b> +<!-- DS_AUTH_PASSWORD_NAME --> +</b>: <INPUT NAME="password" TYPE="password" SIZE=16> +<P> +<CENTER> +<TABLE BORDER=2 WIDTH=100%> +<TR> +<!-- DS_AUTH_PASSWORD_BUTTONS --> +</TABLE> +</FORM> +</BODY> +</HTML> diff --git a/ldap/clients/dsgw/pbconfig/authSearch.html b/ldap/clients/dsgw/pbconfig/authSearch.html new file mode 100644 index 00000000..dc2c1fc7 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/authSearch.html @@ -0,0 +1,44 @@ +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<!-- --------------------------------------------------------------------------- + | $Id: authSearch.html,v 1.1 2005/01/21 00:40:49 cvsadm Exp $ + | + | AUTHOR: + | + | SYNOPSIS: + | Display the vendor information. + | + | HISTORY: + | + +------------------------------------------------------------------------------ --> + +<HTML> +<!-- HEAD --> +<!--authSearch.html--> +<TITLE>Authenticate...</TITLE> +<!-- DS_AUTH_SEARCH_SCRIPT --> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> +</HEAD> +<!-- DS_AUTH_SEARCH_BODY --> +<!-- DS_AUTH_SEARCH_INFO --> +<!-- DS_AUTH_SEARCH_FORM --> +The first step in authenticating to the directory is identifying +yourself.<br>Please type your name: +<!-- DS_AUTH_SEARCH_NAME --> +<P> +<CENTER> +<TABLE BORDER=1 WIDTH=100%%> +<TR> +<!-- DS_AUTH_SEARCH_BUTTONS --> +</TABLE> +</FORM> +<P> +<!-- DS_AUTH_AS_ROOT_FORM --> +<INPUT TYPE="submit" VALUE="Authenticate as directory manager"> (only available to Directory Administrators) +</FORM> +</BODY> +</HTML> diff --git a/ldap/clients/dsgw/pbconfig/display-orgperson.html b/ldap/clients/dsgw/pbconfig/display-orgperson.html new file mode 100644 index 00000000..b7eea966 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/display-orgperson.html @@ -0,0 +1,388 @@ +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<html> +<!-- HEAD --> +<!-- inet. organizational person directory entry --> +<!-- DS_OBJECTCLASS "value=person,inetOrgPerson" --> + +<!-- DS_ENTRYBEGIN --> +<title> + + +<!-- IF "Adding" --> +New +<!-- ENDIF // Adding --> +Person Entry - +<!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "options=nolink" --> +</title> + +<script language="JavaScript"> +<!-- Hide from non-JavaScript-capable browsers + +var cardurl; + +function locator(){ + +<!-- DS_ATTRIBUTE "attr=_vcard" "options=link" "mimetype=text/x-vcard" "prefix=var cardurl=" "suffix=";" --> + + card.cards.document.location = cardurl; +} + +function showVCard() +{ + + card = window.open("/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=carded.html","leif","width=525,height=250,toolbar=no"); + + setTimeout("locator()",1000); + +} + +function showAimIcon() +{ +var aimStatusText = ""; +var aimID = ""; + +<!-- IF "DisplayAimPresence" --> +aimStatusText = +<!-- DS_ATTRIBUTE "attr=nsaimstatustext" "options=quoted" --> +; + +aimID = +<!-- DS_ATTRIBUTE "attr=nsaimid" "options=quoted" --> +; +<!-- ENDIF --> + +if (aimStatusText == "" || aimID == "" || aimStatusText != "ONLINE") { + return; +} + +document.write('<a href=\"aim:goim?Screenname=' + aimID.replace(/ /,"+") + '\"><IMG SRC=\"lang?<!-- GCONTEXT -->&file=aim-online.gif\" ALT=\"Click to send an AIM to this person\" BORDER=0 HSPACE=5></a>'); +} + +// End hiding --> +</script> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> +</head> + + +<!-- COLORS "BGCOLOR=white" --> +<!-- IF "!Displaying" --> +<body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin="0" topmargin="0" rightmargin="0"> +<table width="100%" class="bgColor1" cellspacing="0" cellpadding="0" border="0"> +<tr width="100%" class="bgColor1"> +<TD valign="top" class="bgColor1"><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD> +<TD valign="middle" align="left" class="text15" width="100%">Person Entry</td> +</tr> +</table> +<table cellspacing="0" cellpadding="0"> +<tr> +<td><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td> +</tr> +</table> +<!-- ELSE --> +<body bgcolor="#FFFFFF"> +<!-- ENDIF --> + +<!-- DS_BEGIN_ENTRYFORM --> + +<!-- IF "Adding" --> + <input type="hidden" name="add_objectClass" value="top"> + <input type="hidden" name="add_objectClass" value="person"> + <input type="hidden" name="add_objectClass" value="organizationalPerson"> + <input type="hidden" name="add_objectClass" value="inetOrgPerson"> + <input type="hidden" name="add_objectClass" value="nsAIMpresence"> +<!-- PCONTEXT --> +<!-- ENDIF // Adding --> + + +<!-- --------------- Begin Header Info ------------------ --> +<!-- single-pixel gif to enforce left alignment --> +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<table width="90%" border="0" cellpadding="2" cellspacing="0" align="left" bgcolor="#FFFFFF"> + <tr valign="middle" align="left" class="bgcolor4"> + <td width="10" nowrap align="center"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=32-person.gif" height="32" width="32" border="0" align="center"> + </td> + <td nowrap class="boldbig"> +<!-- IF "Adding" --> + New Person - +<!-- ENDIF // Adding --> +<!-- DS_ATTRIBUTE "attr=cn" "syntax=cis" "options=readonly" --> + </td> + <td align="right"> +<!-- IF "DisplayOrgChart" --> +<A HREF= +<!-- DS_ORGCHARTLINK --> + class="linknodec"> +<IMG SRC="lang?<!-- GCONTEXT -->&file=orgicon.gif" BORDER=0 ALT="Click to view this person's organization chart." HSPACE=5><span style="text-decoration:none;color:black"> org chart</span></a> +<!-- ENDIF --> + <a href="javascript:showVCard()" onMouseOver="top.status='View this person\'s digital business card.'; return true" class="linknodec"><img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=tiny_vcard.gif" align="texttop" border="0" height="20" + width="20" alt="Click to view this person's digital business card."><span style="text-decoration:none;color:black"> vCard</span></a> +<!-- DS_ATTRIBUTE "attr=userCertificate;binary" "type=hidden" "options=typeonly" --> +<!-- IF "AttributeHasValues" "userCertificate;binary" --> + +<a href= +<!-- DS_ATTRIBUTE "attr=userCertificate;binary" "options=link" "mimetype=application/x-x509-email-cert" --> +onMouseOver="top.status='Retrieve this person\'s security certificate.'; return true"><img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=tiny_cert.gif" align="texttop" border="0" height="20" width="20" alt="Click to retrieve this +person's security certificate."><span style="text-decoration:none;color:black"> Get Certificate</span></a> +<!-- ENDIF --> + + </td> + </tr> + <tr valign="top" align="left"> + <td> + + </td> + <td colspan="2" nowrap> +<!-- DS_ATTRIBUTE "attr=title" "type=hidden" "options=typeonly" --> +<!-- IF "AttributeHasValues" "title" --> +<!-- DS_ATTRIBUTE "attr=title" "options=readonly" --> +<br> +<!-- ENDIF --> +<!-- DS_ATTRIBUTE "attr=ou" "options=readonly" --> + </td> + </tr> + +<!-- DS_ATTRIBUTE "attr=jpegPhoto" "type=hidden" "options=typeonly" --> + + <tr valign="top"> +<!-- IF "AttributeHasValues" "jpegPhoto" --> + <td colspan="2"> +<!-- ELSE --> + <td colspan="3"> +<!-- ENDIF --> + +<!-- ---------------- Begin Table Data ------------------ --> + +<table border="0" cellpadding="4" cellspacing="1" width="100%" align="center"> + + <tr> + <td colspan="2"> </td> + </tr> + + + <tr valign="top"> + <td align="right" nowrap width="25%" +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Work Phone + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=telephoneNumber" "syntax=tel" "cols=>20" "numfields=+1" "options=readonly"--> + </td> + </tr> + + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Email Address + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=mail" "syntax=mail" "cols=>20" "options=readonly" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + AIM ID + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=nsaimid" "cols=>16" --> +<!-- IF "DisplayAimPresence" --> +<SCRIPT LANGUAGE="JavaScript"> +<!-- Hide from non-JavaScript-capable browsers +showAimIcon(); +// End hiding --> +</SCRIPT> +<!-- ENDIF --> + </td> + </tr> + + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Homepage + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=labeledURI" "syntax=url" "cols=>60" "hrefextra=TARGET=_top" --> + </td> + </tr> + + <tr> + <td colspan="4"> </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Home Phone + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=homePhone" "numfields=+1" "cols=>20" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Mobile Phone + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=mobile" "syntax=tel" "cols=>20" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Pager + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=pager" "syntax=tel" "cols=>20" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + FAX + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=facsimiletelephonenumber" "syntax=tel" "cols=>20" --> + </td> + </tr> + + + <tr> + <td colspan="4"> </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Mailing Address + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=postalAddress" "cols=>60" "options=readonly" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Mailstop + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=physicalDeliveryOfficeName" "cols=>10" "options=readonly" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Location + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=l" "cols=>30" "options=readonly" --> + </td> + </tr> + + + + <tr valign="top"> + <td align="right" nowrap +<!-- IF "Displaying" --> + class="bold" +<!-- ENDIF --> +> + Cube Number + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=roomNumber" "cols=>8" "options=readonly"--> + </td> + </tr> + + <tr> + <td colspan="2"> </td> + </tr> + +</table> + +<!-- ---------------------------------------------- --> + </td> + +<!-- IF "AttributeHasValues" "jpegPhoto" --> + <td align="left" bgcolor="white"> +<IMG SRC= +<!-- DS_ATTRIBUTE "attr=jpegPhoto" "options=link" "mimetype=image/jpeg" --> +BORDER=0> + </td> +<!-- ENDIF --> + + </tr> + <tr align="right"> + <td colspan="4" class="bgColor4"> +<!-- IF "Displaying" --> +<!-- DS_EDITBUTTON "label=Edit Person" --> +<!-- ELIF "Adding" --> +<!-- DS_SAVEBUTTON "label=Save New Person" --> +<!-- ELIF "Editing" --> +<!-- DS_SAVEBUTTON --> +<!-- ENDIF // Editing --> + +<!-- IF "!Displaying" --> +<!-- DS_CLOSEBUTTON "label=Cancel" --> +<!-- ENDIF // !Displaying --> + +<!-- DS_EDITASBUTTON "label=Change Password" "template=passwd" --> + </td> + + </tr> + +</table> + +<!-- DS_END_ENTRYFORM --> +<!-- DS_ENTRYEND --> + +</body> +</html> diff --git a/ldap/clients/dsgw/pbconfig/display-orgunit.html b/ldap/clients/dsgw/pbconfig/display-orgunit.html new file mode 100644 index 00000000..5a999993 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/display-orgunit.html @@ -0,0 +1,198 @@ +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<!-- --------------------------------------------------------------------------- + | $Id: display-orgunit.html,v 1.1 2005/01/21 00:40:49 cvsadm Exp $ + | + | AUTHOR: + | + | SYNOPSIS: + | Display the vendor information. + | + | HISTORY: + | + | + +--------------------------------------------------------------------------- --> + +<HTML> +<!-- HEAD --> +<!-- inet. organizational person directory entry --> +<!-- DS_OBJECTCLASS "value=organizationalUnit" --> + +<!-- DS_ENTRYBEGIN --> +<TITLE> +<!-- IF "Adding" --> +New +<!-- ENDIF // Adding --> +Organizational Unit Entry +</TITLE> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> +</HEAD> +<BODY bgcolor=WHITE> + +<!-- DS_BEGIN_ENTRYFORM --> + +<!-- IF "Adding" --> +<INPUT TYPE="hidden" NAME="add_objectClass" VALUE="top"> +<INPUT TYPE="hidden" NAME="add_objectClass" VALUE="ou"> +<!-- ENDIF // Adding --> + + + +<!-- --------------- Begin Header Info ------------------ --> +<!-- single-pixel gif to enforce left alignment --> +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<table width="90%" border="0" cellpadding="2" cellspacing="0" align="left" bgcolor="#FFFFFF"> + <tr valign="middle" align="left" class="bgColor4"> + <td width="10" nowrap align="center"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=department.gif" height="32" width="32" border="0" align="center"> + </td> + <td nowrap class="boldbig"> +<!-- DS_ATTRIBUTE "attr=ou" "syntax=cis" "options=readonly" --> + </td> + <td align="right"> + </td> + </tr> + <tr valign="top" align="left"> + <td> + + </td> + <td colspan="2" nowrap> + </td> + </tr> + <tr valign="top"> + <td colspan="3"> + +<!-- ---------------- Begin Table Data ------------------ --> + +<table border="0" cellpadding="4" cellspacing="1" width="100%" align="center"> + + <tr> + <td colspan="2"> </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap width="25%" class="bold"> + Business Category + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=businessCategory" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Description + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=description" "cols=>60" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Contact Phone + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=telephoneNumber" "syntax=tel" "cols=>20" "numfields=+1" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Fax + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=facsimiletelephonenumber" "syntax=tel" "cols=>20 --> + </td> + </tr> + + + + <tr> + <td colspan="4"> </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Location + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=l" "cols=>60" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Mailing Address + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=postalAddress" "syntax=mls" "cols=>60" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Mailstop + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=physicalDeliveryOfficeName" "cols=>10" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Postal Code + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=postalCode" "cols=>10" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Post Office Box + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=PostOfficeBox" "cols=>10" --> + </td> + </tr> + + <tr> + <td colspan="4"> </td> + </tr> + + + <tr valign="top"> + <td align="right" nowrap class="bold"> + See Also + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=seeAlso" "syntax=dn" "dncomponents=3" "cols=>50" --> + </td> + </tr> + + <tr> + <td colspan="2"> </td> + </tr> + +</table> + +<!-- ---------------------------------------------- --> + + </td> + </tr> + <tr valign="middle" align="left" class="bgColor4"> + <td colspan="2"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107"> + </td> + </tr> + +</table> + +<!-- ENDHTML --> diff --git a/ldap/clients/dsgw/pbconfig/display-room.html b/ldap/clients/dsgw/pbconfig/display-room.html new file mode 100644 index 00000000..baa4ee4f --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/display-room.html @@ -0,0 +1,124 @@ +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<html> +<!-- HEAD --> +<!-- DS_OBJECTCLASS "value=Room" --> + +<!-- DS_ENTRYBEGIN --> +<title> +<!-- IF "Adding" --> +New +<!-- ENDIF // Adding --> +Room Entry +</title> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> +</head> +<body bgcolor="white"> + +<!-- DS_BEGIN_ENTRYFORM --> + +<!-- IF "Adding" --> + <input type="hidden" name="add_objectClass" value="top"> + <input type="hidden" name="add_objectClass" value="Room"> +<!-- PCONTEXT --> +<!-- ENDIF // Adding --> + +<!-- --------------- Begin Header Info ------------------ --> +<!-- single-pixel gif to enforce left alignment --> +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<table width="90%" border="0" cellpadding="2" cellspacing="0" align="left" bgcolor="#FFFFFF"> + <tr valign="middle" align="left" class="bgColor4"> + <td width="10" nowrap align="center"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=32-conference.gif" height="32" width="32" border="0" align="center"> + </td> + <td nowrap class="boldbig"> +<!-- IF "Adding" --> + New Room +<!-- ENDIF // Adding --> +<!-- DS_ATTRIBUTE "attr=cn" "syntax=dn" "options=readonly" --> + </td> + <td align="right"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107"> + </td> + </tr> + <tr valign="top" align="left"> + <td> + + </td> + <td colspan="2" nowrap> +<!-- IF "AttributeHasValues" "roomNumber" --> + Room +<!-- DS_ATTRIBUTE "attr=roomNumber" "cols=>5"--> +<!-- ENDIF --> + </td> + </tr> + <tr valign="top"> + <td colspan="3"> + +<!-- ---------------- Begin Table Data ------------------ --> + +<table border="0" cellpadding="4" cellspacing="1" width="100%" align="center"> + + <tr> + <td colspan="2"> </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap width="25%" class="bold"> + Phone Number + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=telephoneNumber" "syntax=tel" "cols=>20" "numfields=+1" "options=readonly"--> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap class="bold"> + Description + </td> + <td align="left" nowrap> +<!-- DS_ATTRIBUTE "attr=description" "type=TEXTAREA" "cols=>50" "rows=>4" --> + </td> + </tr> + + <tr valign="top"> + <td align="right" nowrap width="25%" class="bold"> + See Also + </td> + <td align="left" bgcolor="white"> +<!-- DS_ATTRIBUTE "attr=seeAlso" "syntax=dn" "cols=>50" "numfields=+1" "options=readonly"--> + </td> + </tr> + + + <tr> + <td colspan="2"> </td> + </tr> + +</table> + + </td> + </tr> + <tr valign="middle" align="left" class="bgColor4"> + <td colspan="3"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107"> + </td> + </tr> + +</table> + +<br clear="ALL"> + + +<!-- DS_END_ENTRYFORM --> +<!-- DS_ENTRYEND --> + +<!-- ENDHTML --> + diff --git a/ldap/clients/dsgw/pbconfig/dsgwfilter.conf b/ldap/clients/dsgw/pbconfig/dsgwfilter.conf new file mode 100644 index 00000000..2c083f00 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/dsgwfilter.conf @@ -0,0 +1,89 @@ +# +# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to +# license terms. Copyright © 2001 Sun Microsystems, Inc. +# Some preexisting portions Copyright © 2001 Netscape Communications Corp. +# All rights reserved. +# +################################################################################ +# +# $Id: dsgwfilter.conf,v 1.1 2005/01/21 00:40:49 cvsadm Exp $ +# +# AUTHOR: +# +# SYNOPSIS: +# LDAP filter file. +# +# HISTORY: +# 10-Oct-1997 Leif Put Phonebook under CVS control. +# +################################################################################ + + +################################################################################ +# lines like this that start with # or empty lines are ignored +# +# syntax: +# +# <tag> +# <pattern1> <delimiters> <filter1-1> <desc1-1> [<scope>] +# <filter1-2> <desc1-2> [<scope>] +# +# <pattern2> <delimiters> <filter2-1> <desc2-1> [<scope>] ... +# +# The "desc" should describe the filter and it should correctly complete +# both of the following phrases: +# +# One <desc> match was found for... +# Three <desc> matches were found for... +# +# The scope is optional, and should be one of: +# "base" +# "onelevel" +# "subtree" +# if it is included. +# + + +################################################################################ +# People searches. +# +"dsgw-people" + "^[a-zA-Z0-9]+=" " " "(%v))" "LDAP filter is" + + "^[+]*[0-9][ 0-9-]*$" " " "(telephoneNumber=*%v*))" "phone number ends with" + + "@" " " "(mail=%v))" "email address is" + "(mail=%v*))" "email address starts with" + + "^.[. _].*" ". _" "(|(cn=%v1* %v2-)(&(ou=%v1* %v2-)(objectclass=organizationalUnit))))" "first initial + name is" + + ".*[. _].$" ". _" "(|(cn=%v1-*)(&(ou=%v1-*)(objectclass=organizationalUnit))))" "name + last initial is" + + "[. _]" ". _" "(|(sn=%v1-)(cn=%v1-)(&(ou=%v1-)(objectclass=organizationalUnit))))" "name is" + + "^\*$" " " "(|(cn=*)(&(ou=*)(objectclass=organizationalUnit))))" "name or user id is" + + "^.$" ". " "(|(cn=%v)(&(ou=%v)(objectclass=organizationalUnit))))" "full name is" + + "^..$" ". " "(|(|(cn=%v*)(cn=*%v))(&(|(ou=%v*)(ou=*%v))(objectclass=organizationalUnit))))" "full name is" + + ".*" ". " "(|(cn=*%v1*)(uid=%v1)(&(ou=*%v1*)(objectclass=organizationalUnit))))" "name or user id is" + +# Replace the line above with the following line if you are substring +# indexing uid. If not, then only exact matches for uid will be found. +# +# ".*" ". " "(|(cn=*%v1*)(uid=*%v1*)(&(ou=*%v1*)(objectclass=organizationalUnit))))" "name or user id is" + + +################################################################################ +# Authentication searches, prioritize UID first. +# +"dsgw-auth" + ".*" " " "(uid=%v))" "UID is" + "(cn=*%v1*))" "user name is" + +# Replace the line above with the following line if you are substring +# indexing uid. +# +# "(|(cn=*%v1*)(uid=*%v1*)))" "user name is" + diff --git a/ldap/clients/dsgw/pbconfig/dsgwsearchprefs.conf b/ldap/clients/dsgw/pbconfig/dsgwsearchprefs.conf new file mode 100644 index 00000000..528e66d7 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/dsgwsearchprefs.conf @@ -0,0 +1,126 @@ +# +# PROPRIETARY/CONFIDENTIAL. Use of this product is subject to +# license terms. Copyright © 2001 Sun Microsystems, Inc. +# Some preexisting portions Copyright © 2001 Netscape Communications Corp. +# All rights reserved. +# +################################################################################ +# +# $Id: dsgwsearchprefs.conf,v 1.1 2005/01/21 00:40:49 cvsadm Exp $ +# +# AUTHOR: +# +# SYNOPSIS: +# Search preference configuration file. +# +# HISTORY: +# 10-Oct-1997 Leif Put Phonebook under CVS control. +# +################################################################################ + + +################################################################################ +# dsgwsearchprefs.conf - directory server gateway search object definitions +# the current version of this file format is 1 +# +Version 1 + + +################################################################################ +# +# Name for this search object +People + + +################################################################################ +# options (the only one supported right now is "internal" which means that +# this search object should not be presented directly to the user) +# use "" for none +# +"" + + +################################################################################ +# Label to place before text box user types in +# +"Search For:" + + +################################################################################ +# Filter prefix to append to all searches +# +"(&(|(objectClass=Person)(objectClass=inetOrgPerson)(objectClass=organizationalUnit)(objectClass=Room))" + + +################################################################################ +# Tag to use for "Fewer Choices" searches - from ldapfilter.conf file +# +"dsgw-people" + + +################################################################################ +# If a search results in > 1 match, retrieve this attribute to help +# user disambiguate the entries... +# +not-used-by-dsgw + + +################################################################################ +# ...and label it with this string: +# +not-used-by-dsgw + + +################################################################################ +# Search scope to use when searching +# +subtree + + +################################################################################ +# Follows a list of "More Choices" search options. Format is: +# Label, attribute, select-bitmap, extra attr display name, extra attr ldap name +# If last two are null, "Fewer Choices" name/attributes used +# +"full name" cn 111111 "" "" +"last name" sn 111111 "" "" +"phone number" "telephoneNumber" 111011 "" "" +"e-mail address" "mail" 111111 "" "" +"user id" "uid" 111111 "" "" +"title" title 111111 "" "" +END +# Match types +"is" "(%a=%v))" +"is not" "(!(%a=%v)))" +"sounds like" "(%a~=%v))" +"starts with" "(%a=%v*))" +"ends with" "(%a=*%v))" +"contains" "(%a=*%v*))" +END + + +################################################################################ +# Authentication search configuration, used when editing an entry. +# +Auth +internal +"Authenticate As:" +"(&(objectClass=person)" +"dsgw-auth" +not-used-by-dsgw +not-used-by-dsgw +subtree +"common name" cn 111111 "" "" +"surname" sn 111111 "" "" +"phone number" "telephoneNumber" 111011 "" "" +"e-mail address" "mail" 111111 "" "" +"user id" "uid" 111111 "" "" +"title" title 111111 "" "" +END +"is" "(%a=%v))" +"is not" "(!(%a=%v)))" +"sounds like" "(%a~=%v))" +"starts with" "(%a=%v*))" +"ends with" "(%a=*%v))" +"contains" "(%a=*%v*))" +END diff --git a/ldap/clients/dsgw/pbconfig/edit-passwd.html b/ldap/clients/dsgw/pbconfig/edit-passwd.html new file mode 100644 index 00000000..b4fff245 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/edit-passwd.html @@ -0,0 +1,111 @@ +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<HTML> +<!-- HEAD --> +<!-- change a directory entry's password --> + +<!-- DS_ENTRYBEGIN --> +<TITLE>Change Password - +<!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "options=nolink" --> +</TITLE> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> +</HEAD> + +<body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin="0" topmargin="0" rightmargin="0" +> + +<table width="100%" class="bgColor1" cellspacing="0" cellpadding="0" border="0"> +<tr width="100%" class="bgColor1"> +<TD valign="top" class="bgColor1"><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD> +<TD valign="middle" align="left" class="text15" width="100%">Person Entry</td> +</tr> +</table> + +<table cellspacing="0" cellpadding="0"> +<tr> +<td><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td> +</tr> +</table> + +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<TABLE width="90%" border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF"> + <tr class="bgColor4"> + <td width="10" nowrap > + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=32-person.gif" height="32" width="32" border="0" > + </td> + + <td nowrap class="boldbig"> + Change Password for +<!-- DS_ATTRIBUTE "attr=cn" "syntax=cis" "options=readonly" --> + </td> + + </tr> +</TABLE> + +<P> +<!-- DS_BEGIN_ENTRYFORM --> + + +<TABLE> + +<!-- IF "BoundAsThisEntry" --> +<TR> +<TD ALIGN="right" NOWRAP> +Enter the old password: +</TD><TD> +<!-- DS_OLDPASSWORD --> +</TD></TR> +<!-- ELIF "!Bound" --> + +<TR> +<TD ALIGN="right" NOWRAP> +Enter the old password: +</TD><TD> +<!-- DS_OLDPASSWORD --> +</TD></TR> +<!-- ENDIF //BoundAsThisEntry --> + +<TR> +<TD ALIGN="right" NOWRAP> +Enter the new password: +</TD><TD> +<!-- DS_NEWPASSWORD --> +</TD></TR> + +<TR> +<TD ALIGN="right" NOWRAP> +Enter the new password again to confirm: +</TD><TD> +<!-- DS_CONFIRM_NEWPASSWORD --> +</TD></TR> +</TABLE> + +<P> + +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<TABLE width="90%" border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF"> + <tr class="bgColor4"> + <td nowrap align="right"> +<!-- IF "BoundAsThisEntry" --> +<!-- DS_SAVEBUTTON "label=Change Password" --> +<!-- ELSE --> +<!-- DS_SAVEBUTTON "label=Set Password" --> +<!-- ENDIF --> + +<!-- DS_HELPBUTTON "topic=MODIFYPASSWD" --> + </td> + </tr> +</TABLE> + + + +<!-- DS_END_ENTRYFORM --> +<!-- DS_ENTRYEND --> + +<!-- ENDHTML --> diff --git a/ldap/clients/dsgw/pbconfig/list-Auth.html b/ldap/clients/dsgw/pbconfig/list-Auth.html new file mode 100644 index 00000000..d3711e0d --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/list-Auth.html @@ -0,0 +1,116 @@ +<html> +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<!-- --------------------------------------------------------------------------- + | $Id: list-Auth.html,v 1.1 2005/01/21 00:40:49 cvsadm Exp $ + | + | AUTHOR: + | + | SYNOPSIS: + | Display the vendor information. + | + | HISTORY: + | + |------------------------------------------------------------------------------ --> +<!-- HEAD --> +<TITLE>Authenticate as...</TITLE> + +<!-- + The "authForm" form and the authSubmit() JavaScript function are + used to avoid the need for a separate form for each entry listed. + Each entry is tied to this single form through the magic of an + anchor that contains href=javascript:authSubmit(). +--> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> +</head> +<body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin="0" topmargin="0" rightmargin="0"> +<table width=100% class="bgColor1" cellspacing="0" cellpadding="0" border="0"> +<tr width=100% class="bgColor1"> +<TD valign="top" class="bgColor1"><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD> +<TD valign="middle" align="left" class="text15" width="100%">Authenticate as...</td> +</tr> +</table> +<table cellspacing="0" cellpadding="0"> +<tr> +<td><IMG src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td> +</tr> +</table> + +<FORM NAME="authForm" METHOD=POST ACTION="/clients/dsgw/bin/auth"> +<INPUT TYPE="hidden" NAME="escapedbinddn"> +<INPUT TYPE="hidden" NAME="authdesturl" +<!-- DS_POSTEDVALUE "name=authdesturl" "within=VALUE=%22--value--%22" --> +> +<!-- PCONTEXT --> +</FORM> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- Hide from non-JavaScript-capable browsers +function authSubmit(encodeddn) +{ + document.authForm.escapedbinddn.value = encodeddn; + document.authForm.submit(); +} +// End hiding --> +</SCRIPT> + +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<TABLE width="90%" border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF"> + <tr class="bgColor4"> + <td nowrap align="right" class="boldbig"> + <img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=clear.gif" height="32" width="1" border="0" > + </td> + </tr> +</TABLE> +<P> + +<CENTER> +<!-- DS_SEARCHDESC "VERBOSE" --> +<P> +<!-- IF "FoundEntries" --> +Please click on the name of the entry you would like to use for authentication. +</P> +<P> + +<TABLE BORDER=1 CELLPADDING=4> +<TR> +<TD NOWRAP class="boldbig">Authenticate As</td> +<TD NOWRAP class="boldbig">Title</td> + +<!-- DS_SORTENTRIES --> + +<!-- DS_ENTRYBEGIN --> +<TR> +<TD NOWRAP> +<!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "href=javascript:authSubmit('--value--'); onMouseOver=%22window.status='Click to authenticate'; return true;%22" --> +<TD NOWRAP> +<!-- DS_ATTRIBUTE "attr=title" --> + +<!-- DS_ENTRYEND --> + +</TABLE> +<!-- ELSE "FoundEntries" --> +Please go back and try again. +<!-- ENDIF "FoundEntries" --> +</CENTER> + +<FORM> +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<TABLE width="90%" border="0" cellpadding="2" cellspacing="0" bgcolor="#FFFFFF"> + <tr class="bgColor4"> + <td nowrap align="right" class="boldbig"> + <INPUT TYPE="button" VALUE="Go Back" onClick="history.back();"> +<!-- DS_HELPBUTTON "topic=AUTHMULTMATCH" --> + </td> + </tr> +</TABLE> + +</FORM> +</body> +<!-- ENDHTML --> diff --git a/ldap/clients/dsgw/pbconfig/list-People.html b/ldap/clients/dsgw/pbconfig/list-People.html new file mode 100644 index 00000000..71100da1 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/list-People.html @@ -0,0 +1,125 @@ +<html> +<!-- + PROPRIETARY/CONFIDENTIAL. Use of this product is subject to + license terms. Copyright © 2001 Sun Microsystems, Inc. + Some preexisting portions Copyright © 2001 Netscape Communications Corp. + All rights reserved. + --> +<!-- HEAD --> +<LINK REL=stylesheet TYPE="text/css" HREF="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=style.css"> + +<SCRIPT LANGUAGE="JavaScript"> +<!-- Hide from non-JavaScript-capable browsers + +function showAimIcon(aimID, aimStatusText) +{ +if (aimStatusText == "" || aimID == "" || aimStatusText != "ONLINE") { + return; +} + +document.write('<a href=\"aim:goim?Screenname=' + aimID.replace(/ /,"+") + '\"><IMG SRC=\"lang?<!-- GCONTEXT -->&file=aim-online.gif\" ALT=\"Click to send an AIM to this person\" BORDER=0 HSPACE=5></a>'); +} +// End hiding --> +</SCRIPT> +</head> + +<body bgcolor=white> + +<!-- single-pixel gif to enforce left alignment --> +<img src="/clients/dsgw/bin/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0"> + +<!-- IF "FoundEntries" --> + +<table width="85%" border="0" cellpadding="0" cellspacing="0" class="bgColor4" align="left"> + <tr valign="top" bgcolor="#FFFFFF"> + <td bgcolor="white"> +<!-- DS_SEARCHDESC --> + <br> + </td> + </tr> + <tr> + <td> + +<table border="0" cellpadding="1" cellspacing="0" width="100%" bgcolor="#FFFFFF" align="center"> + <tr align="left" class="bgColor4"> + <td class="boldbig"> + Name + </td> + <td class="boldbig"> + ID + </td> + <td class="boldbig"> + Phone + </td> + <td class="boldbig"> + E-mail + </td> + <td class="boldbig"> + AIM ID + </td> + <td class="boldbig"> + Group + </td> + </tr> +<!-- DS_SORTENTRIES "attr=cn" --> + +<!-- DS_ENTRYBEGIN --> + <tr valign="top" bgcolor="#FFFFFF"> + <td > +<!-- DS_ATTRIBUTE "attr=cn" "syntax=cis" --> + </td> + <td > +<!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "hrefextra=onMouseOver=%22%0Awindow.status='Click here to view this entry in detail'; return true%22" --> + </td> + <td> +<!-- DS_ATTRIBUTE "attr=telephoneNumber" "syntax=tel" --> + </td> + <td > +<!-- DS_ATTRIBUTE "attr=mail" "syntax=mail" --> + </td> + <td> +<!-- DS_ATTRIBUTE "attr=nsaimid" --> +<SCRIPT LANGUAGE="JavaScript"> +<!-- Hide from non-JavaScript-capable browsers +showAimIcon( +<!-- DS_ATTRIBUTE "attr=nsaimid" "options=quoted" --> +, +""//<!-- DS_ATTRIBUTE "attr=nsaimstatustext" "options=quoted" --> +); +//// Uncomment the above DS_ATTRIBUTE directive and remove the double //// +//// quotes to have aim presence in search results lists //// + +// End hiding --> +</SCRIPT> + </td> + <td> +<!-- DS_ATTRIBUTE "attr=ou" "syntax=cis"--> + </td> + </tr> + <tr> + <td colspan="5"></td> + </tr> +<!-- DS_ENTRYEND --> + +</table> + + </td> + </tr> + <tr bgcolor="#FFFFFF"> + <td> + <br> + Click on an entry's ID to bring up more information about that entry. + </td> + </tr> +</table> + +<!-- ELSE --> +<p> + <center> + No entries match the requested search term. Please try a different search. + </center> +</p> +<!-- ENDIF --> + +<!-- ENDHTML --> + diff --git a/ldap/clients/dsgw/pbconfig/pb.tmpl b/ldap/clients/dsgw/pbconfig/pb.tmpl new file mode 100644 index 00000000..57ec10d8 --- /dev/null +++ b/ldap/clients/dsgw/pbconfig/pb.tmpl @@ -0,0 +1,126 @@ +# The attribute the orgchart uses to search for entries. +# This value should correspond to the value of attrib-farleft-rdn +# in the orgchart's config.txt configuration file. +orgchart-attrib-farleft-rdn uid + +# Check for Aim presence when the user's entry is displayed +enable-aim-presence true + +# The htmldir directive tells the CGIs where to find the html files +htmldir ../pbhtml + +# The configdir directive tells the CGIs where to find the +# templates/configuration files +configdir ../pbconfig + +# The gwnametrans directive tells the CGIs what url to output +# for http redirection. It should be the same nameTrans set +# in the webserver, if any is being is used. +gwnametrans /clients/dsgw/pbhtml/ + +# The authlifetime directive specifies how long authentication credentials +# are valid (in seconds). +authlifetime 7200 + +# The libNLS data directory. This directory should contain a directory +# named "locales", which contains the configuration files LANG.ctx and +# LANG.txt for each supported language (locale). +NLS ../../../lib/nls + +# The default character set, for communication with HTTP clients. +# A client may override this default, using an HTTP Accept-Charset header. +# Or, this default may be overridden for a specific language, by creating +# a LANG/dsgwcharset.conf file which contains the charset name. +# For compatibility with HTTP clients that can't handle an HTTP response +# with a charset parameter in the content-type, comment out this directive; +# responses will be sent in ISO-8859-1, with no explicit charset parameter. +# RFC 1345 defines the syntax of charset names. There is a registry of +# charsets, at ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets +# charset UTF-8 + +# ignoreAcceptCharsetFrom [ <HTTP client version string> ] +# where each of whose values is the version string (or part of the version +# string) sent by an HTTP client which can't / doesn't want to handle UTF-8. +# Charset from dsgwcharset.conf or charset directive is used (in the order). +# ignoreAcceptCharsetFrom Mozilla/4.01x-NSCP Mozilla/3 + +# Substitute ideographic space for non-breaking space in Asian charsets: +changeHTML " " " " Shift_JIS Big5 EUC-KR EUC-JP +changeHTML " " " " Shift_JIS Big5 EUC-KR EUC-JP + +# Mapping between config/display-XXX.html templates and LDAP objectClasses. +# This can be generated by using ds/templateindex. The format is: +# +# template TEMPLATENAME OBJECTCLASSES +# +# where "display-TEMPLATENAME.html" is the name of a display template +# that is found in this config directory (e.g., "display-group.html") and +# OBJECTCLASSES is a list of one or more objectClass values. For a given +# template to be used, all the objectClass values listed must be present +# in the directory entry, so the order of these template lines is +# significant (e.g. note that the more specific "orgperson" template is +# listed before the one for an ordinary "person"). +# +template orgunit organizationalUnit +template room room +template orgperson person inetOrgPerson + + +# +# The remainder of this file contains information about the locations and +# types for new entries. +# +# "location" lines define places in the directory where new entries can be added +# The format of each line is: +# location HANDLE FRIENDLYNAME DN +# where HANDLE is a short name which is used in the "newtype" lines (see below) +# and FRIENDLYNAME is a human-readable name for the location +# and DN is the Distinguished Name for this location (if it does not end with +# '#', the location-suffix is appended to to construct a full DN; if it +# does end with `#', it assumed to be a full DN and the `#' is removed). +# +location country "United States" "c=US#" +location org "This Organization" "" +location groups "Groups" "ou=Groups" +location people "People" "ou=People" +location special "Special Users" "ou=Special Users" + +# "newtype" lines define the types of new entries that may be added +# The format of each line is: +# newtype TEMPLATENAME FRIENDLYNAME RDNATTR LOCATIONS... +# where TEMPLATENAME corresponds to an existing display-TEMPLATENAME.html file +# and FRIENDLYNAME is a human-readable name for this type of entry +# and RDNATTR is the attribute that is used to name entries of this type +# and LOCATIONS is a blank-separated list of locations where these types of +# entries can be added (corresponding to a HANDLE on a "location" +# config. file line). +# +newtype orgperson "Person" uid people special +newtype ntperson "NT Person" uid people special +newtype ntgroup "NT Group" cn groups +newtype groupun "Group" cn groups +newtype orgunit "Organizational Unit" ou people org +newtype org "Organization" o country + +# Mappings between VCard properties and LDAP attribute types: +# The format of each line is: +# vcard-property VCARDPROP SYNTAX LDAPATTR [LDAPATTR2] +# where VCARDPROP is the name of a VCard property +# and SYNTAX is "cis" for simple strings and "mls" for multiline strings +# and LDAPATTR is the LDAP attribute that corresponds to VCARDPROP +# and LDAPATTR2 is an optional secondary LDAP attribute which is added to +# the property value by appending a semicolon and then the attr2 value. +vcard-property FN cis cn +vcard-property N cis sn givenName +vcard-property ORG cis o ou +vcard-property ROLE cis businessCategory +vcard-property ADR;WORK mls postalAddress +vcard-property ADR;HOME mls homePostalAddress +vcard-property EMAIL;INTERNET cis mail +vcard-property TITLE cis title +vcard-property TEL;WORK cis telephoneNumber +vcard-property TEL;FAX cis facsimileTelephoneNumber +vcard-property TEL;CELL cis mobile +vcard-property TEL;HOME cis homePhone +vcard-property NOTE cis description + |
