+ Post New Thread
Results 1 to 4 of 4
Network and Classroom Management Thread, mrbs & ldap_filter in Technical; Ive got MRBS up, working and authenticing against AD (LDAP) Now i want to specify who can book rooms. I ...
  1. #1


    Join Date
    Oct 2006
    Posts
    3,413
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149

    mrbs & ldap_filter

    Ive got MRBS up, working and authenticing against AD (LDAP)

    Now i want to specify who can book rooms. I thought it would be done by the base_dn (ie anything under it is included, if not it isnt) but by the looks of it it is done by use of "ldap_filter"

    Only problem is i have no idea of how to use it.

    Any advice :beer:

    Heres a copy of the config.inc for good measure
    Code:
    # 'auth_ldap' configuration settings
    # Where is the LDAP server
    $ldap_host = "dc-02.ianramsey.local";
    # If you have a non-standard LDAP port, you can define it here
    $ldap_port = 389;
    # If you want to use LDAP v3, change the following to true
    $ldap_v3 = true;
    # If you want to use TLS, change following to true
    $ldap_tls = false;
    # LDAP base distinguish name
    # See AUTHENTICATION for details of how check against multiple base dn's
    $ldap_base_dn = "ou=Admins,dc=ianramsey,dc=local";
    $account_suffix = "@ianramsey.local";
    # Attribute within the base dn that contains the username
    $ldap_user_attrib = "sAMAccountName";
    
    
    # 'auth_ldap' extra configuration for ldap configuration of who can use
    # the system
    # If it's set, the $ldap_filter will be combined with the value of
    # $ldap_user_attrib like this:
    #   (&($ldap_user_attrib=username)($ldap_filter))
    # After binding to check the password, this check is used to see that
    # they are a valid user of mrbs.
    #$ldap_filter = "mrbsuser=y";

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,807
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: mrbs & ldap_filter

    Easiest way is to set the ldap filter to check if the user is a member of a paticular group. You can do this with the 'memberOf' attribute. e.g.

    Code:
    $ldap_filter = "memberOf=CN=Domain Admins,CN=Users,DC=carrhill,DC=lancs,DC=sch,DC=uk";
    Will check if the user is a Domain Admin.

  3. #3


    Join Date
    Oct 2006
    Posts
    3,413
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149

    Re: mrbs & ldap_filter

    ^ Cheers, id tryed the above with it pointing to an OU, didnt work.


    Done it your way and yep, its working now. Cheers :beer:

  4. #4


    Join Date
    Oct 2006
    Posts
    3,413
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149

    Re: mrbs & ldap_filter

    ...

SHARE:
+ Post New Thread

Similar Threads

  1. Help with MRBS and LDAP
    By bonjour in forum Network and Classroom Management
    Replies: 11
    Last Post: 8th October 2009, 08:23 AM
  2. MRBS - Reports
    By wesleyw in forum How do you do....it?
    Replies: 0
    Last Post: 16th October 2007, 07:41 AM
  3. MRBS help
    By niknik in forum Web Development
    Replies: 0
    Last Post: 29th August 2007, 03:00 PM
  4. MRBS Help!
    By adamf in forum Network and Classroom Management
    Replies: 1
    Last Post: 22nd April 2007, 09:48 PM
  5. MRBS
    By j17sparky in forum Web Development
    Replies: 6
    Last Post: 17th November 2006, 03:11 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
  •