Boris Breslav | 2 Feb 2005 02:02

PAM with OpenSSL - urgent help needed

Hi
is there any reason that I should not use OpenSSL library (libcrypto) with 
PAM?
The same piece of code works in a command line program and fails with my 
custom PAM module.
I compile the module like this:
gcc -c -fpic -I/usr/local/ssl/include mymodule.c
gcc -shared mymodule.o -o pam_mymodule.so -L/usr/local/ssl/lib -lcrypto

Could it be a problem that /usr/local/ssl/lib/libcrypto.a is a static 
library?

Thanks
Thorsten Kukuk | 2 Feb 2005 13:38
Picon

Re: PAM with OpenSSL - urgent help needed


On Wed, Feb 02, Boris Breslav wrote:

> Hi
> is there any reason that I should not use OpenSSL library (libcrypto) with 
> PAM?
> The same piece of code works in a command line program and fails with my 
> custom PAM module.
> I compile the module like this:
> gcc -c -fpic -I/usr/local/ssl/include mymodule.c
> gcc -shared mymodule.o -o pam_mymodule.so -L/usr/local/ssl/lib -lcrypto
> 
> Could it be a problem that /usr/local/ssl/lib/libcrypto.a is a static 
> library?

Linking a static library into a shared one is always a mistake and
should never be made.
Else I can only say I had never problems with that.

  Thorsten

--

-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk <at> suse.de
SuSE Linux Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B
Boris Breslav | 3 Feb 2005 02:22

Re: PAM with OpenSSL - urgent help needed

Hi Thorsten,

> Else I can only say I had never problems with that.

thanks for the reply.
The /usr/local/ssl/lib directory contains both libcrypto.so and libcrypto.a
I understand that I'm lacking some basics here, so I renamed the latter to 
make sure I work with the shared library only.

You said that you used OpenSSL library (or any library for that matter). Did 
you load it dynamically?
It looks like the problem is that I'm trying to statically load the library 
by:
gcc -shared mymodule.o -o pam_mymodule.so -L/usr/local/ssl/lib -lcrypto

The PAM Developers Guide refers to statically loaded modules. Does it mean 
that I have to take the same considerations in case of dynamically loaded 
module, which in his turn statically load an external library (libcrypto.so 
in my case)?

I put my module in /ect/pam.d/sshd - I'm not even getting to the 
pam_sm_authenticate function and the response to the client is always 
"Access denied".

Thanks again.

----- Original Message ----- 
From: "Thorsten Kukuk" <kukuk <at> suse.de>
To: "Pluggable Authentication Modules" <pam-list <at> redhat.com>
Sent: Wednesday, February 02, 2005 2:38 PM
(Continue reading)

/dev/rob0 | 3 Feb 2005 22:49
Picon
Favicon

Re: Slackware PAM, LDAP

[old stuff, but I just joined the list here and saw this in the 
archives...]

On Monday 24 January 2005 11:07, Terry Davis wrote:
> I am not up to speed on what reasons PAM is not included in the
> Slackware distro, and I've read quite a bit of the posting and etc
> available on the 'net about it, but so much is very dated, I am
> writing to get a leg up on it.
>
>
> 	- is it possible to get it working on Slack without too much work
>
> 	- why (really) isn't it in the distro?

The latter was answered in the Slackware 9.1 ChangeLog.txt entry dated 
Tue Sep 23 21:57:32 PDT 2003. In short, Pat's happy to live without the 
flexibility of PAM in order to avoid the exploits. I can't comment on 
the validity of that point of view, but I've always lived by and 
prospered under the credo of "In Pat We Trust". :)

> Thanks in advance, FYI I will start building and integrating it into
> a LDAP/DNS/DHCP toaster soon, as I cant live with the workarounds on
> a non-PAM Linux system.

We're working on a similar project, at least insofar as doing PAM on 
Slackware. I'll email you offlist with an address at which I'd 
appreciate hearing about your progress. Thanks.
--

-- 
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header
(Continue reading)

Cal Heldenbrand | 8 Feb 2005 07:36
Picon

(developers) Debian Repository package

Hello everyone,

This is mainly a question to other PAM developers.  I have a PAM
module that I've created and maintained for around a year now ( plug:
http://pam-imap.sf.net ) and have been using it personally in a
production environment for around 3/4 that time.  I've had a modest
amount of interest in my module, and a couple people out there that
think it's better than sliced bread.

My question to other PAM developers that have gotten their modules in
a distribution package:  How hard is it?  I've been looking
specifically at getting a package into the official Debian
repositories, and it seems like a bit of work.  Any experiences out
there to help someone that's starting the adventure?  What about other
distros like Fedora, etc?  Also, being a bit modest myself, how can I
tell if my package is "worthy" of a public distribution?

Thanks!

Cal Heldenbrand
Garrett Kajmowicz | 8 Feb 2005 18:36
Favicon

Remote hardware authentication

I have no experience with PAM development, but I'd be willing to commit some 
time to learning if the following seems reasonably possible:

How difficult would it be to implement a pass-through authentication scheme 
which would allow for existing hardware PAM modules to have the hardware 
access executed on the remote machine?  That is, instead of reading a local 
USB device, a remote USB device would be read, for those people who are 
logging in via SSH, X11, etc from a remote system.

Other ideas/whack over the head appreciated.

- Garrett Kajmowicz
Chandana.Varsha | 10 Feb 2005 05:04

FW:PAM error while executing "make" for samba on aix5.2

Hi ,

 

We are trying to install Samba and integrate AIX 5.2 servers with ADS. We have installed the following packages –

 

GCC                           

M4

AutoConf 2.57            
AutoMake 1.7.2          

Libtool                        

Berkeleydb4.1.5
Flex
KRB5 1.3.1
openldap_2.1.23

 

Next we are installing Samba 3.0.9 on AIX5.2 , we have completed configure with the following options –

./configure --with-winbind --with-ldap --with-ads --with-pam

But while running “make” we are getting the below errors –

 

nsswitch/pam_winbind.c: In function `_make_remark':

nsswitch/pam_winbind.c:89: warning: assignment discards qualifiers from pointer

target type

nsswitch/pam_winbind.c: In function `_winbind_read_password':

nsswitch/pam_winbind.c:329: warning: passing arg 3 of `pam_get_item' from incomp

atible pointer type

nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first u

se in this function)

nsswitch/pam_winbind.c:341: error: (Each undeclared identifier is reported only

once

nsswitch/pam_winbind.c:341: error: for each function it appears in.)

nsswitch/pam_winbind.c:362: warning: assignment discards qualifiers from pointer

 target type

nsswitch/pam_winbind.c:370: warning: assignment discards qualifiers from pointer

 target type

nsswitch/pam_winbind.c:376: warning: assignment discards qualifiers from pointer

 target type

nsswitch/pam_winbind.c:434: warning: passing arg 3 of `pam_get_item' from incomp

atible pointer type

nsswitch/pam_winbind.c: At top level:

nsswitch/pam_winbind.c:449: error: syntax error before "int"

nsswitch/pam_winbind.c: In function `pam_sm_authenticate':

nsswitch/pam_winbind.c:462: warning: passing arg 2 of `pam_get_user' from incomp

atible pointer type

nsswitch/pam_winbind.c: At top level:

nsswitch/pam_winbind.c:513: error: syntax error before "int"

nsswitch/pam_winbind.c:524: error: syntax error before "int"

nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':

nsswitch/pam_winbind.c:534: warning: passing arg 2 of `pam_get_user' from incomp

atible pointer type

nsswitch/pam_winbind.c: At top level:

nsswitch/pam_winbind.c:570: error: syntax error before "int"

nsswitch/pam_winbind.c:580: error: syntax error before "int"

nsswitch/pam_winbind.c:592: error: syntax error before "int"

nsswitch/pam_winbind.c: In function `pam_sm_chauthtok':

nsswitch/pam_winbind.c:612: warning: passing arg 2 of `pam_get_user' from incomp

atible pointer type

nsswitch/pam_winbind.c:689: warning: passing arg 3 of `pam_get_item' from incomp

atible pointer type

make: 1254-004 The error code from the last command is 1

 

Please also let me know what the exact procedure to install samba on AIX is and what are the packages which needs to be installed on aix before successfully installing samba on it?

 

Please help us install samba on AIX as we are struck up with it from a very long time and we are running out of our project schedules.

 

And are there any binary versions available for AIX which is precompiled with ADS, PAM and winbind options?

 

 

Thanks in advance.

 

Regards

Chandana

Facilities Management Group

I-flex solutions Ltd

 

 

DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

_______________________________________________
Pam-list mailing list
Pam-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/pam-list
Justin Ferguson | 10 Feb 2005 05:05

Re: FW:PAM error while executing "make" for samba on aix5.2

 > nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR'
 > undeclared (first use in this function)

This is your actual error, and it causes all the parse errors and such 
on lines following this one- generally this is the result of either 
forgetting to include a header file, or missing one (or more).

On my linux box its defined in:

/usr/include/security/_pam_types.h:#define PAM_AUTHTOK_RECOVER_ERR 21 /* 
Authentication information */

And is also included by security/pam_appl.h and security/pam_modules.h .

I'm not positive what package provides these, I'd imagine the pam base, 
however I could be wrong- I'd look for those files, and if you find it- 
grep it for the PAM_AUTHTOK_RECOVER_ERR, or just grep -r 
PAM_AUTHTOK_RECOVER_ERR /usr/include , if you find it #include it in the 
  relevant files.

If you don't, then I'd try to find out what provides it and install it.

Hope that helped some, best of luck

J. Ferguson
Security Analyst
CWIE, LLC.

Chandana.Varsha <at> iflexsolutions.com wrote:
> Hi ,
> 
>  
> 
> We are trying to install Samba and integrate AIX 5.2 servers with ADS. 
> We have installed the following packages –
> 
>  
> 
> GCC                           
> 
> M4
> 
> AutoConf 2.57            
> AutoMake 1.7.2          
> 
> Libtool                        
> 
> Berkeleydb4.1.5
> Flex
> KRB5 1.3.1
> openldap_2.1.23
> 
>  
> 
> Next we are installing Samba 3.0.9 on AIX5.2 , we have completed 
> configure with the following options –
> 
> ./configure --with-winbind --with-ldap --with-ads --with-pam
> 
> But while running “make” we are getting the below errors –
> 
>  
> 
> nsswitch/pam_winbind.c: In function `_make_remark':
> 
> nsswitch/pam_winbind.c:89: warning: assignment discards qualifiers from 
> pointer
> 
> target type
> 
> nsswitch/pam_winbind.c: In function `_winbind_read_password':
> 
> nsswitch/pam_winbind.c:329: warning: passing arg 3 of `pam_get_item' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared 
> (first u
> 
> se in this function)
> 
> nsswitch/pam_winbind.c:341: error: (Each undeclared identifier is 
> reported only
> 
> once
> 
> nsswitch/pam_winbind.c:341: error: for each function it appears in.)
> 
> nsswitch/pam_winbind.c:362: warning: assignment discards qualifiers from 
> pointer
> 
>  target type
> 
> nsswitch/pam_winbind.c:370: warning: assignment discards qualifiers from 
> pointer
> 
>  target type
> 
> nsswitch/pam_winbind.c:376: warning: assignment discards qualifiers from 
> pointer
> 
>  target type
> 
> nsswitch/pam_winbind.c:434: warning: passing arg 3 of `pam_get_item' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c: At top level:
> 
> nsswitch/pam_winbind.c:449: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c: In function `pam_sm_authenticate':
> 
> nsswitch/pam_winbind.c:462: warning: passing arg 2 of `pam_get_user' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c: At top level:
> 
> nsswitch/pam_winbind.c:513: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c:524: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':
> 
> nsswitch/pam_winbind.c:534: warning: passing arg 2 of `pam_get_user' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c: At top level:
> 
> nsswitch/pam_winbind.c:570: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c:580: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c:592: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c: In function `pam_sm_chauthtok':
> 
> nsswitch/pam_winbind.c:612: warning: passing arg 2 of `pam_get_user' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c:689: warning: passing arg 3 of `pam_get_item' 
> from incomp
> 
> atible pointer type
> 
> make: 1254-004 The error code from the last command is 1
> 
>  
> 
> Please also let me know what the exact procedure to install samba on AIX 
> is and what are the packages which needs to be installed on aix before 
> successfully installing samba on it?
> 
>  
> 
> Please help us install samba on AIX as we are struck up with it from a 
> very long time and we are running out of our project schedules.
> 
>  
> 
> And are there any binary versions available for AIX which is precompiled 
> with ADS, PAM and winbind options?
> 
>  
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Regards
> 
> Chandana
> 
> Facilities Management Group
> 
> I-flex solutions Ltd
> 
>  
> 
>  
> 
> DISCLAIMER:
> This message contains privileged and confidential information and is 
> intended only for the individual named.If you are not the intended 
> recipient you should not disseminate,distribute,store,print, copy or 
> deliver this message.Please notify the sender immediately by e-mail if 
> you have received this e-mail by mistake and delete this e-mail from 
> your system.E-mail transmission cannot be guaranteed to be secure or 
> error-free as information could be 
> intercepted,corrupted,lost,destroyed,arrive late or incomplete or 
> contain viruses.The sender therefore does not accept liability for any 
> errors or omissions in the contents of this message which arise as a 
> result of e-mail transmission. If verification is required please 
> request a hard-copy version.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pam-list mailing list
> Pam-list <at> redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
Jaspreet Oberoi | 10 Feb 2005 05:13
Picon

Re: FW:PAM error while executing "make" for samba on aix5.2

Hi Chandana

I am hoping you have gone through the following links already

1. http://www.redbooks.ibm.com/redbooks.nsf/0/7fb18fa101b54b328625688500562954?OpenDocument
(this has a redbook with clear instructions for installing samba on AIX)

2. http://www.bullfreeware.com/faqs.html
(this however talks of previous release of aix)

I am pretty drowned in my schedule. So I wont be able to help much. :<(
I leave it to the gurus to help you. :>)

Let me know what exactly was the problem. 

Thanks!! n have a nice day!!
Jaspreet

On Thu, 10 Feb 2005 09:34:13 +0530, Chandana.Varsha <at> iflexsolutions.com
<Chandana.Varsha <at> iflexsolutions.com> wrote:
>  
>  
> 
> Hi , 
> 
>   
> 
> We are trying to install Samba and integrate AIX 5.2 servers with ADS. We
> have installed the following packages – 
> 
>   
> 
> GCC                            
> 
> M4 
> 
> AutoConf 2.57             
>  AutoMake 1.7.2           
> 
> Libtool                         
> 
> Berkeleydb4.1.5
>  Flex
>  KRB5 1.3.1
>  openldap_2.1.23 
> 
>   
> 
> Next we are installing Samba 3.0.9 on AIX5.2 , we have completed configure
> with the following options – 
> 
> ./configure --with-winbind --with-ldap --with-ads --with-pam 
> 
> But while running "make" we are getting the below errors – 
> 
>   
> 
> nsswitch/pam_winbind.c: In function `_make_remark': 
> 
> nsswitch/pam_winbind.c:89: warning: assignment discards qualifiers from
> pointer 
> 
> target type 
> 
> nsswitch/pam_winbind.c: In function `_winbind_read_password': 
> 
> nsswitch/pam_winbind.c:329: warning: passing arg 3 of `pam_get_item' from
> incomp 
> 
> atible pointer type 
> 
> nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared
> (first u 
> 
> se in this function) 
> 
> nsswitch/pam_winbind.c:341: error: (Each undeclared identifier is reported
> only 
> 
> once 
> 
> nsswitch/pam_winbind.c:341: error: for each function it appears in.) 
> 
> nsswitch/pam_winbind.c:362: warning: assignment discards qualifiers from
> pointer 
> 
>  target type 
> 
> nsswitch/pam_winbind.c:370: warning: assignment discards qualifiers from
> pointer 
> 
>  target type 
> 
> nsswitch/pam_winbind.c:376: warning: assignment discards qualifiers from
> pointer 
> 
>  target type 
> 
> nsswitch/pam_winbind.c:434: warning: passing arg 3 of `pam_get_item' from
> incomp 
> 
> atible pointer type 
> 
> nsswitch/pam_winbind.c: At top level: 
> 
> nsswitch/pam_winbind.c:449: error: syntax error before "int" 
> 
> nsswitch/pam_winbind.c: In function `pam_sm_authenticate': 
> 
> nsswitch/pam_winbind.c:462: warning: passing arg 2 of `pam_get_user' from
> incomp 
> 
> atible pointer type 
> 
> nsswitch/pam_winbind.c: At top level: 
> 
> nsswitch/pam_winbind.c:513: error: syntax error before "int" 
> 
> nsswitch/pam_winbind.c:524: error: syntax error before "int" 
> 
> nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt': 
> 
> nsswitch/pam_winbind.c:534: warning: passing arg 2 of `pam_get_user' from
> incomp 
> 
> atible pointer type 
> 
> nsswitch/pam_winbind.c: At top level: 
> 
> nsswitch/pam_winbind.c:570: error: syntax error before "int" 
> 
> nsswitch/pam_winbind.c:580: error: syntax error before "int" 
> 
> nsswitch/pam_winbind.c:592: error: syntax error before "int" 
> 
> nsswitch/pam_winbind.c: In function `pam_sm_chauthtok': 
> 
> nsswitch/pam_winbind.c:612: warning: passing arg 2 of `pam_get_user' from
> incomp 
> 
> atible pointer type 
> 
> nsswitch/pam_winbind.c:689: warning: passing arg 3 of `pam_get_item' from
> incomp 
> 
> atible pointer type 
> 
> make: 1254-004 The error code from the last command is 1 
> 
>   
> 
> Please also let me know what the exact procedure to install samba on AIX is
> and what are the packages which needs to be installed on aix before
> successfully installing samba on it? 
> 
>   
> 
> Please help us install samba on AIX as we are struck up with it from a very
> long time and we are running out of our project schedules. 
> 
>   
> 
> And are there any binary versions available for AIX which is precompiled
> with ADS, PAM and winbind options? 
> 
>   
> 
>   
> 
> Thanks in advance. 
> 
>   
> 
> Regards 
> 
> Chandana 
> 
> Facilities Management Group 
> 
> I-flex solutions Ltd 
> 
>   
> 
>   
> 
> 
> 
> DISCLAIMER:
> This message contains privileged and confidential information and is
> intended only for the individual named.If you are not the intended recipient
> you should not disseminate,distribute,store,print, copy or deliver this
> message.Please notify the sender immediately by e-mail if you have received
> this e-mail by mistake and delete this e-mail from your system.E-mail
> transmission cannot be guaranteed to be secure or error-free as information
> could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or
> contain viruses.The sender therefore does not accept liability for any
> errors or omissions in the contents of this message which arise as a result
> of e-mail transmission. If verification is required please request a
> hard-copy version. 
> _______________________________________________
> Pam-list mailing list
> Pam-list <at> redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
> 
>
Chandana.Varsha | 10 Feb 2005 05:30

RE: FW:PAM error while executing "make" for samba on aix5.2

Hi,

I have read in some document that pam-devel packages provide the
required header information. But unfortunately I am unable to get any
links to download these pam-devel packages for AIX.

Can any one give me a link as to where I can download this package?
I would like to try with this option and see if the error gets sorted
out.

In the mean while if any of you have any more suggestions, Please fell
free to share it to me.

Thanks all

Regards,
Chandana 

-----Original Message-----
From: pam-list-bounces <at> redhat.com [mailto:pam-list-bounces <at> redhat.com]
On Behalf Of Justin Ferguson
Sent: Thursday, February 10, 2005 9:35 AM
To: Pluggable Authentication Modules
Subject: Re: FW:PAM error while executing "make" for samba on aix5.2

 > nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR'
 > undeclared (first use in this function)

This is your actual error, and it causes all the parse errors and such 
on lines following this one- generally this is the result of either 
forgetting to include a header file, or missing one (or more).

On my linux box its defined in:

/usr/include/security/_pam_types.h:#define PAM_AUTHTOK_RECOVER_ERR 21 /*

Authentication information */

And is also included by security/pam_appl.h and security/pam_modules.h .

I'm not positive what package provides these, I'd imagine the pam base, 
however I could be wrong- I'd look for those files, and if you find it- 
grep it for the PAM_AUTHTOK_RECOVER_ERR, or just grep -r 
PAM_AUTHTOK_RECOVER_ERR /usr/include , if you find it #include it in the

  relevant files.

If you don't, then I'd try to find out what provides it and install it.

Hope that helped some, best of luck

J. Ferguson
Security Analyst
CWIE, LLC.

Chandana.Varsha <at> iflexsolutions.com wrote:
> Hi ,
> 
>  
> 
> We are trying to install Samba and integrate AIX 5.2 servers with ADS.

> We have installed the following packages -
> 
>  
> 
> GCC                           
> 
> M4
> 
> AutoConf 2.57            
> AutoMake 1.7.2          
> 
> Libtool                        
> 
> Berkeleydb4.1.5
> Flex
> KRB5 1.3.1
> openldap_2.1.23
> 
>  
> 
> Next we are installing Samba 3.0.9 on AIX5.2 , we have completed 
> configure with the following options -
> 
> ./configure --with-winbind --with-ldap --with-ads --with-pam
> 
> But while running "make" we are getting the below errors -
> 
>  
> 
> nsswitch/pam_winbind.c: In function `_make_remark':
> 
> nsswitch/pam_winbind.c:89: warning: assignment discards qualifiers
from 
> pointer
> 
> target type
> 
> nsswitch/pam_winbind.c: In function `_winbind_read_password':
> 
> nsswitch/pam_winbind.c:329: warning: passing arg 3 of `pam_get_item' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c:341: error: `PAM_AUTHTOK_RECOVER_ERR'
undeclared 
> (first u
> 
> se in this function)
> 
> nsswitch/pam_winbind.c:341: error: (Each undeclared identifier is 
> reported only
> 
> once
> 
> nsswitch/pam_winbind.c:341: error: for each function it appears in.)
> 
> nsswitch/pam_winbind.c:362: warning: assignment discards qualifiers
from 
> pointer
> 
>  target type
> 
> nsswitch/pam_winbind.c:370: warning: assignment discards qualifiers
from 
> pointer
> 
>  target type
> 
> nsswitch/pam_winbind.c:376: warning: assignment discards qualifiers
from 
> pointer
> 
>  target type
> 
> nsswitch/pam_winbind.c:434: warning: passing arg 3 of `pam_get_item' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c: At top level:
> 
> nsswitch/pam_winbind.c:449: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c: In function `pam_sm_authenticate':
> 
> nsswitch/pam_winbind.c:462: warning: passing arg 2 of `pam_get_user' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c: At top level:
> 
> nsswitch/pam_winbind.c:513: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c:524: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':
> 
> nsswitch/pam_winbind.c:534: warning: passing arg 2 of `pam_get_user' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c: At top level:
> 
> nsswitch/pam_winbind.c:570: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c:580: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c:592: error: syntax error before "int"
> 
> nsswitch/pam_winbind.c: In function `pam_sm_chauthtok':
> 
> nsswitch/pam_winbind.c:612: warning: passing arg 2 of `pam_get_user' 
> from incomp
> 
> atible pointer type
> 
> nsswitch/pam_winbind.c:689: warning: passing arg 3 of `pam_get_item' 
> from incomp
> 
> atible pointer type
> 
> make: 1254-004 The error code from the last command is 1
> 
>  
> 
> Please also let me know what the exact procedure to install samba on
AIX 
> is and what are the packages which needs to be installed on aix before

> successfully installing samba on it?
> 
>  
> 
> Please help us install samba on AIX as we are struck up with it from a

> very long time and we are running out of our project schedules.
> 
>  
> 
> And are there any binary versions available for AIX which is
precompiled 
> with ADS, PAM and winbind options?
> 
>  
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> Regards
> 
> Chandana
> 
> Facilities Management Group
> 
> I-flex solutions Ltd
> 
>  
> 
>  
> 
> DISCLAIMER:
> This message contains privileged and confidential information and is 
> intended only for the individual named.If you are not the intended 
> recipient you should not disseminate,distribute,store,print, copy or 
> deliver this message.Please notify the sender immediately by e-mail if

> you have received this e-mail by mistake and delete this e-mail from 
> your system.E-mail transmission cannot be guaranteed to be secure or 
> error-free as information could be 
> intercepted,corrupted,lost,destroyed,arrive late or incomplete or 
> contain viruses.The sender therefore does not accept liability for any

> errors or omissions in the contents of this message which arise as a 
> result of e-mail transmission. If verification is required please 
> request a hard-copy version.
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Pam-list mailing list
> Pam-list <at> redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list

_______________________________________________
Pam-list mailing list
Pam-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/pam-list

DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual
named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy
or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail
by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure
or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or
incomplete or contain viruses.The sender therefore does not accept liability for any errors or
omissions in the contents of this message which arise as a result of e-mail transmission. If verification
is required please request a hard-copy version.

Gmane