Welcome, Guest. Please login or register.

Recent Posts

Pages: 1 ... 8 9 [10]
91
Installation / Digest Authentication Setup
« Last post by MissouriSpartan on October 12, 2017, 09:18:54 PM »
We are running NeDi 1.6.1. It's been GREAT!! However, we want to secure the box using Digest Authentication along with SSL. I have taken care of the SSL part, but how do you setup Digest Authentication with a PHP-based site? I'm not sure how to get the .htdigest file to line up with NeDi's user management?

Help!!  :-[
92
Installation / It's installed but I get a 403 error from the web page
« Last post by jbruyet on October 09, 2017, 09:53:56 PM »
Hey all, I was finally able to complete my NeDi installation without errors; I was neglecting to "sudo" that initialization command.

Now that I'm trying to access the web page I'm getting a "403 Forbidden" error. I've chown'ed the entire /opt directory to www-data but no joy. I deleted the soft link and recreated it. Nope. I even went into the nginx default sites configuration and made /opt/nedi/html the default web site but I'm still getting the 403 error.

I've been using the NeDi instructions from this site: https://help.ubuntu.com/community/NediHowTo

Can anyone see where I may have gone wrong?

Thanks,

Joe B
93
Installation / Re: nedi.pl script fails @ mysal login but my mysql login works.
« Last post by jbruyet on October 09, 2017, 04:23:55 PM »
OOOOHHHHHHH!!!!!!

Yep, it just initialized without any errors. Thanks for you help and your patience!

Thanks,

Joe B
94
Installation / Re: nedi.pl script fails @ mysal login but my mysql login works.
« Last post by rickli on October 07, 2017, 10:22:07 PM »
I meant become root first (sudo) and then try again. Should work, even without DB password...
95
Installation / Re: nedi.pl script fails @ mysal login but my mysql login works.
« Last post by jbruyet on October 06, 2017, 08:48:20 PM »
I tried that too. No joy:

Code: [Select]
jobee@NeDi:/opt/nedi$ ./nedi.pl -i

Initialize NeDi DB!!!
------------------------------------------------------------------------
mysql admin user: root
mysql admin pass:
DBI connect('dbname=mysql;host=localhost','root',...) failed: Access denied for user 'root'@'localhost' at ./inc/libdb.pm line 37.
jobee@NeDi:/opt/nedi$

This is Ubuntu 16.04.3 LTS. Should I try it with a different version of Ubuntu? Or a different distribution?

Thanks,

Joe B
96
Installation / Re: nedi.pl script fails @ mysal login but my mysql login works.
« Last post by rickli on October 06, 2017, 07:49:14 PM »
More recent Debian/Ubuntu systems changed how root access behaves. Try initialize as root. I bet you won't even need DB password then...

97
Installation / Re: Ubuntu installation script references wrong files?
« Last post by rickli on October 06, 2017, 07:46:46 PM »
Oops, typo. It should be php-ldap, but it's only needed for using AD...
98
Installation / nedi.pl script fails @ mysal login but my mysql login works.
« Last post by jbruyet on October 06, 2017, 07:01:15 PM »
Hey all, when I run the nedi.pl script my mysql login fails:

Code: [Select]
jobee@NeDi:/opt/nedi$ ./nedi.pl -i

Initialize NeDi DB!!!
------------------------------------------------------------------------
mysql admin user: root
mysql admin pass: Pass123
DBI connect('dbname=mysql;host=localhost','root',...) failed: Access denied for user 'root'@'localhost' at ./inc/libdb.pm line 37.
jobee@NeDi:/opt/nedi$

I can log in to mysql using the same credentials, create a new user, grant that user all privileges and flush privileges. But even using THAT user for the nedi.pl script fails although the error is a little different:

Code: [Select]
Initialize NeDi DB!!!
------------------------------------------------------------------------
mysql admin user: jobee
mysql admin pass:
DB Version      : 10.0.31-MariaDB-0ubuntu0.16.04.2
----------------------------------------------------------------------
Old DB 'nedi' dropped!
Creating 'nedi' for nedi@localhost:
DBD::mysql::db do failed: Access denied for user 'jobee'@'localhost' to database 'nedi' at ./inc/libdb.pm line 135, <STDIN> line 2.
DBD::mysql::db do failed: Access denied for user 'jobee'@'localhost' to database 'nedi' at ./inc/libdb.pm line 135, <STDIN> line 2.
jobee@NeDi:/opt/nedi$ ./nedi.pl -i

Any ideas, suggestions or recommendations on what is going on here? I've wiped and reinstalled three times now thinking maybe I missed a step somewhere but not that I can tell. I'm using the instructions on this page https://help.ubuntu.com/community/NediHowTo. Is there a step missing here that will fix my problem?

Thanks,

Joe B


99
Installation / Re: Ubuntu installation script references wrong files?
« Last post by jbruyet on October 06, 2017, 06:44:45 PM »
Yep, that last file isn't php-dap, it's php.dap. All of these dependencies install correctly now.

Thanks,

Joe B
100
Installation / Re: Ubuntu installation script references wrong files?
« Last post by jbruyet on October 05, 2017, 09:56:34 PM »
I erased that VM and started over (I love my VMware). That last file is giving me this error:

Code: [Select]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php-dap
jobee@NeDi:~$

I was going to search for it but my fingers tried to install it on their own. Ubuntu gave me this message:

Code: [Select]
jobee@NeDi:~$ sudo apt-get install php.dap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'phpldapadmin' for regex 'php.dap'
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 libxslt1.1 php-common php-ldap php-xml php7.0-cli
  php7.0-common php7.0-json php7.0-ldap php7.0-opcache php7.0-readline php7.0-xml ssl-cert
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom php-pear openssl-blacklist
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.1-0 libxslt1.1 php-common php-ldap php-xml php7.0-cli
  php7.0-common php7.0-json php7.0-ldap php7.0-opcache php7.0-readline php7.0-xml phpldapadmin ssl-cert
0 upgraded, 24 newly installed, 0 to remove and 3 not upgraded.
Need to get 6,046 kB of archives.
After this operation, 26.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Will installing this give me what I need? I see ldap admin in there so I thought I should ask first.

Thanks,

Joe B
Pages: 1 ... 8 9 [10]