Compiling Samba from Source on AIX, Active Directory, LDAP, Kerberos


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Compiling Samba from Source on AIX, Active Directory, LDAP, Kerberos
# 8  
Old 01-25-2010
If I were you, I would check what make is used, and install gmake if necessary and give it a try...
You seem to not be the only one struggling with this issue under AIX...
# 9  
Old 01-25-2010
Quote:
Originally Posted by vbe
If I were you, I would check what make is used, and install gmake if necessary and give it a try...
You seem to not be the only one struggling with this issue under AIX...
I always thought make was just a shortcut of sorts to run the compiler you set in the CC variable with all of its build time switches/flags set by configure. (That may be incorrect, that is just how it has always seemed to me). Here is the output from gcc -v:
Code:
Using built-in specs.                                                           
Target: powerpc-ibm-aix5.3.0.0                                                  
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --enab
le-languages=c,c++,java --prefix=/opt/freeware --enable-threads --enable-version
-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0 --target=powerpc-ibm-aix5.3
.0.0 --build=powerpc-ibm-aix5.3.0.0 --disable-libjava-multilib                  
Thread model: aix                                                               
gcc version 4.2.0

I have tried building with both cc=gcc and cc=cc and it is the same. I will download and try gmake, have never used it before so that will be a learning experience. Thanks for the information
# 10  
Old 03-16-2010
I don't know if you got an answer on this yet, but I've been working with at getting samba compiled on AIX also. AIX 6.1.

Once you run ./configure, you should be left with a Makefile-noincludes file. Then you can do

make -f Makefile-noincludes

I believe you can also do:
./autogen.sh
then
make

However on my system, autogen.sh seems to not find libiconv and a bunch of other things. So I seem to have better luck doing a straight configure/make.

I do admit however that I have still got something not quite right with my config options as winbind still has problems loading idmap_rid.

Nonetheless, here is what I have so far:

./configure \
--with-libsmbclient \
--with-libtdb \
--with-libaddns \
--with-ads \
--with-winbind \
--with-ldap \
--with-wbclient \
--enable-socket-wrapper \
--enable-nss-wrapper \
--with-winbind \
--with-shared-modules=idmap_rid \
--includedir=/opt/pware/include \
CPPFLAGS="-I/opt/pware/include -Xlinker -brtl" \
LDFLAGS=-L/opt/pware/lib
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. AIX

AIX 7.1 - Samba 4 File Shares and Integration with Active Directory Issues

Hi. Ive recently upgraded Samba on an AIX server to Samba 4. The aim is to allow a specific group of Windows AD users to access some AIX file shares (with no requirement to enter passwords) - using AD to authenticate. Currently I have: Samba 4 installed ( and 3 daemons running) Installed... (1 Reply)
Discussion started by: linuxsnake
1 Replies

3. UNIX for Beginners Questions & Answers

Active Directory OR LDAP

Hi, How can we check users added through LDAP or AD. Users added through a group of AD or LDAP group. (2 Replies)
Discussion started by: Nishit
2 Replies

4. AIX

Samba 3.6.22 on AIX 7.1 with Windows AD (Kerberos and winbind)

Hi all, I have installed samba 3.6.22 on AIX 7.1 and join a windows AD with success. All seem to work fine, I have configured smb.conf, methods.cfg, kerberos, user .... the following command work fine wbinfo -u, wbinfo -g, wbinfo -i, wbinfo -s, wbinfo -S, lsuser, id... The unique... (20 Replies)
Discussion started by: PhilippeA
20 Replies

5. HP-UX

HP-UX SSH and Active Directory Kerberos with Samba

The situation: i have a AD server with samba4,all clients ssh-kerberos works fine,except hpux :p wich works only for few days..then i must re-export(sic!) the keys with samba-tool domain exportkeytab 11.keytab --principal=host/hpux.fqdn Why after few days ssh return error "server not found... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

6. AIX

Trouble with Kerberos/LDAP and AIX 6.1

The KRB5ALDAP compound load module is giving me fits. Everything looks like it should be working, but no. Goal: Integrate AIX host with Active Directory using a KRB5ALDAP compound load module so that users can be created in AD and used in AIX, with unix attributes (registry values) being... (2 Replies)
Discussion started by: jgeiger
2 Replies

7. Solaris

LDAP Problem during Kerberos setting for Win server 03 Active Directory

Hi, FYI, I'm new in Solaris I'm trying to use Kerberos on authenticating LDAP Client with the Active Directory on Windows Server 2003 on both Solaris 10 5/08 and Solaris 10 9/10 by referring to the pdf file kerberos_s10.pdf available at sun official site. ... (0 Replies)
Discussion started by: chongzh
0 Replies

8. Red Hat

ldap and active directory

Hi Friends, I need your help to get some solution of one of my problem. Ours is a mixed domain. Most of the servers are windows and very little linux servers. We are using the MS AD for authentication. My problem is, I want to authenticate linux servers against AD. I donot want to use any... (1 Reply)
Discussion started by: arumon
1 Replies

9. AIX

Compiling samba from source in AIX 5.3

Hello all. I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs with no issues, but when the time comes to make, this happens: make: make 1254-025 There must be an existing description file or specify a target. ... (4 Replies)
Discussion started by: raidzero
4 Replies

10. UNIX for Advanced & Expert Users

LDAP request from unix into Active Directory

Hi all, I experienced a problem when making a LDAP search from Unix Netscape or Unix Mozilla adressbooks into my Active Directory LDAP db for email addresses. I add my Domain Controller hostname and the LDAP root dir to search in. For example: Name: AD LDAP server: gullvi Search Root:... (0 Replies)
Discussion started by: tonlu
0 Replies
Login or Register to Ask a Question