Jump to content

Recommended Posts

Posted

Hi

 

I have installed and got working the MRBS system, under WAMP, have configured for LDAP (NT), which is logging in under the current logged in user account, though my own full admin account does not have permission to go into Admin.

 

In fact for some reason I do not know the full admin username and password to get into the admin side, it never asked for 1 in the install. Does anyone know how to log in under full admin, or get my NT authentication to recognise I am full admin.?

 

Thanks

 

Scot

Posted

in the config.inc.php

 

###############################################
# Authentication settings - read AUTHENTICATION
###############################################
$auth["session"] = "nt"; # How to get and keep the user ID. One of
		  # "http" "php" "cookie" "ip" "host" "nt" "omni".
$auth["type"] = "none"; # How to validate the user/password. One of "none"
                         # "config" "db" "pop3" "imap" "ldap" "nis" "nw" "ext".

# The list of administrators (can modify other peoples settings)
$auth["admin"][] = "127.0.0.1";	# localhost IP address. Useful with IP sessions.
$auth["admin"][] = "administrator";	# A user name from the user list. Useful

 

Add an entry for your username for admin.

Posted

I have this already, after some searching about. it appears to log me in, the message I get when I try to go to the admin page is

Access Denied

You do not have access rights to modify this item.

 

###############################################

# Authentication settings - read AUTHENTICATION

###############################################

$auth["session"] = "nt"; # How to get and keep the user ID. One of

# "http" "php" "cookie" "ip" "host" "nt" "omni"

# "remote_user"

$auth["type"] = "ldap"; # How to validate the user/password. One of "none"

# "config" "db" "db_ext" "pop3" "imap" "ldap" "nis"

# "nw" "ext".

 

# Cookie path override. If this value is set it will be used by the

# 'php' and 'cookie' session schemes to override the default behaviour

# of automatically determining the cookie path to use

$cookie_path_override = '';

 

# The list of administrators (can modify other peoples settings)

$auth["admin"][] = "127.0.0.1"; # localhost IP address. Useful with IP sessions.

$auth["admin"][] = "administrator"; # A user name from the user list. Useful

$auth["admin"][] = "slester"; # A user name from the user list. Useful #with most other session schemes.

Guest Guest
Posted
^ Thats correct mate. Restart apache i guess.
Posted

I thought I would have been a complete donut, as I did not try that, but have now, and if I check the PHP extensions in WAMP, the php_ldap extension is ticked.

 

But still does not let me into the admin bit, but I am logged on.

Posted

Can anyone send me the config file in whole, so I can see if I have the rest of it set correct in the ldap bit?.

 

Thanks

 

Scot

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...