Wed, Apr 11, 2012 at 11:02:09AM +0200, steve napsal(a):
> On 11/04/12 09:09, Daniel Müller wrote:
> >I also only use ldap the same way without any winbind.
> Thanks. I was beginning to wonder if we were the only ones. It seems
> such an easy alternative to using winbind. The uid/gid is _exactly_
I don't use winbind and also I don't use posixAccount on Samba4 Frenky.
> wysiwyg. Always. I think this is the sort of consistency the op was
> looking for. The sid-rid idmap winbind stuff seems horrendously
> complicated.
It's just easy from my point of view. But I don't want to have running
winbind and I don't see very nice way to manage posixAccount too. The man
who creates user accounts isn't very keen in IT ...
So I use nslcd to map uid/gid with last part of SID + some constant and
I created very small patch to the samba ads backend with the same behaviour.
I don't need DOMAIN trusts so it's enough for my small environment.
Luf
Doesn't look right - man smb.conf - for the correct syntax. For your
version I think it should be more like:
idmap backend = tdb
idmap uid = 300000-400000
idmap gid = 300000-400000
idmap config DOMAIN:backend = rid
idmap config DOMAIN:range = 2000-299999
from man smb.conf:
winbind uses this parameter to find the backend that is authoritative
for a unix ID
to SID mapping, so it must be set for each individually
configured domain, and it
must be disjoint from the ranges set via idmap uid and idmap gid.
> My version is SAMBA 3.5.11
If you check the release notes you'll find that 3.5.12 fixed a winbind
race issue in 3.5.11. Also there's a security exploit and it's a good
idea to update to 3.5.14, or 3.6.4. I'm still a bit leery of the 3.6
series for production and hopefully 3.6.5 will be released soon fixing
some outstanding issues.
Chris