[Samba] pam_mount and winbind

cj cj at itonsite.com.au
Mon Sep 9 23:52:00 GMT 2002


G'day All
I've gotten pam_mount to work, its great.
Just a question though

Can I use pam_mount with winbind,
so winbind uses my samba server's username and password and pam_mount with
mount the user directories.

Also
I am tring to compile pam_winbind.so with
"make nsswitch/pam_winbind.so"
but it is giving me the following error example
nsswitch/pam_winbind.c:62: parse error before `*'
nsswitch/pam_winbind.c: In function `converse':
nsswitch/pam_winbind.c:69: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:69: (Each undeclared identifier is reported only once
nsswitch/pam_winbind.c:69: for each function it appears in.)
nsswitch/pam_winbind.c:69: `PAM_CONV' undeclared (first use in this
function)
nsswitch/pam_winbind.c:70: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:71: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:71: `nargs' undeclared (first use in this function)
nsswitch/pam_winbind.c:71: `message' undeclared (first use in this function)
nsswitch/pam_winbind.c:72: `response' undeclared (first use in this
function)
nsswitch/pam_winbind.c:72: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:79: parse error before `*'
nsswitch/pam_winbind.c: In function `_make_remark':
nsswitch/pam_winbind.c:81: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:83: storage size of `msg' isn't known
nsswitch/pam_winbind.c:87: `text' undeclared (first use in this function)
nsswitch/pam_winbind.c:88: `type' undeclared (first use in this function)
nsswitch/pam_winbind.c:91: `pamh' undeclared (first use in this function)

Does any one know what causes this?

Also (sorry)
if someone else compiles the pam_winbind.so file am I able to use that file
on my machine?


Thanks




More information about the samba mailing list