I actually fixed this by doing the following steps:
# service smbd stop
# service winbind stop
# cd /var/lib/samba
# mv winbindd_cache.tdb winbindd_cache.tdb.backup
# mv winbindd_idmap.tdb winbindd_idmap.tdb.backup
# service smbd start
# service winbind start

then
# getent passwd
and
# getent group
both worked!


My smb.conf:
I[global]
        smb ports = 445
        security = ads
        realm = GE.LAN
        workgroup = GELAN
        server string = labo-opi1
        wins server = x.x.x.x # replace with ip of your actual winbind server
        encrypt passwords = yes
        client use spnego = yes
        client ntlmv2 auth = yes
        unix extensions = no
        winbind enum users = yes
        winbind enum groups = yes
        winbind refresh tickets = yes
        idmap config * : backend = tdb
        idmap config * : range = 16777216-33554431
        log file = /var/log/samba/%m.log
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = no
        dns proxy = no
        unix charset = UTF-8

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1307778

Title:
  getent group on trusty returns only local groups

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1307778/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to