[Samba] When I want to open Samba share in Windows OS, It ask me "Username" and "Password" and repeat it. Very Emergency.

Rowland Penny rowlandpenny at googlemail.com
Tue Mar 10 03:50:28 MDT 2015

On 10/03/15 09:25, Jason Long wrote:
> Hello all.
> I can't apply permission to my Samba Share via Windows Active directory. My Samba share is :
> [Demo]
> path = /srv/samba/demo/
> read only = no
> valid users = +JASONDOMAINI\linux +JASONDOMAINI\local admins
> writable = yes
> #inherrit owner    = yes
> #inherit permissions   = yes
> force group   = JASONDOMAINI\linux
> I created a group in Windows Active Directory with Linux name and add my specific users in it, But above config not worked and just ask me username and password and repeat it. Should I define my Domain name with "+" sing?
> The owner of Directory is :
> [root at printmah samba]# ls -l
> total 4
> drwxrwxr-x+ 2 root linux 6 Feb 20 05:13 demo
> My Linux Box connected to Windows Domain Correctly and I can Login into Linux via AD username.
> How can I solve it?
> Cheers.

Hi, this wouldn't be samba 4.2 would it? if so there is a bug report 
open about something similar to this:


You could get round this by removing the access lines from the share and 
setting the ACLs from windows, in fact it would probably be better to do 
this rather from Unix, see : 


More information about the samba mailing list