sudo apt-get purge winbind
and make sure the following files don’t have any references to winbind in them.
/etc/nsswitch.conf
/etc/pam.d/*
Also, make sure your hosts: line in /etc/nsswitch.conf
look like this:
hosts: files dns
sudo service lightdm stop #(if using ubuntu 11.10+)
sudo service gdm stop #(if using an older version of ubuntu)
Directory /var/www/ Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all /DirectoryChange "AllowOverride None" to "AllowOverride All" then run
a2enmod rewriterestart apache