lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
***BOGO*** [Samba] ntlm_auth works.... and then doesn't (winbind related)
- Date: Thu, 21 Aug 2008 14:06:00 -0400
- From: Adam Tauno Williams <adamtaunowilliams@xxxxxxxxx>
- Subject: ***BOGO*** [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