[Samba] Samba 4, where is wbinfo 'info' stored?

Gémes Géza geza at kzsdabas.hu
Mon Feb 13 22:47:47 MST 2012


Hi
> On 02/13/2012 07:53 PM, Gémes Géza wrote:
>> Hi,
>>
>> See comments/questions below:
>>> Hi
>>>
>>> When I type this:
>>> getent passwd steve6
>>> steve6:*:3000015:3000016:steve6:/home/CACTUS/steve6:/bin/bash
>>> I can see that the info is coming from LDAP by looking at the ldif for
>>> cn=steve6
>> What is your /etc/nsswitch.conf file like?
> passwd files ldap
> group files ldap
>>> When I type this:
>>> wbinfo -i steve6
>>> CACTUS\steve6:*:3000015:3000016::/home/CACTUS/steve6:/bin/false
>> Is this on the samba4 box?
>> wbinfo is the samba4 wbinfo or a samba3 one?
> samba4 box
> wbinfo = samba4 No s3 installed on this box.
>>> Where is the info coming from now?
>>> Thanks,
>>> Steve
Samba4 stores idmap information under an idmap.ldb named ldb file which
is NOT exported to AD. So you could modify things by ldbediting it directly.
>> Regards
>>
>> Geza
> Everything is OK. Login and uid:gid mapping are fine on both Linux and
> win7 clients. I'm just trying to script all this from the Linux side
> without having to tie up a win7 box to do it.
>
> The other thread explains why I know there must be a difference
> between wbinfo and getent:
>
> Re: [Samba] samba-tool set default group
> Cheers,
> Steve
>
Regards

Geza


More information about the samba mailing list