[Samba] idmap problems after update from 3.0.33 to 3.6.6

Thomas Attenberger thomas.attenberger at gmx.net
Wed Oct 23 05:31:52 MDT 2013

I have now an further problem.
On the Domaincontrol (Win2008R2) I created a new user, but on the samba
server I got some errors:
wbinfo -u (is ok, the new-user is in the list)

wbinfo -i new-user (does not work) following error:
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user new-user

Here is my actual config:


        workgroup       = ATRON
        realm           = ATRON.LOCAL
        security        = ADS
        ldap ssl = off
        preferred master = no
        server string   = %h
        log file        = /var/log/samba/smb.log.%m
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind separator = +
        idmap config *:backend = tdb
        idmap config *:range = 3000-4000
        idmap config ATRON:backend = tdb
        idmap config ATRON:range = 10000-20000
        idmap config ATRON:schema_mode = rfc2307
        winbind use default domain = Yes
        winbind nss info = rfc2307
        template shell  = /bin/bash
        username map    = /etc/samba/smbusers

Please, have you some hints, what can I try?


2013/10/16 steve <steve at steve-ss.com>

> On Wed, 2013-10-16 at 15:30 +0200, Thomas Attenberger wrote:
> > I got it!
> > The error was at "idmap config ATRON:backend = ad", there must be "=
> > tdb".
> Ah, OK. So, just for reference if anyone else is reading, your rfc2307
> details are _not_ stored in AD, rather in a separate tdb.
> Glad you got it going. I know the feeling;)
> Steve

More information about the samba mailing list