SAMBA Winbindd_idmap.tdb SLES11SP2

Hi i got a problem whit samba on SLES11 SP2

wen i make getent passwd i see no domain users also by group i see no groups.

I checked the tdb whit net idmap check and i got:


check database: /var/lib/samba/winbindd_idmap.tdb
Invalid USER HWM 70001: should be 1
uid hwm: 0
gid hwm: 70002
mappings: 2
other: 3
invalid records: 0
missing links: 0
invalid links: 0
0 changes:

I tried whit restore (net idmap chekc -r) and delete and restart service but nothing works

here are my other config files:

smb.conf

[global]

    workgroup = ######
    security = ADS
    realm = ######.LOCAL
    encrypt passwords = yes

    idmap config *:backend = tdb
    idmap config *:range = 70001-80000
    idmap config ######:backend = ad
    idmap config ######:schema_mode = rfc2307
    idmap config ######:range = 500-40000

    winbind nss info = rfc2307
    winbind trusted domains only = no
    winbind use default domain = yes
    winbind enum users = yes
    winbind enum groups = yes

[test3]
path = /srv/samba
read only = no


nsswitch.conf


passwd: compat winbind
group: compat winbind

hosts: files dns
networks: files dns

services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files nis
publickey: files

bootparams: files
automount: files nis
aliases: files


wbinfo -u and -g works fine i got all users and groups.

I don’t understand why that winbind tdb thing always make that problems, logs says nothing useful.

pls help thx and bye M.Yasin