+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 37
Virtual Learning Platforms Thread, Moodle LDAP Auth in Technical; Originally Posted by webman Did you restart the services after you enabled the DLL extension? Yep Originally Posted by tonyd ...
  1. #16

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    Quote Originally Posted by webman View Post
    Did you restart the services after you enabled the DLL extension?
    Yep

    Quote Originally Posted by tonyd View Post
    Having had to fix quite a few XAMP installs, I strongly recommend avoiding it (except maybe for pure testing enviroments) and doing a normal PHP, MySQL, Apache (or IIS) installation. This may take a little longer to get up and running, but is well worth a bit of pain up front to save more problems in the furture.

    Sorry but can't help with the authentication bit, that's one of the reasons for us moving from XAMP to IIS, it works much more easily there!
    Im no expert at doing it to be honest i have tried a couple of times and failed.

    thanks

    Z

  2. #17

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    I have just installed Wamp on my laptop, how do i set passwords to secure phpmyadmin?

    Thanks

    z

  3. #18

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,374
    Thank Post
    625
    Thanked 951 Times in 653 Posts
    Blog Entries
    2
    Rep Power
    318
    Have you tried setting a password for the root MySQL user?

  4. #19

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    Yes but i get access denied when i go into PHPmyadmin

  5. #20

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,374
    Thank Post
    625
    Thanked 951 Times in 653 Posts
    Blog Entries
    2
    Rep Power
    318
    Did you update the username/password in c:\wamp\apps\phpmyadmin*\config.inc.php?

  6. #21

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by FN-GM View Post
    how do i set passwords to secure phpmyadmin?
    Edit phpMyAdmin's config.inc.php and set $cfgServers[$i]['auth_type'] to 'cookie'.

    You should also make sure you set a root password on your mysql server.

  7. #22

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    Yes but then it lets me right in again so i haven't gained anything.

    Z

  8. #23

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,216
    Thank Post
    2,766
    Thanked 935 Times in 875 Posts
    Rep Power
    343
    doesn't it give you a default admin username and password ( in the read me file of phpmyadmin )

    have not done it for a long time so appologies if its wrong info.

    Then once you have that default username and password you can alter / add / change other users etc

    That or it asks you to create an admin account to start with ( cant remember as memorys a bit fuzzy )

  9. #24

    bossman's Avatar
    Join Date
    Nov 2005
    Location
    England
    Posts
    3,853
    Thank Post
    1,160
    Thanked 1,028 Times in 729 Posts
    Rep Power
    323
    @FN-GM:
    Could this be what you are looking for?
    JLBN - Password Protection on WAMP

    Also here is another link to be going on with:WAMP + Tutorial - SWiK
    Last edited by bossman; 8th April 2009 at 05:14 PM.

  10. #25

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,374
    Thank Post
    625
    Thanked 951 Times in 653 Posts
    Blog Entries
    2
    Rep Power
    318
    See above by powdarrmonkey then. I don't use WAMP in a production environment (nor phpMyAdmin for that matter).

  11. #26

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    Quote Originally Posted by FN-GM View Post
    Yes but then it lets me right in again so i haven't gained anything.
    Setting authtype to cookie will prompt you for it when you open the web interface.

  12. #27

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    Quote Originally Posted by powdarrmonkey View Post
    Setting authtype to cookie will prompt you for it when you open the web interface.
    That worked ta, on the last message you posted as i was typing

  13. #28

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    You can use authtype='http' as well, for compatibility, but your session never times out then, so if you don't close your browser it's vulnerable.

  14. #29

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,390
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427
    Hi, thanks for the help so far


    I have another problem now i get the following messege
    LDAP-module cannot connect to any servers: Server: '172.20.0.1' Connection: 'Resource id #45' Bind result: ''
    I have attached screenshots of my configuration.

    The domain is called btc.local and we are running Windows Server 2008 DC's and the above is the IP address of one of them.

    Any help would be appreciated.

    Thanks

    Z
    Attached Images Attached Images
    • File Type: jpg 1.jpg (112.2 KB, 16 views)
    • File Type: jpg 2.jpg (122.9 KB, 12 views)
    • File Type: jpg 3.jpg (119.4 KB, 11 views)
    • File Type: jpg 4.jpg (55.6 KB, 7 views)

  15. #30

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,855
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    181
    See the notes about 'Host URL' at the top right of the first screenshot.

SHARE:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Moodle LDAP Country
    By IT_Man_Dan in forum Virtual Learning Platforms
    Replies: 1
    Last Post: 2nd April 2009, 09:07 AM
  2. Moodle and LDAP
    By ahunter in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 31st October 2008, 11:12 AM
  3. Moodle LDAP
    By zag in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 17th July 2008, 10:12 AM
  4. Moodle LDAP authentication
    By FN-GM in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 25th May 2008, 11:58 AM
  5. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 04:02 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •