12-06-2013
Compile smbfs module in kernel version 3.10 running Ubuntu 12.04 LTS
Is there any way to compile smbfs module in kernel 3.10 running Ubuntu 12.04 LTS. I did a 'make menuconfig' and it shows cifs. I found out online that smbfs is deprecated and replaced by cifs. I have an old system with kernel version 2.4 which only has smbfs (no cifs). Is it possible to compile smbfs in newer kernel versions?
6 More Discussions You Might Find Interesting
1. Linux
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies
2. Linux
Hi there,
I'm currently writing a program/module which makes use of the Linux Security Modules (LSM), which provide hooks for some security .
The bad thing about it is: The function to set the hook to the LSM is not exported. That means, I can't just write a loadable kernel module, but have to... (3 Replies)
Discussion started by: disaster
3 Replies
3. Solaris
Hello,
I am considering Ubuntu 10.04 (ubuntu-10.04.3-desktop-amd64.iso) and also Solaris 10 (sol-10-u10-ga2-x86-dvd.iso) for different hardware applications and I had a few questions.
The hardware on my laptop is:
HP Pavilion dv4 2045-dx x64 laptop
AMD Turion(tm) II Dual-Core Mobile M500... (4 Replies)
Discussion started by: Marcus Aurelius
4 Replies
4. Ubuntu
I setup an Ubuntu 10.04 server which has several developers on the box. I have been ask to add a gui to the server. Only one developer want the gui to start when she logs in(runlevel 2 with a GUI). I am used to seeing an /etc/inittab file which I cannot seem to find under this Ubuntu version. So... (1 Reply)
Discussion started by: metallica1973
1 Replies
5. UNIX for Dummies Questions & Answers
I come across the following error while configuring glibc 2.16.0 on ubuntu 12.04 LTS:"These critical programs are missing or too old: ld". Please suggest me a solution for the same at the earliest. (1 Reply)
Discussion started by: nov_2012
1 Replies
6. Ubuntu
I am trying to setup a development environment that mirrors my Windows and SCO Unix systems. I use emacs and I am having trouble printing. I keep getting the error message;
Symbol's function definition is void: default-printer-name
I have googled this and for possible answers for... (0 Replies)
Discussion started by: trolley
0 Replies
LEARN ABOUT DEBIAN
cifs.idmap
CIFS.IDMAP(8) System Administration tools CIFS.IDMAP(8)
NAME
cifs.idmap - Userspace helper for mapping ids for Common Internet File System (CIFS)
SYNOPSIS
cifs.idmap [--version|-v] {keyid}
DESCRIPTION
This tool is part of the cifs-utils suite.
cifs.idmap is a userspace helper program for the linux CIFS client filesystem. There are a number of activities that the kernel cannot
easily do itself. This program is a callout program that does these things for the kernel and then returns the result.
cifs.idmap is generally intended to be run when the kernel calls request-key(8) for a particular key type. While it can be run directly
from the command-line, it is not generally intended to be run that way.
cifs.idmap works in conjuction with winbind facility of Samba suite to map owner and group SIDs to uids and gids respectively. It is best
utilized when
- a mount option of cifsacl is specified when mounting a cifs share
- winbind is specified as one of the search entries for passwd and group databases in file /etc/nsswitch.conf
- file smb.conf has winbind specific entries
- winbind daemon program is running
In case winbind and cifs.idmap facilities are unavailable, file objects in a mounted share are assigned uid and gid of the credentials of
the process that mounted the share. So it is strongly recomemended to use mount options of uid and gid to specify a default uid and gid to
map owner SIDs and group SIDs respectively in case services of winbind and cifs.idmap facility are unavailable.
OPTIONS
--version|-v
Print version number and exit.
CONFIGURATION FOR KEYCTL
cifs.idmap is designed to be called from the kernel via the request-key callout program. This requires that request-key be told where and
how to call this program. Currently cifs.idmap handles a key type of:
cifs.idmap
This keytype is for mapping a SID to either an uid or a gid
To make this program useful for CIFS, you will need to set up entry for it in request-key.conf(5). Here is an example of an entry for this
key type:
#OPERATION TYPE D C PROGRAM ARG1 ARG2...
#========= ============= = = ================================
create cifs.idmap * * /usr/sbin/cifs.idmap %k
See request-key.conf(5) for more info on each field.
NOTES
Support for upcalls to cifs.idmap was initially introduced in the 3.0 kernel.
SEE ALSO
request-key.conf(5), mount.cifs(8)
AUTHOR
Shirish Pargaonkar wrote the cifs.idmap program.
The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs.
cifs-utils 05/26/2011 CIFS.IDMAP(8)