Setting up samba (2:3.4.7~dfsg-1ubuntu3.2) ...
Installing new version of config file /etc/logrotate.d/samba ...
Adding group `sambashare' (GID 118) ...
Done.
adduser: The group `sambashare' does not exist.
/var/lib/dpkg/info/samba.postinst: 118: !getent: not found
dpkg: error processing samba (--configure):
subprocess installed post-installation script returned error exit status 127
Error is:
Setting up samba (2:3.4. 7~dfsg- 1ubuntu3. 2) ... d/samba ... dpkg/info/ samba.postinst: 118: !getent: not found
Installing new version of config file /etc/logrotate.
Adding group `sambashare' (GID 118) ...
Done.
adduser: The group `sambashare' does not exist.
/var/lib/
dpkg: error processing samba (--configure):
subprocess installed post-installation script returned error exit status 127