[Samba] Re: Unable to set/authenticate to correct domain...
sokkerstud_11 at hotmail.com
Mon Jun 4 23:15:36 GMT 2007
Matt <sokkerstud_11 <at> hotmail.com> writes:
> Matt <sokkerstud_11 <at> hotmail.com> writes:
> >However, if
> > I change the share to the following:
> > [shared]
> > comment = shared files
> > path = /tmp/shares/testshare
> > valid users = +testers
> > read only = no
> > write list = +testers
> > browseable = Yes
> > I can log in as user 'test' just fine.
> I was able to do this the other day... but this is not true anymore.
> However, if change it to have the SID of 'test' instead of the name like the
> comment = shared files
> path = /tmp/shares/testshare
> valid users = SID-OF-TEST
> read only = no
> browseable = Yes
> It works okay. So, two things:
> 1) How do I change th domain it's searching for (as noted in the previous post)
> 2) How do I configure whatever service is needed to fix the access problem.
For anyone following along, I figured out what the problem was. If you're
specifying domain users (at least in my case) you have to include the domain
name when defining access rights:
comment = shared files
path = /tmp/shares/testshare
valid users = mydomain\test, +mydomain\testers
read only = no
browseable = Yes
This is the first time I've used Samba and authenticated against domain users...
but I don't remember reading this anywhere, so I thought I'd spread the info.
Have a great day!
More information about the samba