[Samba] Pam_mount + cifs
Bjoern Tore Sund
bjorn.sund at it.uib.no
Tue Oct 23 13:34:36 GMT 2007
Diego Obetko wrote:
> On 10/22/07, *Thierry Lacoste* <lacoste at miage.univ-paris12.fr
> <mailto:lacoste at miage.univ-paris12.fr>> wrote:
>
> Did you try mount_cifs manually ?
>
> FWIW here's what I have in my pam_mount.conf (ahomes is the samba
> server) :
> volume * cifs ahomes & ~/ uid=&,filemode=0700,dirmode=0700 - -
>
>
> i've tried that... no luck. manually mounting the share i get the same
> behaviour
>
> drwx------ 36 1181 guest 0 2007-10-17 09:33 dobetko
>
> id shows information correctly though.... :/
>
>
> Bjørn:
>
> When compiling (make the pam_cifs i get this error..
>
> In file included from pam_cifs.c:22:
> pam_cifs_module.h:32:34: error: security/pam_modules.h: No existe el
> fichero o el directorio
> pam_cifs_module.h:33:34: error: security/_pam_macros.h: No existe el
> fichero o el directorio
> In file included from pam_cifs.c:22:
> pam_cifs_module.h:40: error: expected ')' before '*' token
> pam_cifs.c:28: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'int'
> pam_cifs.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'int'
> pam_cifs.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'int'
> make: *** [pam_cifs.o] Error 1
You're lacking the pam development package. On my Fedora it's called
pam-devel, and is installable with 'yum install pam-devel'. Pam modules
cannot be compiled without having pam header files and libraries available.
-BT
--
Bjørn Tore Sund Phone: 555-84894 Email: bjorn.sund at it.uib.no
IT department VIP: 81724 Support: http://bs.uib.no
Univ. of Bergen
When in fear and when in doubt, run in circles, scream and shout.
More information about the samba
mailing list