Eu resolvi o problema desta maneira:
-
Use este
smb.conf
:# Global parameters [global] workgroup = One realm = One netbios name = Klaptop11-10 security = share
-
Instale o pacote
samba-dsdb-modules
. Para lidar com dependências, instale todas juntas:samba-common samba-common-bin samba-dsdb-modules samba4 samba4-clients samba4-common-bin
Todos os meus pacotes relacionados ao samba estão listados aqui, apenas no caso:
$ dpkg -l | grep smb
ii **libpam-smbpass** 2:3.5.11~dfsg-1ubuntu2.1 pluggable authentication module for Samba
ii **libsmbclient** 2:3.5.11~dfsg-1ubuntu2.1 shared library for communication with SMB/CIFS servers
ii **python-smbc** 1.0.10-0ubuntu2 Python bindings for Samba clients (libsmbclient)
$ dpkg -l | grep samba
ii **libsamba-hostconfig0** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 Samba host configuration library
ii **libsamba-policy0** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 Samba policy management
ii **libsamba-util0** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 Samba utility function library
ii **python-samba** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 Python bindings for Samba
ii **samba-common** 2:3.5.11~dfsg-1ubuntu2.1 common files used by both the Samba server and client
ii **samba-common-bin** 2:3.5.11~dfsg-1ubuntu2.1 common files used by both the Samba server and client
ii **samba-dsdb-modules** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 Samba Directory Services Database
ii **samba4** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 SMB/CIFS file, NT domain and active directory server (version 4)
ii **samba4-clients** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 client utilities from Samba 4
ii **samba4-common-bin** 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 Samba 4 common files used by both the server and the client