when i compile samba on Ubuntu 12.04.3 LTS. The samba version samba-samba-2.2.12 it doesn't create samba service i.e /etc/init.d/smb or /etc/init.d/samba service. I followed steps mentioned in below url.
http://lofidellity.wordpress.com/201...n-ubuntu-8-04/
I can install the latest version using apt-get install samba. but for some reason i need lower version.
2nd problem that i m getting when i try to install the samba 3.x . i get the error for not library file i.e ldap.h. when i try to install this library with below command i get an error. command and error are also mentioned below.
# apt-get install libldap2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libldap-2.4-2 libldap-2.4-2:i386
The following NEW packages will be installed:
libldap2-dev
The following packages will be upgraded:
libldap-2.4-2 libldap-2.4-2:i386
2 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
1 not fully installed or removed.
Need to get 0 B/863 kB of archives.
After this operation, 1,393 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 16065 package 'abcmagt':
missing maintainer
dpkg: error: parsing file '/var/lib/dpkg/status' near line 22821 package 'abagntux':
duplicate value for `Package' field
E: Sub-process /usr/bin/dpkg returned an error code (2)