[Samba] Domain name and separator into username

Kuhmel Guillaume guillaume.kuhmel at sopragroup.com
Fri May 17 11:30:10 MDT 2013


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 DOMAIN+username1 DOMAIN+username2 DOMAIN+username3 DOMAIN+username4

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 a NTLM module into apache that needs to have only the username.

I have winbind separator = + into smb.conf, i dont understand why i retrieve my users with the domain and the + symbol. I just want my users to be listed as « username » and not « domain+username ».



Thanks a lot.


Cordialement,


Guillaume KUHMEL

Sopra group.

780, Rue Guillibert de la Lauzière
Pichaury 2 - BP 25000 - 13791 Aix-en-Provence Cedex 3
Phone : +33 (0)4 42 37 96 80
Mobile: +33 (0)6 47 52 98 19
guillaume.kuhmel at sopragroup.com<mailto:gkuhmel at sopragroup.com> - www.sopragroup.com<http://www.sopragroup.com/>


Ce message peut contenir des informations confidentielles dont la divulgation est à ce titre rigoureusement interdite en l'absence d'autorisation explicite de l'émetteur. Dans l'hypothèse où vous auriez reçu par erreur ce message, merci de le renvoyer à l'émetteur et de détruire toute copie.

P Pensez à l'environnement avant d'imprimer.





More information about the samba mailing list