Thank you for taking the time to report this bug and help to improve Ubuntu.
I see a few inconsistencies in the output you've shown. I don't know if any of them relate to this bug, but they might, so I point them out. /etc/hosts: 127.0.0.1 localhost 127.0.1.1 ubuntu 127.0.0.1 ubuntu.domainname localhost ubuntu This third record is wrong. The authoritative name (the one in the first column) for 127.0.0.1 must always be localhost. Assuming you want ubuntu.domainname to be your canonical hostname, this should be: 127.0.0.1 localhost 127.0.1.1 ubuntu.domainname ubuntu /etc/samba/smb.conf: workgroup = DOMAINNAME realm = DOMAINNAME This must also be wrong, because a realm is a DNS domain name and a workgroup is a NetBIOS name. The realm name should therefore have at least one dot in it, and the workgroup name should have no dots in it, so these shouldn't be the same. (I've seen reports from other users who used the realm name as the workgroup name and they didn't have any problems as a result of this - but it is incorrect and renders your system incompatible with some others.) netbios name = ubuntu This is not wrong, but definitely redundant; I recommend not encoding this here, since that increases the number of places you would need to change it if your hostname ever changed. # /etc/init.d/winbind stop # /etc/init.d/samba restart # /etc/init.d/winbind start [...] # net ads join -U Administrator This looks backwards to me. Surely you need to restart winbind /after/ you've done your net ads join, so that winbind picks up the domain join information? ADS doesn't need to be able to resolve your hostname at all in order to let you enumerate groups or users, so I think the static vs. dynamic IP question is a red herring, and the real issue is probably that winbind was not restarted after the join. Here is an abridged test showing this behavior: $ sudo net ads join -U Administrator Administrator's password: Using short domain name -- UBUNTU-WP Joined 'DARIO' to realm 'UBUNTU-WP.COM' $ wbinfo -u Error looking up domain users $ sudo /etc/init.d/winbind restart * Stopping the Winbind daemon winbind [ OK ] * Starting the Winbind daemon winbind [ OK ] $ wbinfo -u UBUNTU-WP\administrator [...] $ So indeed, wbinfo only works after you've restarted winbind. I'm therefore closing this bug as invalid; please reopen if you think this is a mistake. ** Changed in: samba (Ubuntu) Status: Incomplete => Invalid -- wbinfo fails to enumerate users and groups https://bugs.launchpad.net/bugs/220844 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs