compiling samba
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) |
Hi,
Quote:
Quote:
Quote:
Evo2. |
I am a new bie in ubuntu. my motive is to install the lower version of samba pkgs successfully. Yes it is a problem that i am not getting /etc/init.d/smbd in a standared path.
You meant to say. abagntux is a package . I am not able to list the pkgs. # dpkg --list | grep abcmagt # Plz guide me next step |
Hi,
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Evo2. |
Thanks Evo. As you guided me the steps. I took the backup and cleaned those lines for both packages and i installed pkg happily.
# dpkg --list | grep libldap2-dev ii libldap2-dev 2.4.28-1.1ubuntu4.4 OpenLDAP development libraries Now i want to install the samba version samba-2.2.12 . Can i go ahead. I want to use /etc/samba as a configuration directory . service smbd should be in /etc/init.d. Can i use the below command for the same . ./configure --cache-file=./config.cache \ --with-fhs \ --enable-shared \ --enable-static \ --disable-pie \ --prefix=/usr \ --sysconfdir=/etc \ --libdir=/etc/samba \ --with-privatedir=/etc/samba \ --with-piddir=/var/run/samba \ --localstatedir=/var \ --with-rootsbindir=/sbin \ --with-pammodulesdir=/lib/security \ --with-pam \ --with-syslog \ --with-utmp \ --with-readline \ --with-pam_smbpass \ --with-libsmbclient \ --with-winbind \ --with-shared-modules=idmap_rid,idmap_ad \ --with-automount \ --with-ldap \ --with-ads \ --with-dnsupdate \ --with-cifsmount \ --with-acl-support \ --with-quotas Next you’ll want to compile the package |
Hi,
Quote:
Quote:
Quote:
Evo2. |
All times are GMT -5. The time now is 02:59 AM. |