You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(37) |
Nov
(17) |
Dec
(3) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Philip W. <p.g...@st...> - 2005-01-14 09:00:54
|
Righto, I'll get the latest Rolodap from CVS and try and create patches over the next week or so. By Rich Text I meant HTML, not .rtf. Sorry about the confusion. In the app I refer to emails as "Plain Text" or "Rich Text" I'll get the patches to you ASAP, probably a week or two. Phil. On Friday 14 January 2005 03:36, John Lederer wrote: > Phil-- > > I should have replied to this right away but I circulated it to a couple > of people whom I knew to be using Rolodap to do large mailings. > > They were quite enthusiastic about all the improvements. Neither seemed > excited about sending .rtf, but they both like Ekit for html. > > John > > Philip Ward wrote: > >Happy New Year to one and all. > > > >I've made a few enhancements to Rolodap's mail system and I'd like to > > offer them to the main distribution. Rather then just send a bunch of > > patches I'll list what I have, and any project admins can let me know > > which (if any) of these features you would like. I'll then attempt to > > filter out any unwanted changes before contributing the patches. > > > >Here's the list:- > >Audit trail - All emails sent using Rolodap are recorded in the directory, > > and attachments are date stamped and placed in <rolodap_home>/attach. > > This trail is searchable using a new "Search Audit Trail" page > > (cannibalised from the advanced search page). > > > >Multiple attachments - Instead of only being offered one attachment you > > can hit the "More Attachments" or "Less Attachments" buttons and add as > > many attachments as you like. > > > >Email Signatures - Configure your email signature on the "User > > Preferences" page and it will automatically add the signature to all > > emails. > > > >Rich Text Emails - Users can choose Plain Text (the current situation) or > >select Rich Text for their emails. Selecting Rich Text replaces the > > textarea with the EKit HTML editor applet. Ekit is available at > > http://www.hexidec.com and is a GPLed Java applet. Users can set in their > > preferences which style of email they wish to use by default. > > > >Regards, > > > >Phil Ward. > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Rolodap-develop mailing list > Rol...@li... > https://lists.sourceforge.net/lists/listinfo/rolodap-develop -- Philip Ward. Unix Systems Administrator. Ext 7274. -- The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. |
|
From: John L. <jo...@jh...> - 2005-01-14 03:35:50
|
Phil-- I should have replied to this right away but I circulated it to a couple of people whom I knew to be using Rolodap to do large mailings. They were quite enthusiastic about all the improvements. Neither seemed excited about sending .rtf, but they both like Ekit for html. John Philip Ward wrote: >Happy New Year to one and all. > >I've made a few enhancements to Rolodap's mail system and I'd like to offer >them to the main distribution. Rather then just send a bunch of patches I'll >list what I have, and any project admins can let me know which (if any) of >these features you would like. I'll then attempt to filter out any unwanted >changes before contributing the patches. > >Here's the list:- >Audit trail - All emails sent using Rolodap are recorded in the directory, and >attachments are date stamped and placed in <rolodap_home>/attach. This trail >is searchable using a new "Search Audit Trail" page (cannibalised from the >advanced search page). > >Multiple attachments - Instead of only being offered one attachment you can >hit the "More Attachments" or "Less Attachments" buttons and add as many >attachments as you like. > >Email Signatures - Configure your email signature on the "User Preferences" >page and it will automatically add the signature to all emails. > >Rich Text Emails - Users can choose Plain Text (the current situation) or >select Rich Text for their emails. Selecting Rich Text replaces the textarea >with the EKit HTML editor applet. Ekit is available at http://www.hexidec.com >and is a GPLed Java applet. Users can set in their preferences which style of >email they wish to use by default. > >Regards, > >Phil Ward. > > > |
|
From: Philip W. <p.g...@st...> - 2005-01-05 10:24:54
|
Happy New Year to one and all. I've made a few enhancements to Rolodap's mail system and I'd like to offer them to the main distribution. Rather then just send a bunch of patches I'll list what I have, and any project admins can let me know which (if any) of these features you would like. I'll then attempt to filter out any unwanted changes before contributing the patches. Here's the list:- Audit trail - All emails sent using Rolodap are recorded in the directory, and attachments are date stamped and placed in <rolodap_home>/attach. This trail is searchable using a new "Search Audit Trail" page (cannibalised from the advanced search page). Multiple attachments - Instead of only being offered one attachment you can hit the "More Attachments" or "Less Attachments" buttons and add as many attachments as you like. Email Signatures - Configure your email signature on the "User Preferences" page and it will automatically add the signature to all emails. Rich Text Emails - Users can choose Plain Text (the current situation) or select Rich Text for their emails. Selecting Rich Text replaces the textarea with the EKit HTML editor applet. Ekit is available at http://www.hexidec.com and is a GPLed Java applet. Users can set in their preferences which style of email they wish to use by default. Regards, Phil Ward. -- The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. |
|
From: John L. <jo...@jh...> - 2004-12-22 15:14:07
|
Jeff, welcome. We sure can use the help. Several people have been attempting to bring Rolodap up to the same level as the current openLDAP server. We see that as the first step, along with packaging and documentation. Let me suggest that you take a look at the archives. I would love to have someone put together in one unified whole what has been done so far, snd try, as Don has been, to see if we have a working version with openLDAP 2.x. John Jeff Gipson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Good afternoon. > > I haven't been able to get Rolodap to work yet, but I have been > looking for an open source project to get on board. > > My skills include: > > PGP programming > Shell scripting > APACHE > Technical writing/documentation > Database/DBA > > I am new to: > > LDAP > > > - ------------------------- > > I got turned on rolodap because I want to replace MS Exchange - the > only functionality we use from Exchange is shared contacts. > Ideally, I'd rather that all the mainstream email clients > (outlook(s) mozilla, etc.) could edit LDAP contacts in addition to > doing lookups. Since they cannot, Rolodap looks like a decent > program to use and an interface to create and manage contacts in an > LDAP server, that can be accessed from LDAP-enabled email clients. > > I still haven't been able to get Rolodap to work, after about 2 > weeks, but I *am* willing to help develop software or documentation, > as time allows. > > - -- > - --Jeff > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.5 (MingW32) > > iD8DBQFByILYRfxzzM0qzP0RAhFaAKCHu9PM252rkYVdQsYBNJ+tuZWS6wCdEdw1 > ampe+UxXnAiOn+3ohqTgl+Q= > =4ast > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Rolodap-develop mailing list > Rol...@li... > https://lists.sourceforge.net/lists/listinfo/rolodap-develop |
|
From: Jeff G. <jag...@pn...> - 2004-12-21 20:07:47
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good afternoon. I haven't been able to get Rolodap to work yet, but I have been looking for an open source project to get on board. My skills include: PGP programming Shell scripting APACHE Technical writing/documentation Database/DBA I am new to: LDAP - ------------------------- I got turned on rolodap because I want to replace MS Exchange - the only functionality we use from Exchange is shared contacts. Ideally, I'd rather that all the mainstream email clients (outlook(s) mozilla, etc.) could edit LDAP contacts in addition to doing lookups. Since they cannot, Rolodap looks like a decent program to use and an interface to create and manage contacts in an LDAP server, that can be accessed from LDAP-enabled email clients. I still haven't been able to get Rolodap to work, after about 2 weeks, but I *am* willing to help develop software or documentation, as time allows. - -- - --Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFByILYRfxzzM0qzP0RAhFaAKCHu9PM252rkYVdQsYBNJ+tuZWS6wCdEdw1 ampe+UxXnAiOn+3ohqTgl+Q= =4ast -----END PGP SIGNATURE----- |
|
From: Philip W. <p.g...@st...> - 2004-12-07 12:19:23
|
Just in case anyone is having the same fight that I've just had. The email system will not work on a stock Debian system. I think this is because the php4-cgi package (the one that calls the php4 binary that sendmail.phtml should call) was not built with ldap support. It crashes as soon as ldap_connect is called. If you wish to use Rolodap on a Debian system then I suggest you get the php source code and build it into /usr/local (configure --with-ldap --prefix=/usr/local). Then point sendmail.phtml at /usr/local/bin/php. It should then work. -- Philip Ward. Unix Systems Administrator. Ext 7274. -- The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. |
|
From: Don H. <dha...@br...> - 2004-11-15 16:16:51
|
Thanks for trying. That made no difference. It seems to be opening the page but failing part way through. It has a logo then a box I assume is user name, a box I assume is password then a box with this in it [<? echo $AUTH_LDAPSERVER_BASE_DN ?>] then a box with ok. This is followed by the text from the previous post. Thanks Don On Sun, 2004-11-14 at 18:11 -0600, Leo & Caro wrote: > Do you have php to interpret .phtml pages? > > > Add the following line to /etc/httpd/conf.d/php.conf: > > AddType application/x-httpd-php .phtml > > On my system: > > [root@champion conf.d]# pwd > /etc/httpd/conf.d > > [root@champion conf.d]# more /etc/httpd/conf.d/php.conf > # > # PHP is an HTML-embedded scripting language which attempts to make it > # easy for developers to write dynamically generated webpages. > # > > LoadModule php4_module modules/libphp4.so > > # > # Cause the PHP interpreter to handle files with a .php extension. > # > AddType application/x-httpd-php .php > # AddType application/x-httpd-php-source .phps > > # > # Cause the PHP interpreter to handle files with a .phtml extension. > # Add by me because of Rolodap > > AddType application/x-httpd-php .phtml > > # > # Add index.php to the list of files that will be served as directory > # indexes. > # > DirectoryIndex index.php > |
|
From: Leo & C. <le...@cr...> - 2004-11-15 00:11:10
|
Do you have php to interpret .phtml pages?
Add the following line to /etc/httpd/conf.d/php.conf:
AddType application/x-httpd-php .phtml
On my system:
[root@champion conf.d]# pwd
/etc/httpd/conf.d
[root@champion conf.d]# more /etc/httpd/conf.d/php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddType application/x-httpd-php .php
# AddType application/x-httpd-php-source .phps
#
# Cause the PHP interpreter to handle files with a .phtml extension.
# Add by me because of Rolodap
AddType application/x-httpd-php .phtml
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
On Sun, 2004-11-14 at 16:43 -0700, Don Harpell wrote:
> Thanks but it is all ready on and I have bumped memory up to 64 megs
> also. Looking forward to your set of instructions.
>
> Don
>
> On Sun, 2004-11-14 at 16:18 -0600, Leo & Caro wrote:
> > Change register_globals from Off to On in the php.ini
> >
> > Carolina
> >
> > On Sun, 2004-11-14 at 11:22 -0700, Don Harpell wrote:
> > > Hi I have not been able to log on to rolodap. I tried the suggestion to
> > > remove the @ in auth.phtml but still can't log on. The page appears to
> > > be correct up to password. The rest seems to be wrong. This is on fedora
> > > 2 and the same on 3.
> > >
> > > Thanks Don
> > > This is the text appearing.
> > >
> > >
> > >
> > >
> > > "; } ?>
> > >
> > > "; $userinfo["rolodappersonalbook"][0] = $modify_info
> > > ["rolodappersonalbook"][0]; // now we need to create the group in
> > > rolodap $add_info["cn"][0] = $username." Personal Book"; $add_info
> > > ["description"][0] = "$username's personal rolodap book"; //$add_info
> > > ["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][1] =
> > > "rolodapBook"; $add_info["objectclass"][2] = "top"; //$add_info["ou"] =
> > > $GROUP_OU; $add_info["rolodapbookpersonal"] = "yes"; $addresult =
> > > ldapadd ($LDAPSERVER_IP, $modify_info["rolodappersonalbook"][0],
> > > $BIND_AS, $BIND_PASSWORD, $add_info); //echo "addresult : $addresult
> > > "; } else { // we just want to check and make sure that the group in the
> > > user's record actually exists in the ROLODAP directory as well
> > > $personalbookcn = split (",",$userinfo
> > > ["rolodappersonalbook"][0]); //echo "personalbookcn ".$personalbookcn
> > > [0]."
> > > "; $filter = sprintf("(&(%s)(objectclass=rolodapbook))",$personalbookcn
> > > [0]); //echo "filter : $filter
> > > "; $personalbook = ldapsearch($LDAPSERVER_IP, $LDAPSERVER_BASE_DN,
> > > $filter,$BIND_AS,$BIND_PASSWORD); //echo "personalbook 0 cn:
> > > ".$personalbook[0]["cn"][0]."
> > > "; if ($personalbook["count"] < 1) { // their personalbook doesn't exist
> > > so we need to create it. echo "Found personal book entry in user's
> > > record but the book doesn't exist, creating one now
> > > "; $add_info["cn"][0] = $username." Personal Book"; $add_info
> > > ["description"][0] = "$username's personal rolodap book"; //$add_info
> > > ["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][0] =
> > > "rolodapBook"; $add_info["objectclass"][1] = "top"; //$add_info["ou"] =
> > > "groups"; $add_info["rolodapbookpersonal"][0] = "yes"; $add_info
> > > ["createdby"][0] = "$username"; $add_info["createdon"][0] = date
> > > ("Ymdhi")."Z"; $add_info["modifiedby"][0] = "$username"; $add_info
> > > ["modifiedon"][0] = date("Ymdhi")."Z";; $dn = $userinfo
> > > ["rolodappersonalbook"][0]; $addresult = ldapadd ($LDAPSERVER_IP, $dn,
> > > $BIND_AS, $BIND_PASSWORD, $add_info); } } // going to pre-read the books
> > > in the user's group list so as to save load time later when going to any
> > > of the search pages. $usergroups = listgroups($LDAPSERVER_IP,
> > > $LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,$userinfo["rolodapbook"]);
> > > $firmbookrecord = ldapsearch ($LDAPSERVER_IP, $firmbookdn,
> > > "(objectclass=*)", $BIND_AS, $BIND_PASSWORD); $firmbooks = listgroups
> > > ($LDAPSERVER_IP, $LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,
> > > $firmbookrecord[0]["uniquemember"]); session_register("username");
> > > session_register("password"); session_register("basedn");
> > > session_register("userinfo"); session_register("usergroups");
> > > session_register("firmbooks"); // re-read config file here because of
> > > the chance that the config is set to bind to the auth server as self. //
> > > if this is true we need the user's username and password in the
> > > readconfig. //jsErrorBox ("reading config again with $username");
> > > readconfig ($CONFIGFILENAME,$userinfo["dn"],$password); //echo "admin?
> > > ".$userinfo["rolodapadmin"][0]."
> > > \n"; // this is only hear to avoid breaking some old code. if
> > > (strtolower($userinfo["rolodapadmin"][0]) == "yes") { // checking to see
> > > if the user is an administrator or not $admin = "yes"; session_register
> > > ("admin"); //echo "ok making you an admin
> > > \n"; } setuserprefs($userinfo); echo ""; } else { // we couldn't bind
> > > using the supplied name and password $auth_dn=""; $auth_passwd="";
> > > $username=""; $password=""; echo" "; } // for if($ldapBind) } else { //
> > > we couldn't find the ldap server require("support/server-
> > > error.phtml"); } // for if($ldapServer) } else { // user is logging in
> > > anonymously // setup anonymous userinfo array $userinfo["cn"][0] =
> > > "Anonymous"; $userinfo["sn"][0] = "Anonymous"; $userinfo["givenname"][0]
> > > = "Anonymous"; session_register("anonymous"); session_register
> > > ("username"); // session_register("password"); session_register
> > > ("basedn"); session_register("userinfo"); echo ""; } // end if (!
> > > $username) ?>
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: InterSystems CACHE
> > > FREE OODBMS DOWNLOAD - A multidimensional database that combines
> > > robust object and relational technologies, making it a perfect match
> > > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> > > _______________________________________________
> > > Rolodap-develop mailing list
> > > Rol...@li...
> > > https://lists.sourceforge.net/lists/listinfo/rolodap-develop
--
Leonardo Cruz & Carolina Hernandez
Phone (651) 9058912
le...@cr...
|
|
From: Don H. <dha...@br...> - 2004-11-14 23:40:15
|
Thanks but it is all ready on and I have bumped memory up to 64 megs
also. Looking forward to your set of instructions.
Don
On Sun, 2004-11-14 at 16:18 -0600, Leo & Caro wrote:
> Change register_globals from Off to On in the php.ini
>
> Carolina
>
> On Sun, 2004-11-14 at 11:22 -0700, Don Harpell wrote:
> > Hi I have not been able to log on to rolodap. I tried the suggestion to
> > remove the @ in auth.phtml but still can't log on. The page appears to
> > be correct up to password. The rest seems to be wrong. This is on fedora
> > 2 and the same on 3.
> >
> > Thanks Don
> > This is the text appearing.
> >
> >
> >
> >
> > "; } ?>
> >
> > "; $userinfo["rolodappersonalbook"][0] = $modify_info
> > ["rolodappersonalbook"][0]; // now we need to create the group in
> > rolodap $add_info["cn"][0] = $username." Personal Book"; $add_info
> > ["description"][0] = "$username's personal rolodap book"; //$add_info
> > ["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][1] =
> > "rolodapBook"; $add_info["objectclass"][2] = "top"; //$add_info["ou"] =
> > $GROUP_OU; $add_info["rolodapbookpersonal"] = "yes"; $addresult =
> > ldapadd ($LDAPSERVER_IP, $modify_info["rolodappersonalbook"][0],
> > $BIND_AS, $BIND_PASSWORD, $add_info); //echo "addresult : $addresult
> > "; } else { // we just want to check and make sure that the group in the
> > user's record actually exists in the ROLODAP directory as well
> > $personalbookcn = split (",",$userinfo
> > ["rolodappersonalbook"][0]); //echo "personalbookcn ".$personalbookcn
> > [0]."
> > "; $filter = sprintf("(&(%s)(objectclass=rolodapbook))",$personalbookcn
> > [0]); //echo "filter : $filter
> > "; $personalbook = ldapsearch($LDAPSERVER_IP, $LDAPSERVER_BASE_DN,
> > $filter,$BIND_AS,$BIND_PASSWORD); //echo "personalbook 0 cn:
> > ".$personalbook[0]["cn"][0]."
> > "; if ($personalbook["count"] < 1) { // their personalbook doesn't exist
> > so we need to create it. echo "Found personal book entry in user's
> > record but the book doesn't exist, creating one now
> > "; $add_info["cn"][0] = $username." Personal Book"; $add_info
> > ["description"][0] = "$username's personal rolodap book"; //$add_info
> > ["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][0] =
> > "rolodapBook"; $add_info["objectclass"][1] = "top"; //$add_info["ou"] =
> > "groups"; $add_info["rolodapbookpersonal"][0] = "yes"; $add_info
> > ["createdby"][0] = "$username"; $add_info["createdon"][0] = date
> > ("Ymdhi")."Z"; $add_info["modifiedby"][0] = "$username"; $add_info
> > ["modifiedon"][0] = date("Ymdhi")."Z";; $dn = $userinfo
> > ["rolodappersonalbook"][0]; $addresult = ldapadd ($LDAPSERVER_IP, $dn,
> > $BIND_AS, $BIND_PASSWORD, $add_info); } } // going to pre-read the books
> > in the user's group list so as to save load time later when going to any
> > of the search pages. $usergroups = listgroups($LDAPSERVER_IP,
> > $LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,$userinfo["rolodapbook"]);
> > $firmbookrecord = ldapsearch ($LDAPSERVER_IP, $firmbookdn,
> > "(objectclass=*)", $BIND_AS, $BIND_PASSWORD); $firmbooks = listgroups
> > ($LDAPSERVER_IP, $LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,
> > $firmbookrecord[0]["uniquemember"]); session_register("username");
> > session_register("password"); session_register("basedn");
> > session_register("userinfo"); session_register("usergroups");
> > session_register("firmbooks"); // re-read config file here because of
> > the chance that the config is set to bind to the auth server as self. //
> > if this is true we need the user's username and password in the
> > readconfig. //jsErrorBox ("reading config again with $username");
> > readconfig ($CONFIGFILENAME,$userinfo["dn"],$password); //echo "admin?
> > ".$userinfo["rolodapadmin"][0]."
> > \n"; // this is only hear to avoid breaking some old code. if
> > (strtolower($userinfo["rolodapadmin"][0]) == "yes") { // checking to see
> > if the user is an administrator or not $admin = "yes"; session_register
> > ("admin"); //echo "ok making you an admin
> > \n"; } setuserprefs($userinfo); echo ""; } else { // we couldn't bind
> > using the supplied name and password $auth_dn=""; $auth_passwd="";
> > $username=""; $password=""; echo" "; } // for if($ldapBind) } else { //
> > we couldn't find the ldap server require("support/server-
> > error.phtml"); } // for if($ldapServer) } else { // user is logging in
> > anonymously // setup anonymous userinfo array $userinfo["cn"][0] =
> > "Anonymous"; $userinfo["sn"][0] = "Anonymous"; $userinfo["givenname"][0]
> > = "Anonymous"; session_register("anonymous"); session_register
> > ("username"); // session_register("password"); session_register
> > ("basedn"); session_register("userinfo"); echo ""; } // end if (!
> > $username) ?>
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: InterSystems CACHE
> > FREE OODBMS DOWNLOAD - A multidimensional database that combines
> > robust object and relational technologies, making it a perfect match
> > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> > _______________________________________________
> > Rolodap-develop mailing list
> > Rol...@li...
> > https://lists.sourceforge.net/lists/listinfo/rolodap-develop
--
Don Harpell <dha...@br...>
|
|
From: Leo & C. <le...@cr...> - 2004-11-14 22:18:31
|
Change register_globals from Off to On in the php.ini
Carolina
On Sun, 2004-11-14 at 11:22 -0700, Don Harpell wrote:
> Hi I have not been able to log on to rolodap. I tried the suggestion to
> remove the @ in auth.phtml but still can't log on. The page appears to
> be correct up to password. The rest seems to be wrong. This is on fedora
> 2 and the same on 3.
>
> Thanks Don
> This is the text appearing.
>
>
>
>
> "; } ?>
>
> "; $userinfo["rolodappersonalbook"][0] = $modify_info
> ["rolodappersonalbook"][0]; // now we need to create the group in
> rolodap $add_info["cn"][0] = $username." Personal Book"; $add_info
> ["description"][0] = "$username's personal rolodap book"; //$add_info
> ["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][1] =
> "rolodapBook"; $add_info["objectclass"][2] = "top"; //$add_info["ou"] =
> $GROUP_OU; $add_info["rolodapbookpersonal"] = "yes"; $addresult =
> ldapadd ($LDAPSERVER_IP, $modify_info["rolodappersonalbook"][0],
> $BIND_AS, $BIND_PASSWORD, $add_info); //echo "addresult : $addresult
> "; } else { // we just want to check and make sure that the group in the
> user's record actually exists in the ROLODAP directory as well
> $personalbookcn = split (",",$userinfo
> ["rolodappersonalbook"][0]); //echo "personalbookcn ".$personalbookcn
> [0]."
> "; $filter = sprintf("(&(%s)(objectclass=rolodapbook))",$personalbookcn
> [0]); //echo "filter : $filter
> "; $personalbook = ldapsearch($LDAPSERVER_IP, $LDAPSERVER_BASE_DN,
> $filter,$BIND_AS,$BIND_PASSWORD); //echo "personalbook 0 cn:
> ".$personalbook[0]["cn"][0]."
> "; if ($personalbook["count"] < 1) { // their personalbook doesn't exist
> so we need to create it. echo "Found personal book entry in user's
> record but the book doesn't exist, creating one now
> "; $add_info["cn"][0] = $username." Personal Book"; $add_info
> ["description"][0] = "$username's personal rolodap book"; //$add_info
> ["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][0] =
> "rolodapBook"; $add_info["objectclass"][1] = "top"; //$add_info["ou"] =
> "groups"; $add_info["rolodapbookpersonal"][0] = "yes"; $add_info
> ["createdby"][0] = "$username"; $add_info["createdon"][0] = date
> ("Ymdhi")."Z"; $add_info["modifiedby"][0] = "$username"; $add_info
> ["modifiedon"][0] = date("Ymdhi")."Z";; $dn = $userinfo
> ["rolodappersonalbook"][0]; $addresult = ldapadd ($LDAPSERVER_IP, $dn,
> $BIND_AS, $BIND_PASSWORD, $add_info); } } // going to pre-read the books
> in the user's group list so as to save load time later when going to any
> of the search pages. $usergroups = listgroups($LDAPSERVER_IP,
> $LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,$userinfo["rolodapbook"]);
> $firmbookrecord = ldapsearch ($LDAPSERVER_IP, $firmbookdn,
> "(objectclass=*)", $BIND_AS, $BIND_PASSWORD); $firmbooks = listgroups
> ($LDAPSERVER_IP, $LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,
> $firmbookrecord[0]["uniquemember"]); session_register("username");
> session_register("password"); session_register("basedn");
> session_register("userinfo"); session_register("usergroups");
> session_register("firmbooks"); // re-read config file here because of
> the chance that the config is set to bind to the auth server as self. //
> if this is true we need the user's username and password in the
> readconfig. //jsErrorBox ("reading config again with $username");
> readconfig ($CONFIGFILENAME,$userinfo["dn"],$password); //echo "admin?
> ".$userinfo["rolodapadmin"][0]."
> \n"; // this is only hear to avoid breaking some old code. if
> (strtolower($userinfo["rolodapadmin"][0]) == "yes") { // checking to see
> if the user is an administrator or not $admin = "yes"; session_register
> ("admin"); //echo "ok making you an admin
> \n"; } setuserprefs($userinfo); echo ""; } else { // we couldn't bind
> using the supplied name and password $auth_dn=""; $auth_passwd="";
> $username=""; $password=""; echo" "; } // for if($ldapBind) } else { //
> we couldn't find the ldap server require("support/server-
> error.phtml"); } // for if($ldapServer) } else { // user is logging in
> anonymously // setup anonymous userinfo array $userinfo["cn"][0] =
> "Anonymous"; $userinfo["sn"][0] = "Anonymous"; $userinfo["givenname"][0]
> = "Anonymous"; session_register("anonymous"); session_register
> ("username"); // session_register("password"); session_register
> ("basedn"); session_register("userinfo"); echo ""; } // end if (!
> $username) ?>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> Rolodap-develop mailing list
> Rol...@li...
> https://lists.sourceforge.net/lists/listinfo/rolodap-develop
--
Leonardo Cruz & Carolina Hernandez
Phone (651) 9058912
le...@cr...
|
|
From: Don H. <dha...@br...> - 2004-11-14 18:18:50
|
Hi I have not been able to log on to rolodap. I tried the suggestion to
remove the @ in auth.phtml but still can't log on. The page appears to
be correct up to password. The rest seems to be wrong. This is on fedora
2 and the same on 3.
Thanks Don
This is the text appearing.
"; } ?>
"; $userinfo["rolodappersonalbook"][0] = $modify_info
["rolodappersonalbook"][0]; // now we need to create the group in
rolodap $add_info["cn"][0] = $username." Personal Book"; $add_info
["description"][0] = "$username's personal rolodap book"; //$add_info
["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][1] =
"rolodapBook"; $add_info["objectclass"][2] = "top"; //$add_info["ou"] =
$GROUP_OU; $add_info["rolodapbookpersonal"] = "yes"; $addresult =
ldapadd ($LDAPSERVER_IP, $modify_info["rolodappersonalbook"][0],
$BIND_AS, $BIND_PASSWORD, $add_info); //echo "addresult : $addresult
"; } else { // we just want to check and make sure that the group in the
user's record actually exists in the ROLODAP directory as well
$personalbookcn = split (",",$userinfo
["rolodappersonalbook"][0]); //echo "personalbookcn ".$personalbookcn
[0]."
"; $filter = sprintf("(&(%s)(objectclass=rolodapbook))",$personalbookcn
[0]); //echo "filter : $filter
"; $personalbook = ldapsearch($LDAPSERVER_IP, $LDAPSERVER_BASE_DN,
$filter,$BIND_AS,$BIND_PASSWORD); //echo "personalbook 0 cn:
".$personalbook[0]["cn"][0]."
"; if ($personalbook["count"] < 1) { // their personalbook doesn't exist
so we need to create it. echo "Found personal book entry in user's
record but the book doesn't exist, creating one now
"; $add_info["cn"][0] = $username." Personal Book"; $add_info
["description"][0] = "$username's personal rolodap book"; //$add_info
["objectclass"][0] = "groupofuniquenames"; $add_info["objectclass"][0] =
"rolodapBook"; $add_info["objectclass"][1] = "top"; //$add_info["ou"] =
"groups"; $add_info["rolodapbookpersonal"][0] = "yes"; $add_info
["createdby"][0] = "$username"; $add_info["createdon"][0] = date
("Ymdhi")."Z"; $add_info["modifiedby"][0] = "$username"; $add_info
["modifiedon"][0] = date("Ymdhi")."Z";; $dn = $userinfo
["rolodappersonalbook"][0]; $addresult = ldapadd ($LDAPSERVER_IP, $dn,
$BIND_AS, $BIND_PASSWORD, $add_info); } } // going to pre-read the books
in the user's group list so as to save load time later when going to any
of the search pages. $usergroups = listgroups($LDAPSERVER_IP,
$LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,$userinfo["rolodapbook"]);
$firmbookrecord = ldapsearch ($LDAPSERVER_IP, $firmbookdn,
"(objectclass=*)", $BIND_AS, $BIND_PASSWORD); $firmbooks = listgroups
($LDAPSERVER_IP, $LDAPSERVER_BASE_DN, $BIND_AS, $BIND_PASSWORD,
$firmbookrecord[0]["uniquemember"]); session_register("username");
session_register("password"); session_register("basedn");
session_register("userinfo"); session_register("usergroups");
session_register("firmbooks"); // re-read config file here because of
the chance that the config is set to bind to the auth server as self. //
if this is true we need the user's username and password in the
readconfig. //jsErrorBox ("reading config again with $username");
readconfig ($CONFIGFILENAME,$userinfo["dn"],$password); //echo "admin?
".$userinfo["rolodapadmin"][0]."
\n"; // this is only hear to avoid breaking some old code. if
(strtolower($userinfo["rolodapadmin"][0]) == "yes") { // checking to see
if the user is an administrator or not $admin = "yes"; session_register
("admin"); //echo "ok making you an admin
\n"; } setuserprefs($userinfo); echo ""; } else { // we couldn't bind
using the supplied name and password $auth_dn=""; $auth_passwd="";
$username=""; $password=""; echo" "; } // for if($ldapBind) } else { //
we couldn't find the ldap server require("support/server-
error.phtml"); } // for if($ldapServer) } else { // user is logging in
anonymously // setup anonymous userinfo array $userinfo["cn"][0] =
"Anonymous"; $userinfo["sn"][0] = "Anonymous"; $userinfo["givenname"][0]
= "Anonymous"; session_register("anonymous"); session_register
("username"); // session_register("password"); session_register
("basedn"); session_register("userinfo"); echo ""; } // end if (!
$username) ?>
|
|
From: Don H. <dha...@br...> - 2004-11-11 03:56:11
|
Hi I can probably do that. I just upgraded my main machine to Fedora 3 but I have more to play on if it wont work on that. I have some old versions of red hat and I was thinking of building one to try this on. What version would you like it to be. I was thinking 7.2 as I think I read that in a howto. Don On Wed, 2004-11-10 at 15:09 -0800, Leo Cruz & Caro Hernandez wrote: > Don: > > I have been working in making rolodap 1.0 to work in RHEL AS 4.0 > beta which base on Federa 2. Please let me know if you will be willing > to give it a try the version that I have with the changes. > > Carolina > > > --- Don Harpell <dha...@br...> wrote: > > From: Don Harpell <dha...@br...> > Date: Sun, 07 Nov 2004 12:49:11 -0700 > To: rol...@li... > Subject: [Rolodap-develop] Setup howto? > > Hi all > > I just subscribed to the list. I am not a developer but have some > spare > hardware to use for tests etc. > > I see some people getting things working. Is there a setup guide I can > follow? I have fedora 2 with all the prerequisites for 1.0 running. > > Thanks for all the hard work. Don > > > > > > > ______________________________________________________________________ > Sign up for FREE email from Everyone.net email at > http://www.everyone.net > ------------------------------------------------------- This SF.Net > email is sponsored by: Sybase ASE Linux Express Edition - download now > for FREE LinuxWorld Reader's Choice Award Winner for best database on > Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ Rolodap-develop > mailing list Rol...@li... > https://lists.sourceforge.net/lists/listinfo/rolodap-develop -- Don Harpell <dha...@br...> |
|
From: Leo C. & C. H. <le...@cr...> - 2004-11-10 23:09:30
|
<html><body> <font style="font-family: arial,helvetica,sans-serif;" size="2"><span style="font-family: arial,helvetica,sans-serif;">Don:<br> <br> I have been working in making rolodap 1.0 to work in RHEL AS 4.0 beta which base on Federa 2. Please let me know if you will be willing to give it a try the version that I have with the changes.<br> <br> Carolina<br> <br> </span> <br></font><font style="font-family: arial,helvetica,sans-serif;" size="2">--- Don Harpell <dha...@br...> wrote:<br><br>From: Don Harpell <dha...@br...><br>Date: Sun, 07 Nov 2004 12:49:11 -0700<br>To: rol...@li...<br>Subject: [Rolodap-develop] Setup howto?<br><br>Hi all<br><br>I just subscribed to the list. I am not a developer but have some spare<br>hardware to use for tests etc.<br><br>I see some people getting things working. Is there a setup guide I can<br>follow? I have fedora 2 with all the prerequisites for 1.0 running.<br><br>Thanks for all the hard work. Don<br><br><br><br></font><br> <br><hr>Sign up for FREE email from Everyone.net email at http://www.everyone.net<br></body></html> |
|
From: Leo C. & C. H. <le...@cr...> - 2004-11-09 17:17:54
|
<html><body> <font style=3D"font-family: arial,helvetica,sans-serif;" size= =3D"2"><span style=3D"font-family: arial,helvetica,sans-serif;">I have a ol= d version of Rolodap (1.0) running at home in productive env in a RedHat 9.= 0 system and sending mail works.<br> [root@sweetdream caro]# rpm -qa | grep php<br> php-ldap-4.2.2-17.2<br> asp2php-0.76.2-5<br> asp2php-gtk-0.76.2-5<br> php-imap-4.2.2-17.2<br> php-4.2.2-17.2<br> <br> Using OpenLDAP 2.0.23-Release<br> <br> </span>Carolina <br><br> <br> </font><font style=3D"font-family: arial,helvetica,sans-serif;" size=3D"2">= <br>--- Philip Ward <p.g...@st...> wrote:<br><br>From: Philip = Ward <p.g...@st...><br>Date: Mon, 8 Nov 2004 09:01:14 +0000<br= >To: rol...@li...<br>Subject: Re: [Rolodap-develop= ] Email System<br><br>I had a thought yesterday. Could the problem with the= ldapsearch call be that <br>sendmail.phtml uses the php executable, while = the rest of Rolodap uses <br>mod_php.so?<br>Has anyone successfully managed= to send emails from Rolodap, and if so what <br>distro / php version / lda= p version are you using?<br><br>Phil.<br><br>On Friday 05 November 2004 10:= 43, Philip Ward wrote:<br>> Hi All,<br>><br>> The email system has= been a bit of a chore.<br>> I've finally managed to get something runni= ng and sending emails.<br>> I'll go over the problems and solutions for = anyone who is interested.<br>> Firstly I figured that allowing only one = attachment was a tad mean, so I<br>> added the ability to add more attac= hments using "More Attachments" and<br>> "Fewer Attachments" buttons. Th= is meant that mailform.phtml has to be its<br>> own "action", so that cl= icking the buttons brings you back to it. I moved<br>> the functionality= of startmailer.phtml into mailform.phtml inside an<br>> "if($send)" con= dition. Startmailer.phtml is now redundant.<br>> Various changes had to = be made to mailform.phtml and sendmail.phtml in<br>> order to handle an = array of attachments rather than a single one.<br>><br>> My next head= ache was getting sendmail.phtml to run. On my system (Debian<br>> Woody)= the php executable is /usr/bin/php4. I've hard coded it for now.<br>> P= erhaps PHPEXEC should be a setting in rolodap.conf. I'll see about adding<b= r>> this at a later date. Until then make sure that your correct php bin= ary is<br>> referenced.<br>><br>> sendmail.phtml would not run. In= depth analysis showed it crashing on the<br>> ldapsearch call. I've no = idea why it would crash. I've tried looking at the<br>> slapd debug outp= ut but have had no flashes of inspiration as yet. My<br>> interrim fix w= as to pass a list of email addresses rather than a list of<br>> uids fro= m mailform.phtml to sendmail.phtml. This way the ldapsearch is<br>> unne= cessary for determining the email addresses (and therefore commented<br>>= ; out), however it means that placeholders do not work (ie using <firstn= ame><br>> or <homephone> in the email will not result in the ac= tual data being mapped<br>> in - again this has been commented out). I'd= like to get this fixed, but<br>> will have to put it on the back burner= for now.<br>><br>> Finally support/smtp_mail.inc had a REALLY annoyi= ng bug and I had to<br>> monitor smtp traffic to find it. The MAIL FROM = and RCPT TO commands had<br>> spaces before the colons (ie "MAIL FROM :"= instead of the proper "MAIL<br>> FROM:"). Once fixed emails went out. I= don't know if these ever worked, or<br>> if some mail servers could han= dle the error but both my ISP's exim server<br>> and my local postfix se= rver got upset.<br>><br>> So, here are the files affected:-<br>> m= ailform.phtml<br>> startmailer.phtml - now redundant<br>> sendmail.ph= tml - lots of functionality commented out<br>> support/smtp_mail.inc - t= wo minor but very annoying bugs fixed<br>><br>> While I'm here, other= things I'd like to add to the email system are<br>> signatures (set up = via user preferences) and perhaps a more fully featured<br>> html email = editor. Perhaps we can integrate something like Ekit<br>> (http://www.he= xidec.com/ekit.php). Anyone interested in doing these feel<br>> free, as= I'll be working on an email audit trail for the next week or so.<br>><b= r>> Rather than mess around with patches I've attached new versions of t= he<br>> three updated files, since I don't think anyone else is looking = at the<br>> email system at the moment.<br>> All bug reports and fixe= s greatfully received, flames to /dev/null. ;-)<br>><br>> Regards,<br= >><br>> Phil.<br><br>-- <br>The University of Stirling is a universit= y established in Scotland by<br>charter at Stirling, FK9 4LA. Privileged/C= onfidential Information may<br>be contained in this message. If you are no= t the addressee indicated<br>in this message (or responsible for delivery o= f the message to such<br>person), you may not disclose, copy or deliver thi= s message to anyone<br>and any action taken or omitted to be taken in relia= nce on it, is<br>prohibited and may be unlawful. In such case, you should = destroy this<br>message and kindly notify the sender by reply email. Pleas= e advise<br>immediately if you or your employer do not consent to Internet = email<br>for messages of this kind.<br><br><br><br>------------------------= -------------------------------<br>This SF.Net email is sponsored by:<br>Sy= base ASE Linux Express Edition - download now for FREE<br>LinuxWorld Reader= 's Choice Award Winner for best database on Linux.<br>http://ads.osdn.com/?= ad_id=3D5588&alloc_id=3D12065&op=3Dclick<br>_______________________= ________________________<br>Rolodap-develop mailing list<br>Rolodap-develop= @lists.sourceforge.net<br>https://lists.sourceforge.net/lists/listinfo/rolo= dap-develop<br></font><br> <br><hr>Sign up for FREE email from Everyon= e.net email at http://www.everyone.net<br></body></html> |
|
From: Philip W. <p.g...@st...> - 2004-11-08 09:04:01
|
I had a thought yesterday. Could the problem with the ldapsearch call be that sendmail.phtml uses the php executable, while the rest of Rolodap uses mod_php.so? Has anyone successfully managed to send emails from Rolodap, and if so what distro / php version / ldap version are you using? Phil. On Friday 05 November 2004 10:43, Philip Ward wrote: > Hi All, > > The email system has been a bit of a chore. > I've finally managed to get something running and sending emails. > I'll go over the problems and solutions for anyone who is interested. > Firstly I figured that allowing only one attachment was a tad mean, so I > added the ability to add more attachments using "More Attachments" and > "Fewer Attachments" buttons. This meant that mailform.phtml has to be its > own "action", so that clicking the buttons brings you back to it. I moved > the functionality of startmailer.phtml into mailform.phtml inside an > "if($send)" condition. Startmailer.phtml is now redundant. > Various changes had to be made to mailform.phtml and sendmail.phtml in > order to handle an array of attachments rather than a single one. > > My next headache was getting sendmail.phtml to run. On my system (Debian > Woody) the php executable is /usr/bin/php4. I've hard coded it for now. > Perhaps PHPEXEC should be a setting in rolodap.conf. I'll see about adding > this at a later date. Until then make sure that your correct php binary is > referenced. > > sendmail.phtml would not run. In depth analysis showed it crashing on the > ldapsearch call. I've no idea why it would crash. I've tried looking at the > slapd debug output but have had no flashes of inspiration as yet. My > interrim fix was to pass a list of email addresses rather than a list of > uids from mailform.phtml to sendmail.phtml. This way the ldapsearch is > unnecessary for determining the email addresses (and therefore commented > out), however it means that placeholders do not work (ie using <firstname> > or <homephone> in the email will not result in the actual data being mapped > in - again this has been commented out). I'd like to get this fixed, but > will have to put it on the back burner for now. > > Finally support/smtp_mail.inc had a REALLY annoying bug and I had to > monitor smtp traffic to find it. The MAIL FROM and RCPT TO commands had > spaces before the colons (ie "MAIL FROM :" instead of the proper "MAIL > FROM:"). Once fixed emails went out. I don't know if these ever worked, or > if some mail servers could handle the error but both my ISP's exim server > and my local postfix server got upset. > > So, here are the files affected:- > mailform.phtml > startmailer.phtml - now redundant > sendmail.phtml - lots of functionality commented out > support/smtp_mail.inc - two minor but very annoying bugs fixed > > While I'm here, other things I'd like to add to the email system are > signatures (set up via user preferences) and perhaps a more fully featured > html email editor. Perhaps we can integrate something like Ekit > (http://www.hexidec.com/ekit.php). Anyone interested in doing these feel > free, as I'll be working on an email audit trail for the next week or so. > > Rather than mess around with patches I've attached new versions of the > three updated files, since I don't think anyone else is looking at the > email system at the moment. > All bug reports and fixes greatfully received, flames to /dev/null. ;-) > > Regards, > > Phil. -- The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. |
|
From: Leo & C. <le...@cr...> - 2004-11-08 01:15:58
|
Hi Don: There is not a how-to as long as I know. I will recommend to follow the README file to get you start. I has been working to make this work in a system running RHEL AS 4.0 Beta which use openldap 2.2 [root@lulu caro]# rpm -qa | grep ldap openldap-devel-2.2.13-2 openldap-servers-2.2.13-2 openldap-clients-2.2.13-2 openldap-2.2.13-2 nss_ldap-220-3 compat-openldap-2.1.30-2 php-ldap-4.3.8-11 I have not been able to make work since there are conflicts with the scheme and ldap will not populate the database from the original sample.ldif file. I have been try to resolve them in the last few days but not success. I have a few files that they were sent to me from somebody who made it work in that version of ldap so I am working in the differences that exit with those files. RHEL AS is based on fedora 2 so I guess you will encounter the same problems. You are more than welcome to test it and let us know the problems. Carolina On Sun, 2004-11-07 at 12:49 -0700, Don Harpell wrote: > Hi all > > I just subscribed to the list. I am not a developer but have some spare > hardware to use for tests etc. > > I see some people getting things working. Is there a setup guide I can > follow? I have fedora 2 with all the prerequisites for 1.0 running. > > Thanks for all the hard work. Don > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Rolodap-develop mailing list > Rol...@li... > https://lists.sourceforge.net/lists/listinfo/rolodap-develop |
|
From: Don H. <dha...@br...> - 2004-11-07 19:46:37
|
Hi all I just subscribed to the list. I am not a developer but have some spare hardware to use for tests etc. I see some people getting things working. Is there a setup guide I can follow? I have fedora 2 with all the prerequisites for 1.0 running. Thanks for all the hard work. Don |
|
From: John L. <jo...@jh...> - 2004-11-05 16:01:18
|
Rob, It probably is possible with some jimmying, but it defeats one of the major goals of Rolodap. A problem with individual addressbooks in an organization is that the same address tends to be entered in many individuals' addressbooks. This causes several problems --- Jones is unaware that Smith has the address Jones is looking for, Brown has a more current address than White but there is no way to tell which is the most current, etc. So Rolodap uses a single shared database with the personal addressbooks being nothing more than a view of the common databse. When someone starts to add an address, an early check is whether the sytem already has the address available for use. Good for organizations --- but not the place to store your mistress' phone number <grin> John Robert Brooks wrote: > should contacts in Personal Address Books be viewable by only the user > who's Personal Address Book they are in. Is it possible to run things > this way? > > Regards, > > Rob > |
|
From: Philip W. <p.g...@st...> - 2004-11-05 10:46:28
|
Hi All, The email system has been a bit of a chore. I've finally managed to get something running and sending emails. I'll go over the problems and solutions for anyone who is interested. Firstly I figured that allowing only one attachment was a tad mean, so I added the ability to add more attachments using "More Attachments" and "Fewer Attachments" buttons. This meant that mailform.phtml has to be its own "action", so that clicking the buttons brings you back to it. I moved the functionality of startmailer.phtml into mailform.phtml inside an "if($send)" condition. Startmailer.phtml is now redundant. Various changes had to be made to mailform.phtml and sendmail.phtml in order to handle an array of attachments rather than a single one. My next headache was getting sendmail.phtml to run. On my system (Debian Woody) the php executable is /usr/bin/php4. I've hard coded it for now. Perhaps PHPEXEC should be a setting in rolodap.conf. I'll see about adding this at a later date. Until then make sure that your correct php binary is referenced. sendmail.phtml would not run. In depth analysis showed it crashing on the ldapsearch call. I've no idea why it would crash. I've tried looking at the slapd debug output but have had no flashes of inspiration as yet. My interrim fix was to pass a list of email addresses rather than a list of uids from mailform.phtml to sendmail.phtml. This way the ldapsearch is unnecessary for determining the email addresses (and therefore commented out), however it means that placeholders do not work (ie using <firstname> or <homephone> in the email will not result in the actual data being mapped in - again this has been commented out). I'd like to get this fixed, but will have to put it on the back burner for now. Finally support/smtp_mail.inc had a REALLY annoying bug and I had to monitor smtp traffic to find it. The MAIL FROM and RCPT TO commands had spaces before the colons (ie "MAIL FROM :" instead of the proper "MAIL FROM:"). Once fixed emails went out. I don't know if these ever worked, or if some mail servers could handle the error but both my ISP's exim server and my local postfix server got upset. So, here are the files affected:- mailform.phtml startmailer.phtml - now redundant sendmail.phtml - lots of functionality commented out support/smtp_mail.inc - two minor but very annoying bugs fixed While I'm here, other things I'd like to add to the email system are signatures (set up via user preferences) and perhaps a more fully featured html email editor. Perhaps we can integrate something like Ekit (http://www.hexidec.com/ekit.php). Anyone interested in doing these feel free, as I'll be working on an email audit trail for the next week or so. Rather than mess around with patches I've attached new versions of the three updated files, since I don't think anyone else is looking at the email system at the moment. All bug reports and fixes greatfully received, flames to /dev/null. ;-) Regards, Phil. -- The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. |
|
From: Leo C. & C. H. <le...@cr...> - 2004-11-02 23:14:29
|
<html><body> <font style="font-family: arial,helvetica,sans-serif;" size="2">Does anybody can give the configuration that I need on my system for cvs and the basic command to update and checkout?<br> I have never use cvs so I thought somebody may know this by heart instead of me looking at google for the info.<br> <br>Carolina<br> </font> <br> <br><hr>Sign up for FREE email from Everyone.net email at http://www.everyone.net<br></body></html> |
|
From: Leo C. & C. H. <le...@cr...> - 2004-11-02 23:08:36
|
<html><body> <font style=3D"font-family: arial,helvetica,sans-serif;" size=
=3D"2"><br> <br></font><font style=3D"font-family: arial,helvetica,san=
s-serif;" size=3D"2"><br>>HOWEVER, the files need to be written by Rolod=
ap into the Unix filesystem. The <br>>filehandles need files of the form=
/var/www/rolodap/temp/file.csv<br>>Unless these is some PHP feature of =
which I am unaware (I'm an experienced <br>>programmer but PHP newbie) t=
hat enables opening filehandles from URLs then <br>>the proposed change =
should not work.<br>
<br>
I am not a PHP expert by any means but this works. I get the correct output=
(see attached file caro-mergelist.csv).<br>
Attached is also a diff command from the original makelist.phtml rolodap-v1=
(file diff_makelist.out)<br>
<br>
I actually print the filehandle in the makelist.phtml and it is blank. Foll=
owing is the output:<br>
<br>
filehandle: <br>
summfile: Resource id #13<br>
<br>
</font><font style=3D"font-family: arial,helvetica,sans-serif;" size=3D"2">=
I also test it the way you originally suggeted and it also works. As matter=
of fact, it is a better solution (less messy).<br>
<br>
This change also apply to the palmexport.phtml (see diff_palmexport.out fil=
e attached)<br>
</font><font style=3D"font-family: arial,helvetica,sans-serif;" size=3D"2">=
<br>
>Also, could you explain what the issue is with ownership?<br>
httpd run as user apache so if the temp file is not own by apache you get t=
he following error:<br>
<br>
Warning: fopen(/var/www/html/rolodap-v1/temp/caro-mergelist.csv):
failed to open stream: Permission denied in
/var/www/html/rolodap-v1/makelist.phtml on line 41<br><br><br>On Monday 01 =
November 2004 22:24, Leo Cruz & Caro Hernandez wrote:<br>> Philp:<br=
>> Thank so much for this chamges. I have to do this in the past but I<=
br>> hard-code to make work.<br>><br>> In my test I found the fol=
lowing:<br>><br>> 1) In the file that you sent with the difference y=
ou miss the following:<br>> diff -Nur makelist.phtml /var/www/html/rolo=
dap-v1/makelist.phtml<br>><br>> -  =
; $filehandle =3D fopen ("$=
filename",w);<br>>
- &n=
bsp;
$summfile =3D fopen ("$sumfilename",w);<br>><br>>
+ &n=
bsp;
//$filehandle =3D fopen ("$filename",w);<br>>
+ &n=
bsp;
$filehandle =3D fopen ("$fileurl",w);<br>>
+ &n=
bsp;
//$summfile =3D fopen ("$sumfilename",w);<br>>
+ &n=
bsp;
$summfile =3D fopen ("$sumfileurl",w);<br>><br>> 2) /temp ownership<=
br>> [root@nightmare rolodap-v1]# pwd<br>> /var/www/html/rolodap-v1=
<br>><br>> [root@nightmare rolodap-v1]# ls -ald temp<br>> drwxr-=
xr-x 2 apache apache &=
nbsp; 4096 Oct 22 15:57 temp<br>><br>><br>> Carolina<br>>=
; <br>><br>> --- Philip Ward <p.g...@st...> wrote=
:<br>><br>> From: Philip Ward <p.g...@st...><br>> Dat=
e: Fri, 22 Oct 2004 09:52:05 +0100<br>> To: rol...@li...=
forge.net<br>> Subject: [Rolodap-develop] Intro and Mailing List Patches=
<br>><br>> Hi folks,<br>><br>> This is my first time on the mai=
ling list, so here's a brief intro.<br>> My name is Philip Ward. I'm one=
of the Unix admins at the University of<br>> Stirling in central Scotla=
nd. I've been doing this for nearly two months,<br>> previously having b=
een a developer doing all sorts of things from Unix<br>> daemons to embe=
dded C on microcontrollers with some Oracle and Visual stuff<br>> in bet=
ween. I've been a Unix user since 1992 and a GNU/Linux home user<br>> si=
nce 1998, having started hacking since receiving a BBC Micro in 1983.<br>&g=
t; I used to use Rolodap 0.9 at home. It was a pain to setup, but a joy to =
use<br>> once working. When I moved things around at home I tried to ins=
tall Rolodap<br>> on the new server, but gave up and instead got ldap-ab=
ook working, and am<br>> still using it at home.<br>> My interest in =
Rolodap was rekindled when a friend asked me for a contacts<br>> databas=
e that supported contact categorisation. I reckoned that Rolodap was<br>>=
; what he needed. I spent a bit more time trying to beat Rolodap into<br>&g=
t; submission and finally got it working.<br>> This friend wants a searc=
hable email audit trail, so I may end up adding<br>> this functionality =
into Rolodap and sending in the patches. If anyone has<br>> any ideas on=
how to add this then I'd love to hear them.<br>> I'm thinking that the =
best way would be to make Rolodap do ALL the emailing<br>> (so remove th=
e mailto: link from contact display and send all emails<br>> through the=
rolodap email client) and then record all transactions in the<br>> dire=
ctory. Another way of doing it (probably more complex but will enable<br>&g=
t; users to use their preferred email client) would be to launch the defaul=
t<br>> email client but add ro...@ho... in the cc list. A mail r=
eader<br>> could then received the message and feed it into the director=
y.<br>> Whaddya think?<br>><br>> Right, now for a wee gift. I noti=
ced that Mailing list generation is<br>> broken. Rolodap generates the f=
iles in the temp directory<br>> (/var/www/rolodap/temp/ in my case) but =
when you then click to download the<br>> file it<br>> passes /var/www=
/rolodap/temp/filename.csv to the browser when it should<br>> pass http:=
//host.domain/rolodap/temp/filename.csv to the browser. The<br>> attache=
d patch adds TEMPURL to rolodap.conf and uses TEMPURL in generating<br>>=
the url for the file download.<br>> Please accept my apologies if this =
has already been fixed in CVS.<br>><br>> Bye for now,<br>><br>>=
Phil Ward.<br><br>-- <br>The University of Stirling is a university establ=
ished in Scotland by<br>charter at Stirling, FK9 4LA. Privileged/Confident=
ial Information may<br>be contained in this message. If you are not the ad=
dressee indicated<br>in this message (or responsible for delivery of the me=
ssage to such<br>person), you may not disclose, copy or deliver this messag=
e to anyone<br>and any action taken or omitted to be taken in reliance on i=
t, is<br>prohibited and may be unlawful. In such case, you should destroy =
this<br>message and kindly notify the sender by reply email. Please advise=
<br>immediately if you or your employer do not consent to Internet email<br=
>for messages of this kind.<br><br><br><br>--------------------------------=
-----------------------<br>This SF.Net email is sponsored by:<br>Sybase ASE=
Linux Express Edition - download now for FREE<br>LinuxWorld Reader's Choic=
e Award Winner for best database on Linux.<br>http://ads.osdn.com/?ad_idU88=
&alloc_id=12065&op=3Dclick<br>_____________________________________=
__________<br>Rolodap-develop mailing list<br>Rol...@li...=
orge.net<br>https://lists.sourceforge.net/lists/listinfo/rolodap-develop<br=
></font><br> <br><hr>Sign up for FREE email from Everyone.net email at=
http://www.everyone.net<br></body></html>
|
|
From: Philip W. <p.g...@st...> - 2004-11-02 09:23:13
|
No, I think this has confused the issue. I added fileurl and sumfileurl because the values in these variables are wh= at=20 Rolodap passes back to the browser for user access to the files (ie=20 http://server.com/rolodap/temp/file.csv). HOWEVER, the files need to be written by Rolodap into the Unix filesystem. = The=20 filehandles need files of the form /var/www/rolodap/temp/file.csv Unless these is some PHP feature of which I am unaware (I'm an experienced= =20 programmer but PHP newbie) that enables opening filehandles from URLs then= =20 the proposed change should not work. Also, could you explain what the issue is with ownership? Thanks, Phil. On Monday 01 November 2004 22:24, Leo Cruz & Caro Hernandez wrote: > Philp: > Thank so much for this chamges. I have to do this in the past but I > hard-code to make work. > > In my test I found the following: > > 1) In the file that you sent with the difference you miss the following: > diff -Nur makelist.phtml /var/www/html/rolodap-v1/makelist.phtml > > -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $filehandle =3D fopen ("$fil= ename",w); > -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $summfile =3D fopen ("$sumfi= lename",w); > > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 //$filehandle =3D fopen ("$f= ilename",w); > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $filehandle =3D fopen ("$= fileurl",w); > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 //$summfile =3D fopen ("$sum= filename",w); > +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $summfile =3D fopen ("$su= mfileurl",w); > > 2) /temp ownership > [root@nightmare rolodap-v1]# pwd > /var/www/html/rolodap-v1 > > [root@nightmare rolodap-v1]# ls -ald temp > drwxr-xr-x=A0=A0=A0 2 apache=A0=A0 apache=A0=A0=A0=A0=A0=A0 4096 Oct 22 = 15:57 temp > > > Carolina > =A0 > > --- Philip Ward <p.g...@st...> wrote: > > From: Philip Ward <p.g...@st...> > Date: Fri, 22 Oct 2004 09:52:05 +0100 > To: rol...@li... > Subject: [Rolodap-develop] Intro and Mailing List Patches > > Hi folks, > > This is my first time on the mailing list, so here's a brief intro. > My name is Philip Ward. I'm one of the Unix admins at the University of > Stirling in central Scotland. I've been doing this for nearly two months, > previously having been a developer doing all sorts of things from Unix > daemons to embedded C on microcontrollers with some Oracle and Visual stu= ff > in between. I've been a Unix user since 1992 and a GNU/Linux home user > since 1998, having started hacking since receiving a BBC Micro in 1983. > I used to use Rolodap 0.9 at home. It was a pain to setup, but a joy to u= se > once working. When I moved things around at home I tried to install Rolod= ap > on the new server, but gave up and instead got ldap-abook working, and am > still using it at home. > My interest in Rolodap was rekindled when a friend asked me for a contacts > database that supported contact categorisation. I reckoned that Rolodap w= as > what he needed. I spent a bit more time trying to beat Rolodap into > submission and finally got it working. > This friend wants a searchable email audit trail, so I may end up adding > this functionality into Rolodap and sending in the patches. If anyone has > any ideas on how to add this then I'd love to hear them. > I'm thinking that the best way would be to make Rolodap do ALL the emaili= ng > (so remove the mailto: link from contact display and send all emails > through the rolodap email client) and then record all transactions in the > directory. Another way of doing it (probably more complex but will enable > users to use their preferred email client) would be to launch the default > email client but add ro...@ho... in the cc list. A mail reader > could then received the message and feed it into the directory. > Whaddya think? > > Right, now for a wee gift. I noticed that Mailing list generation is > broken. Rolodap generates the files in the temp directory > (/var/www/rolodap/temp/ in my case) but when you then click to download t= he > file it > passes /var/www/rolodap/temp/filename.csv to the browser when it should > pass http://host.domain/rolodap/temp/filename.csv to the browser. The > attached patch adds TEMPURL to rolodap.conf and uses TEMPURL in generating > the url for the file download. > Please accept my apologies if this has already been fixed in CVS. > > Bye for now, > > Phil Ward. --=20 The University of Stirling is a university established in Scotland by charter at Stirling, FK9 4LA. Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not disclose, copy or deliver this message to anyone and any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. |
|
From: Leo C. & C. H. <le...@cr...> - 2004-11-01 22:24:51
|
<html><body> <font style=3D"font-family: arial,helvetica,sans-serif;" size=
=3D"2"><span style=3D"font-family: arial,helvetica,sans-serif;">Philp:<br>
Thank so much for this chamges. I have to do this in the past but I hard-co=
de to make work.<br>
<br>
In my test I found the following:<br>
<br>
1) In the file that you sent with the difference you miss the following:<br>
diff -Nur makelist.phtml /var/www/html/rolodap-v1/makelist.phtml<br>
<br>
- &n=
bsp; $filehandle =3D fopen ("$filename",w);<br>
- &n=
bsp; $summfile =3D fopen ("$sumfilename",w);<br>
<br>
+ &n=
bsp; //$filehandle =3D fopen ("$filename",w);<br>
+ &n=
bsp; $filehandle =3D fopen ("$fileurl",w);<br>
+ &n=
bsp; //$summfile =3D fopen ("$sumfilename",w);<br>
+ &n=
bsp; $summfile =3D fopen ("$sumfileurl",w);<br>
<br>
2) /temp ownership<br>
[root@nightmare rolodap-v1]# pwd<br>
/var/www/html/rolodap-v1<br>
<br>
[root@nightmare rolodap-v1]# ls -ald temp<br>
drwxr-xr-x 2 apache apache &=
nbsp; 4096 Oct 22 15:57 temp<br>
<br>
<br>
Carolina<br>
</span> <br></font><font style=3D"font-family: arial,helvetica,sans-se=
rif;" size=3D"2"><br>--- Philip Ward <p.g...@st...> wrote:<br>=
<br>From: Philip Ward <p.g...@st...><br>Date: Fri, 22 Oct 2004=
09:52:05 +0100<br>To: rol...@li...<br>Subject: [R=
olodap-develop] Intro and Mailing List Patches<br><br>Hi folks,<br><br>This=
is my first time on the mailing list, so here's a brief intro.<br>My name =
is Philip Ward. I'm one of the Unix admins at the University of <br>Stirlin=
g in central Scotland. I've been doing this for nearly two months, <br>prev=
iously having been a developer doing all sorts of things from Unix <br>daem=
ons to embedded C on microcontrollers with some Oracle and Visual stuff <br=
>in between. I've been a Unix user since 1992 and a GNU/Linux home user sin=
ce <br>1998, having started hacking since receiving a BBC Micro in 1983.<br=
>I used to use Rolodap 0.9 at home. It was a pain to setup, but a joy to us=
e <br>once working. When I moved things around at home I tried to install R=
olodap <br>on the new server, but gave up and instead got ldap-abook workin=
g, and am <br>still using it at home.<br>My interest in Rolodap was rekindl=
ed when a friend asked me for a contacts <br>database that supported contac=
t categorisation. I reckoned that Rolodap was <br>what he needed. I spent a=
bit more time trying to beat Rolodap into <br>submission and finally got i=
t working.<br>This friend wants a searchable email audit trail, so I may en=
d up adding this <br>functionality into Rolodap and sending in the patches.=
If anyone has any <br>ideas on how to add this then I'd love to hear them.=
<br>I'm thinking that the best way would be to make Rolodap do ALL the emai=
ling <br>(so remove the mailto: link from contact display and send all emai=
ls through <br>the rolodap email client) and then record all transactions i=
n the directory.<br>Another way of doing it (probably more complex but will=
enable users to use <br>their preferred email client) would be to launch t=
he default email client but <br>add ro...@ho... in the cc list. A m=
ail reader could then received the <br>message and feed it into the directo=
ry.<br>Whaddya think?<br><br>Right, now for a wee gift. I noticed that Mail=
ing list generation is broken. <br>Rolodap generates the files in the temp =
directory (/var/www/rolodap/temp/ in <br>my case) but when you then click t=
o download the file it <br>passes /var/www/rolodap/temp/filename.csv to the=
browser when it should pass <br>http://host.domain/rolodap/temp/filename.c=
sv to the browser. The attached <br>patch adds TEMPURL to rolodap.conf and =
uses TEMPURL in generating the url for <br>the file download.<br>Please acc=
ept my apologies if this has already been fixed in CVS.<br><br>Bye for now,=
<br><br>Phil Ward.<br><br>-- <br>The University of Stirling is a university=
established in Scotland by<br>charter at Stirling, FK9 4LA. Privileged/Co=
nfidential Information may<br>be contained in this message. If you are not=
the addressee indicated<br>in this message (or responsible for delivery of=
the message to such<br>person), you may not disclose, copy or deliver this=
message to anyone<br>and any action taken or omitted to be taken in relian=
ce on it, is<br>prohibited and may be unlawful. In such case, you should d=
estroy this<br>message and kindly notify the sender by reply email. Please=
advise<br>immediately if you or your employer do not consent to Internet e=
mail<br>for messages of this kind.<br><br></font><br> <br><hr>Sign up =
for FREE email from Everyone.net email at http://www.everyone.net<br></body=
></html> |
|
From: Leo C. & C. H. <le...@cr...> - 2004-10-28 21:06:51
|
<html><body> <font style="font-family: arial,helvetica,sans-serif;" size="2">Problem adding a user and editing the user:<br> <br> >Add and edit users is broken because of a simple typo. I managed to get it<br> >fixed on my Debian Woody system.<br> >ldapadd.phtml and ldapedit.phtml use AUTH_SERVER_BIND_AS and AUTH_SERVER_BIND_PASSWORD<br> >which do not work. Using BIND_AS and BIND_PASSWORD did the trick.<br> <br> <br> The solution that Philip suggested worked. Even though I am guessing he meant to say to change ldapadduser.phtml instead of ldapadd.phtml. I could not find any mention of the variables AUTH_SERVER_BIND_PASSWORD and AUTH_SERVER_BIND_AS in ldapadd.phtml<br> <br> However, I noticed that the problem is that ldap is refusing to connect because a invalid dn<br> daemon: activity on: 7r<br> daemon: read activity on 7<br> connection_get(7)<br> bind: invalid dn (rolodap)<br> send_ldap_result: 34::invalid DN<br> ber_flush: 24 bytes to sd 7<br> daemon: select: listen=6 active_threads=1 tvp=NULL<br> <br> Checked that cn:rolodap exists in the database<br> [root@nightmare rolodap-v1]# ldapsearch -x -b "o=contacts.carolina.com" -D "cn=Manager,o=contacts.carolina.com" -w ve0674 '(cn=rolodap)'<br> version: 2<br> <br> #<br> # filter: (cn=rolodap)<br> # requesting: ALL<br> #<br> <br> # rolodap, contacts.carolina.com<br> dn: cn=rolodap, o=contacts.carolina.com<br> objectClass: top<br> objectClass: organizationalrole<br> objectClass: person<br> cn: rolodap<br> sn: rolodap<br> userPassword:: c2VjcmV0<br> <br> # search result<br> search: 2<br> result: 0 Success<br> <br> # numResponses: 2<br> # numEntries: 1<br> <br> --------------------------------------------------------------------------------------<br> This meant that a entry was added from the inital sample.ldif file:<br> -------------------------------------------------------------------------------------<br> <br> dn: cn=rolodap, o=contacts.cruzhernandez.net<br> objectclass: top<br> objectclass: organizationalrole<br> objectclass: person<br> cn: rolodap<br> sn: rolodap<br> userpassword : secret<br> <br> ----------------------------------------------<br> To solve the problem <br> ----------------------------------------------<br> <br> Edit the rolodap.conf and change the following lines <br> <br> From:<br> # the user to bind to the auth server with a single admin account that<br> # as the needed access to make changes to users<br> AUTH_SERVER_BIND_AS : rolodap<br> AUTH_SERVER_BIND_PASSWORD : password<br> <br> Here, not only the base dn is screw but also the passwd . The passwd in the sample.ldif is different from passwd on the rolodap.conf<br> <br> To:<br> # the user to bind to the auth server with a single admin account that<br> # as the needed access to make changes to users<br> AUTH_SERVER_BIND_AS : cn=rolodap,o=contacts.carolina.com<br> AUTH_SERVER_BIND_PASSWORD : secret<br> <br> Now the ldap server will connect without any problem:<br> <br> daemon: select: listen=6 active_threads=1 tvp=NULL<br> daemon: activity on 1 descriptors<br> daemon: activity on: 20r<br> daemon: read activity on 20<br> connection_get(20)<br> do_modify: dn (cn=rolodapadmins,o=contacts.carolina.com)<br> modifications:<br> replace: member<br> ldbm_back_modify:<br> ldbm_modify_internal: replace<br> ldbm_modify_internal: replace<br> ldbm_modify_internal: replace<br> daemon: select: listen=6 active_threads=1 tvp=NULL<br> <br> ------------------<br> Question<br> ------------------<br> <br> Does anybody knows the difference between the use of :<br> AUTH_SERVER_BIND_AS and BIND_AS<br> AUTH_SERVER_BIND_PASSWORD and BIND_PASSWORD<br> <br> Looking at the codes it look likes they are interchangeable<br> Does anybody knows the real reason behind these two different variables?<br> <br> <br> <br>Leonardo Cruz & Carolina Hernandez<br>Phone: (651) 905-8912<br>E-mail: le...@cr...</font> <br> <br><hr>Sign up for FREE email from Everyone.net email at http://www.everyone.net<br></body></html> |
|
From: Ben D. <be...@ap...> - 2004-10-27 17:33:08
|
Thanks for that tip! I'll have a look when I get home. Philip Ward wrote: > Add and edit users is broken because of a simple typo. I managed to get it > fixed on my Debian Woody system. > ldapadd.phtml and ldapedit.phtml use AUTH_SERVER_BIND_AS and > AUTH_SERVER_BIND_PASSWORD which do not work. Using BIND_AS and > BIND_PASSWORD did the trick. > > Hope this helps speed things along for you. > > Phil. > > On Tuesday 26 October 2004 23:47, Leo Cruz & Caro Hernandez wrote: > >>Hi All: >> >>This has been a long journey. But I finally after a lot of hours of >>configuration I make Rolodap v1 to work. Add new users and edit user is >>broken but I will work on that in the next few days. My next step will be >>to look at the bugs and see how I can get that organize and open the ones >>that I found during the install. >> >>If you are interesting, following is all the changes that I have to do to >>make it work so far: >> >>This is a system running RHEL AS 3.3 >>[root@nightmare rolodap-v1]# rpm -qa | grep http >>httpd-2.0.46-38.ent >> >>[root@nightmare rolodap-v1]# rpm -qa | grep php >>php-imap-4.3.2-14.ent >>php-4.3.2-14.ent >>php-ldap-4.3.2-14.ent >> >>-------------------------------------------- >>Problem 1 >>-------------------------------------------- >>[root@nightmare openldap]# service ldap restart >>Starting slapd: /etc/openldap/slapd.conf: line 112: equality index of >>attribute "postaladdress" disallowed [FAILED] [root@nightmare rolodap-v1]# >>vi /etc/openldap/slapd.conf >> >># Indices to maintain >>index default pres,eq >>index objectClass,uid,memberof >>index active,cn,sn,givenname,mail,userscode eq,sub,pres >>#index postaladdress,homepostaladdress eq,sub >>index description eq,sub >>index companyname eq,sub,pres >> >> >># vi /etc/openldap/schema/core.schema >>Change From: >> >>attributetype ( 2.5.4.16 NAME 'postalAddress' >> EQUALITY caseIgnoreListMatch >> SUBSTR caseIgnoreListSubstringsMatch >> SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ) >> >>To: >> >>attributetype ( 2.5.4.16 NAME 'postalAddress' >> EQUALITY caseIgnoreMatch >> SUBSTR caseIgnoreSubstringsMatch >> SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 ) >> >>---------------------------- >>Problem 2 >>---------------------------- >>Check command in the README file to add in the database >> >>ldapadd -h contacts.arius.net -D manager -P secret < sample.ldif >> >>It does not work I think parameter are wrong. I used the following >> >>[root@nightmare openldap]# ldapadd -x -D >>"cn=manager,o=contacts.cruzhernandez.net" -w secret -f >>/tmp/Rolodap/rolodap-v1/extras/sample.ldif >> >>--------------------------- >>Problem 3 >>--------------------------- >>Point my browser to: >>http://localhost/rolodap-v1/auth.phtml >> >>Everything is a lot of garbage need configuration of php to handle *.phtml >>files >> >># vi /etc/httpd/conf.d/php.conf >> >>Add: >> >><Files *.phtml> >> SetOutputFilter PHP >> SetInputFilter PHP >> LimitRequestBody 524288 >></Files> >> >>----------------------------- >>Problem 4 >>----------------------------- >>Can not logging. Rolodap will not get the values of the variables necesary. >>It will not even try to bind because is going through the wrong piece of >>code in the auth.phtml file >> >>Message on the http://localhost/rolodap-v1/auth.phtml page >> >>Warning: Unknown(): Your script possibly relies on a session side-effect >>which existed until PHP 4.2.3. Please be advised that the session extension >>does not consider global variables as a source of data, unless >>register_globals is enabled. You can disable this functionality and this >>warning by setting session.bug_compat_42 or session.bug_compat_warn to off, >>respectively. in Unknown on line 0 >> >> >>Change register_globals from Off to On in the php.ini >> >>; Whether or not to register the EGPCS variables as global variables. You >>may ; want to turn this off if you don't want to clutter your scripts' >>global scope ; with user data. This makes most sense when coupled with >>track_vars - in which ; case you can access all of the GPC variables >>through the $HTTP_*_VARS[], ; variables. >>; >>; You should do your best to write your scripts so that they do not require >>; register_globals to be on; Using form variables as globals can easily >>lead ; to possible security problems, if the code is not very well thought >>of. register_globals = On >> >> >> >> >> >>Leonardo Cruz & Carolina Hernandez >>Phone: (651) 905-8912 >>E-mail: le...@cr... >> >>--- Leo & Caro <le...@cr...> wrote: >> >>From: Leo & Caro <le...@cr...> >>Date: Mon, 25 Oct 2004 20:45:31 -0500 >>To: rol...@li... >>Subject: Re: [Rolodap-develop] Getting start >> >>Thank.. >> >>On Mon, 2004-10-25 at 20:01, John Lederer wrote: >> >>>This might help on the logging: >>>http://www.onlamp.com/pub/a/php/2004/08/12/DebuggingPHP.html >>> >>>John >>> >>>Carolina Hernandez wrote: >>> >>>>Hi All: >>>> >>>>I have been trying to be set up with a system with Rolodap working so I >>>>can see where we at with this project. It has been a long way. I have >>>>everything working except that I can not logging. >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>>Use IT products in your business? Tell us what you think of them. Give us >>>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >>>more http://productguide.itmanagersjournal.com/guidepromo.tmpl >>>_______________________________________________ >>>Rolodap-develop mailing list >>>Rol...@li... >>>https://lists.sourceforge.net/lists/listinfo/rolodap-develop > > -- Ben Dugdale <be...@ap...> Network Administrator Apache County Schools Business Consortium www.acsbc.net Apache County Arizona www.co.apache.az.us (928) 337-7507 --- [Scanned for viruses] |