[Samba] failed to call wbcSidToUid
Marcin Kruk
askifyouneed at gmail.com
Mon Mar 5 16:34:10 UTC 2018
2018-03-05 17:28 GMT+01:00 Rowland Penny via samba <samba at lists.samba.org>:
> On Mon, 5 Mar 2018 17:15:44 +0100
> Marcin Kruk <askifyouneed at gmail.com> wrote:
>
> > I do not know if there is a uidNumber in Active Directory, I am not an
> > administrator of Microsoft AD.
> > So you claimed that I need add an extra parameters uidNumber and
> > gidNumber to the MS Active Directory user, and add an extra value to
> > each of them? I think that It will be impossible and too much extra
> > work. I need similiar funcionality than it was in the previous
> > version. So mabye I shoud change the backend parameter
> > (tdb/ad/rid/autorid/ldap/nss)?
> >
>
> I never claimed anything ;-)
> I just asked a question and you have answered it, you don't have the
> required attributes in AD for the 'ad' backend to work.
>
> It sounds like you need to use the 'rid' backend, this will work
> without adding anything to AD.
>
> The problem with your old smb.conf working, but not your new one, is
> hard to understand because the requirements haven't really changed. It
> might help if you could post your old smb.conf
>
> Rowland
>
>
>
My oldfashined config:
[global]
workgroup = MYDOMAIN
realm = MYDOMAIN.COM
prefered master = no
server string = servername
security = ADS
encrypt passwords = yes
log file = /var/log/samba/%I
max log size = 50
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
winbind separator = +
idmap uid = 2000-20000
idmap gid = 2000-20000
template shell = /bin/false
template homedir = /mnt/sambahomedir/%D/%U
wide links = yes
follow symlinks = yes
unix extensions = no
interfaces = bond0 lo
bind interfaces only = yes
More information about the samba
mailing list