i setup a RedHat server with samba/kerberos/winbind.

I can retrieve my user and groups with wbinfo -u and wbinfo -g. BUT in the listings, the name appears like that :

wbinfo -u 


If i try to authenticate a user with wbinfo -a username1%password i've got this error :

plaintext password authentication failed
error code was NT_STATUS_NO_SUCH_USER (0xc0000064)
error messsage was: No such user
Could not authenticate user username1%password with plaintext password
challenge/response password authentication succeeded

If I put the domain into the username it works :

wbinfo -a DOMAINE+username1%password 

plaintext password authentication succeeded
challenge/response password authentication succeeded

But I need to have only the username and not DOMAIN+username, because I use an NTLM module in apache that needs to have only the username.

I have WinBind separator = + into smb.conf, so I don't understand why I must retrieve my users with the domain and the + symbol.


You should have posted config of /etc/samba/smb.conf

Anyway, within that file, pls add this line under the block [global]:

winbind use default domain = true

then restart winbindd service

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.