[Samba] Pam_mount + cifs

Diego Obetko dobetko at gmail.com
Tue Oct 23 13:24:57 GMT 2007


On 10/22/07, Thierry Lacoste <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


More information about the samba mailing list