Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba 3.0.4 compile fails on AIX 5.1 with gcc compiler 1

Status
Not open for further replies.

tscarpato

IS-IT--Management
Joined
May 11, 2004
Messages
2
Location
US
The following errors are generated when attempting to compile Samba 3.0.4 under AIX 5.1 using gcc 2.9 compiler.

Compiling nsswitch/wb_common.c with -O2
Compiling lib/replace1.c with -O2
Compiling nsswitch/winbind_nss_aix.c with -O2
In file included from nsswitch/winbind_nss_aix.c:50: /usr/include/usersec.h:625: warning: `struct aud_rec' declared inside parameter list
/usr/include/usersec.h:625: warning: its scope is only this definition or declaration, which is probably not what you want.
/usr/include/usersec.h:626: warning: `struct aud_rec' declared inside parameter list
nsswitch/winbind_nss_aix.c: In function `wb_aix_init':
nsswitch/winbind_nss_aix.c:980: structure has no member named `method_version'
nsswitch/winbind_nss_aix.c:980: `SECMETHOD_VERSION_520' undeclared (first use in this function)
nsswitch/winbind_nss_aix.c:980: (Each undeclared identifier is reported only once
nsswitch/winbind_nss_aix.c:980: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.

Stop.
 
Hello!

Did you find a cure for above problem. I am having similar one with SCO UNIX 5.0.6a.

Regards;


Jose Lerebours

KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
 
No, after much effort we have not been able to resolve the compile problem. If you find a solution, please update this thread we will do the same.

ts
 
I'm working on the same problem and like you have not found a solution. I'm running AIX 5.1 ML5. I've installed krb5-1.3.3-powerpc-ibm-aix4.3.3.0.tar.gz which, I think is from MIT, and gcc.3.3.3.tar.Z from the UCLA AIX archive. My configure looks like:

export LIBPATH=/usr/local/lib:/usr/linux/lib:$LIBPATH
export LDFLAGS=-L/usr/linux/lib
./configure --with-libiconv=/usr/local/special --with-winbind --with-ldap --with-ads --with-krb5=/usr/local

If you see anything I should change or try I'm willing to do so since I'm compiling it on a development server. Also if you would like to know more about my environment, just ask.
 
Hi, Aix 4.3.3 and 5.1 don't find the method. You should patch the winbind_nss_aix.c source with a code that appear in a mail of Albert Chin (from samba-technical). I've compiled the source on aix 5.1-03 with gcc3.3 and i use winbindd for authenticate the windows users, "telnetting" on my risc. Without managing the user or the password....
 
Thank you neuromante. The patch worked in that I can now telnet to the AIX box and login using my Windows login name and password. However my login fails when using ssh from any ssh client and neither ssh or telnet work with putty. Any wisdom on these issues? I know you mention only telnet in your response.

For reference the patch is located at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top