*nix Thread, MRBS + NTLM Authentication in Technical; Just been going through a test install of MRBS on linux (debian sarge, 2.4 kernel) and im having trouble getting ...
-
19th December 2005, 12:58 PM #1
- Rep Power
- 0
MRBS + NTLM Authentication
Just been going through a test install of MRBS on linux (debian sarge, 2.4 kernel) and im having trouble getting MRBS to recognise the windows users.
Doing wbinfo -g and -u gives the users/groups of our domain (i had trouble getting it to list the correct domain - it kept listing our admin domain and wouldnt list our curriculum - but its working now - no idea why
)
Anyway, when i book out a room for one period and then go back into the booking and see who is under 'Created by' its blank!
What have i missed?
Ive changed the config as suggested in the docs.
$auth["session"] = "nt"
$auth["type"] = "none"
-
-
IDG Tech News
-
19th December 2005, 01:47 PM #2 Re: MRBS + NTLM Authentication
oops was getting the parameters mixed up
ops: ignore if you read before :P
Thats the config I use but im using a windows box for MRBS.
-
-
19th December 2005, 08:43 PM #3 Re: MRBS + NTLM Authentication
Have you tried wbinfo -a username%password where username and password is a valid account? If that succeeds then it may be an MRBS and/or PHP configuration issue.
-
-
20th December 2005, 09:53 AM #4
- Rep Power
- 0
Re: MRBS + NTLM Authentication
hhlinux:~# wbinfo -a stafftest%password
plaintext password authentication failed
error code was NT_STATUS_NO_SUCH_USER (0xc0000064)
error messsage was: No such user
Could not authenticate user stafftest%R0ther with plaintext password
challenge/response password authentication failed
error code was NT_STATUS_NO_TRUST_SAM_ACCOUNT (0xc000018b)
error messsage was: No trusted SAM account
Could not authenticate user stafftest with challenge/response
hhlinux:~# wbinfo -u | grep stafftest
HHDOMAIN\stafftest
-
-
20th December 2005, 10:32 AM #5 Re: MRBS + NTLM Authentication
What is your smb.conf's "winbind use default domain"? It should be set to 'yes'.
-
-
20th December 2005, 12:37 PM #6
- Rep Power
- 0
Re: MRBS + NTLM Authentication
That wasnt in the smb.conf - it is now and still the same error.
Annoying!
-
-
20th December 2005, 03:21 PM #7 Re: MRBS + NTLM Authentication

Originally Posted by
Frazer That wasnt in the smb.conf - it is now and still the same error.
Annoying!
Have you restarted all the sambe daemons (winbindd, smbd, nmbd)?
-
-
21st December 2005, 05:30 PM #8
- Rep Power
- 0
Re: MRBS + NTLM Authentication
Yeh did all that. Im not in now till jan 6th but if you can think of anything else please post
-
-
10th January 2006, 10:16 AM #9 Re: MRBS + NTLM Authentication
I have mine authing with samba, but problems at the moment include everyone can login not just staff, I know its an add-on problem, but if anyone knows a way for apache to pick up the samba groups that would be great.
Jo
-
-
10th January 2006, 10:55 AM #10 Re: MRBS + NTLM Authentication
here's the relevent snippet from the config.inc.php
Code:
###############################################
# Authentication settings - read AUTHENTICATION
###############################################
$auth["session"] = "http"; # How to get and keep the user ID. One of
# "http" "php" "cookie" "ip" "host" "nt" "omni".
$auth["type"] = "ext"; # How to validate the user/password. One of "none"
# "config" "db" "pop3" "imap" "ldap" "nis" "nw" "ext".
# 'session_http' configuration settings
$auth["realm"] = "mrbs";
# 'auth_ext' configuration settings
$auth["prog"] = "/usr/bin/ntlm_auth";
$auth["params"] = "--username=#USERNAME# --password=#PASSWORD# --require-membership-of=MRBSUsers"; The important bit being that last line.
-
-
14th January 2006, 01:37 PM #11 Re: MRBS + NTLM Authentication
@linuxgirlie
Not necessarily related to mrbs (not used it) but you can authenticate apache to any LDAP server (inc Active Directory or an LDAP backend to samba) to do group authentication.
see mod_auth_ldap for details
-
-
29th June 2006, 12:16 PM #12 Re: MRBS + NTLM Authentication
I've set up MRBS to ask for the wibind auth as above.
It's doing it...it's all setup and asking for authentication.
I try to authenticate but it falls over.
My questions are:
1/ What do i need to do to the samba users configuration stuff
2/ How do i set access levels of users in AD
3/ Do i need to specify the OUs etc as per the LDAP config in the config.inc.php?
Thanks,
Joe (with head in hands having hoped to have this done today)
-
-
29th June 2006, 01:42 PM #13 Re: MRBS + NTLM Authentication
1) Nothing.
2) Users in the named group can create bookings. Others cannot.
3) No
Your authentication is likely failing because the machines time is too far off the time set on the domain. Use an NTP daemon to keep it in sync.
-
-
29th June 2006, 02:00 PM #14 Re: MRBS + NTLM Authentication
We've decided to go with the MS exchange option because i've got myself a paid job (finally) and it needs to be something that the other techies can manage efficiently.
The job is data entry for Carillion in Birmingham for a week so i need to go in tommorow and this wont be finished in time. But they said the contract will lead to other jobs possibly in 1st line ICT support...which is what i'm used to so that'll be nice
-
SHARE:
Similar Threads
-
By alan-d in forum Virtual Learning Platforms
Replies: 12
Last Post: 15th December 2009, 03:19 PM
-
By niknik in forum Web Development
Replies: 0
Last Post: 29th August 2007, 03:00 PM
-
By adamf in forum Network and Classroom Management
Replies: 1
Last Post: 22nd April 2007, 09:48 PM
-
By pooley in forum Windows
Replies: 6
Last Post: 27th February 2007, 09:00 PM
-
By j17sparky in forum Web Development
Replies: 6
Last Post: 17th November 2006, 04: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
-
Forum Rules