OK. You also want to make sure the following packages are installed.
libsmbclient
python-smbc
smbclient
samba-common
samba-common-bin
libsmbclient
python-smbc
smbclient
samba-common
samba-common-bin
smbtree
dpkg -l | grep winbind
sudo apt-get remove --simulate winbind
dpkg -l | grep winbind ii libwbclient0 2:3.6.3-2ubuntu2.9 Samba winbind client library iU winbind4 4.0.0~alpha18.dfsg1-4ubuntu2 service to resolve user and group information from Windows NT servers jim@Blevet:~$
sudo apt-get remove --simulate winbind [sudo] password for jim: Reading package lists... Done Building dependency tree Reading state information... Done Package winbind is not installed, so not removed The following packages were automatically installed and are no longer required: libgail18 python-gnome2 linux-headers-3.2.0-58-generic-pae libgnomeui-common linux-headers-3.2.0-58 libbonoboui2-common libbonoboui2-0 python-sqlalchemy python-sqlalchemy-ext python-pyorbit python-gconf python-gtkspell libgnomecanvas2-0 libgnomeui-0 libgnomecanvas2-common python-poppler libgtkspell0 libpoppler-glib8 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Conf samba4 (4.0.0~alpha18.dfsg1-4ubuntu2 Ubuntu:12.04/precise [i386]) Conf winbind4 (4.0.0~alpha18.dfsg1-4ubuntu2 Ubuntu:12.04/precise [i386])
sudo apt-get remove --simulate winbind4
sudo apt-get remove winbind4 [sudo] password for jim: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgail18 python-gnome2 linux-headers-3.2.0-58-generic-pae libgnomeui-common linux-headers-3.2.0-58 libbonoboui2-common libbonoboui2-0 python-sqlalchemy python-sqlalchemy-ext python-pyorbit python-gconf python-gtkspell libgnomecanvas2-0 libgnomeui-0 libgnomecanvas2-common python-poppler libgtkspell0 libpoppler-glib8 Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: winbind4 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 412 kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 175347 files and directories currently installed.) Removing winbind4 ... Processing triggers for man-db ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... Unknown parameter encountered: "Load printers" Ignoring unknown parameter "Load printers" Unknown parameter encountered: "printing" Ignoring unknown parameter "printing" Unknown parameter encountered: "printcap name" Ignoring unknown parameter "printcap name" Unknown parameter encountered: "admin users" Ignoring unknown parameter "admin users" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "writable" Ignoring unknown parameter "writable" Unknown parameter encountered: "public" Ignoring unknown parameter "public" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "public" Ignoring unknown parameter "public" Unknown parameter encountered: "create mode" Ignoring unknown parameter "create mode" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "Load printers" Ignoring unknown parameter "Load printers" Unknown parameter encountered: "printing" Ignoring unknown parameter "printing" Unknown parameter encountered: "printcap name" Ignoring unknown parameter "printcap name" Unknown parameter encountered: "admin users" Ignoring unknown parameter "admin users" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "writable" Ignoring unknown parameter "writable" Unknown parameter encountered: "public" Ignoring unknown parameter "public" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" Unknown parameter encountered: "public" Ignoring unknown parameter "public" Unknown parameter encountered: "create mode" Ignoring unknown parameter "create mode" Unknown parameter encountered: "guest ok" Ignoring unknown parameter "guest ok" /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 126 Errors were encountered while processing: samba4 E: Sub-process /usr/bin/dpkg returned an error code (1)
[Global] workgroup = Mshome server string = %h server (Samba, Kubuntu) wins support = yes wins server = yes #wins client = w.x.y.z dns proxy = no Load printers = yes printing = cups printcap name = cups security = share null passwords = yes [Security] admin users = Jim [share] comment = Kubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = yes read only = no create mask = 0775 directory mask = 0775 [Print$] comment = Printer Driver path = /var/lib/samba/printers browsable = yes read only = yes guest ok = yes [printer] comment = All Printers browseable = no path = /var/spool/samba printable = yes writable = no public = yes guest ok = yes read only = yes create mask = 0775 directory = 0775 [Print$] comment = Printer Driver path = /var/lib/samba/printers browsable = yes read only = yes guest ok = no [Public] comment = Public Files browseable = yes public = yes create mode = 0766 guest ok = yes path = /home
sudo apt-get remove winbind4 . . Do you want to continue [Y/n]? y
smbtree
Comment