Bluehost.com Web Hosting $6.95

[Samba] ntlm_auth works.... and then doesn't (winbind related)

This is a discussion on [Samba] ntlm_auth works.... and then doesn't (winbind related) within the Samba forums, part of the Networking and Network Related category; CentOS5, Samba 3.2.1 [root@gateway tmp]# service winbind restart Shutting down Winbind services: [ OK ] Starting Winbind services: [ OK ] $ ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-21-2008
Adam Tauno Williams
 
Posts: n/a
Default [Samba] ntlm_auth works.... and then doesn't (winbind related)

CentOS5, Samba 3.2.1

[root@gateway tmp]# service winbind restart
Shutting down Winbind services: [ OK ]
Starting Winbind services: [ OK ]

$ ntlm_auth --username=adam --domain=BACKBONE --password=CORRECT
NT_STATUS_OK: Success (0x0)

# test membership of group I'm in
$ ntlm_auth --username=adam --domain=BACKBONE --password=CORRECT \
--require-membership-of=BACKBONE\\cis
NT_STATUS_OK: Success (0x0)

# test with wrong password
$ ntlm_auth --username=adam --domain=BACKBONE --password=fred123 \
--require-membership-of=BACKBONE\\cis
NT_STATUS_WRONG_PASSWORD: Wrong Password (0xc000006a)

# test with wrong password and group I'm not in
$ ntlm_auth --username=adam --domain=BACKBONE --password=fred123 \
--require-membership-of=BACKBONE\\elk
NT_STATUS_INVALID_PARAMETER: Invalid parameter (0xc000000d)

# Test with correct password
$ ntlm_auth --username=adam --domain=BACKBONE --password=CORRECT
NT_STATUS_INVALID_PARAMETER: Invalid parameter (0xc000000d)

Hey! That should have worked, let's try again...

$ ntlm_auth --username=adam --domain=BACKBONE --password=CORRECT
NT_STATUS_INVALID_PARAMETER: Invalid parameter (0xc000000d)

# Bounce winbind
$ service winbind restart
Shutting down Winbind services: [ OK ]
Starting Winbind services: [ OK ]

Works again!

$ ntlm_auth --username=adam --domain=BACKBONE --password=CORRECT
NT_STATUS_OK: Success (0x0)


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0