[Samba] Big problem with USERIDs

Zachár Balázs zachar at direkt-kfki.hu
Mon Jul 2 08:23:36 GMT 2007

Hello @list!

I am using Active Direktory + Samba + Winbind to make a fileserver 
service about 500 user with many single permissions...

Yesterday we have a big powerbreak and all our servers are shut down and 
start again...

After the start I see it all the permissions are corrupt... It looks 
like the USERID-USERNAME duble are drift... :(

Here is my smb.conf:

    realm = xxxxxxxxxxxxxxx
    workgroup = AFH
    server string = BB-FileServer
    netbios name = B-BALFILE1
    load printers = no
    printing = none
    disable spoolss = yes
    printcap name = /dev/null
    map to guest = Bad User
    password server = xxx.xxx.xxx
    security = ADS
    encrypt passwords = yes
    winbind separator = +
    idmap uid = 10000-20000
    idmap gid = 10000-20000
    winbind enum users = yes
    winbind enum groups = yes
    name resolve order = host
    hide unreadable = no
    vfs objects = default_quota
    default_quota: uid=11221
    default_quota: gid=10115
    browseable = yes
    domain master = no
    local master = no
    preferred master = no
    os level = 0

How make the samba the USERID and the USERNAME to pair???
Can I change the /algorithm somehow???/
Why is it that, after a reboot a USERNAME which come from the AD has 
another USERID...

Please help,

More information about the samba mailing list