From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JmWSt-0006sC-FJ for garchives@archives.gentoo.org; Thu, 17 Apr 2008 15:55:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83134E03EA; Thu, 17 Apr 2008 15:55:57 +0000 (UTC) Received: from dd1004.kasserver.com (dd1004.kasserver.com [85.13.128.4]) by pigeon.gentoo.org (Postfix) with ESMTP id 3E207E03F3 for ; Thu, 17 Apr 2008 15:55:57 +0000 (UTC) Received: from [192.168.0.10] (p5B39CA98.dip0.t-ipconnect.de [91.57.202.152]) by dd1004.kasserver.com (Postfix) with ESMTP id 027731861B4AD for ; Thu, 17 Apr 2008 17:55:53 +0200 (CEST) Subject: Re: [gentoo-server] Mount Samba shares as home From: Alexander Zimmerling To: gentoo-server@lists.gentoo.org In-Reply-To: <3145.10.11.200.125.1208447098.squirrel@mail.gigle.biz> References: <1208445982.5312.20.camel@Jerusalem.zimmerling.lan> <3145.10.11.200.125.1208447098.squirrel@mail.gigle.biz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PyDVg1xktuTu6VkoPD08" Organization: IEEE Date: Thu, 17 Apr 2008 17:55:55 +0200 Message-Id: <1208447755.5312.24.camel@Jerusalem.zimmerling.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@lists.gentoo.org Reply-to: gentoo-server@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 X-Archives-Salt: 49728ab0-d318-4400-b1bd-85289178fa2d X-Archives-Hash: 73f676a607edfa9af1b773a51a768687 --=-PyDVg1xktuTu6VkoPD08 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Can you give me some more details? Is this a file where all smbusers and their passwords are stored? If yes: this is not an option! thank you so far Alex Am Donnerstag, den 17.04.2008, 17:44 +0200 schrieb robert anstuther: > Hi, is it not just down to having a smbusers file for mapping linux to > windows user names? >=20 >=20 >=20 >=20 >=20 > > Hi guys, > > > > I've got a nice problem here. > > > > My situation: > > > > I have different clients, windows and linux and a gentoo-samba-pdc. > > > > As you might know, windows domains are supporting a 'homeshare' which > > are mounted (mapped) to a specific driveletter (here m:) > > > > The windows boxes are domain members. The linux boxes aren't. > > Some of the users need to login to windows and linux clients. The > > linux-usernames are unfortunately not equal with the domain-usernames. > > > > The generel problem is to provide the logged in linux user the > > corresponding (domain-user) homeshare. > > > > Postings in the forums pointed me to pam_mount. > > > > I'll give you an example: > > > > Colleague Bob Example. > > > > Has a domain-user-login, bob.example. He can login on all windows > > workstations without any trouble, the share is mapped to m: etc. > > > > He has a linux username, also. Just "bob". > > > > Bob is an unprivileged user and using this command ends in an error: > > > >>> > > mount.cifs //server/bob.example /home/bob -o user=3Dbob.example > > << > > > > error returned: > >>> > > mount error 1 =3D Operation not permitted > > Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) > > << > > > > > > As I said the guys in the forum told me to look for pam_mount. > > I installed this module, set it up in /etc/pam.d/system-auth and > > configured the /etc/security/pam_mount.conf.xml > > > > added this line: > > > >>> > > > options=3D"user=3Dbob.example"> > > << > > > > I saw, that pam_mount uses $(user) to identify the user, and pass this > > to mount.cifs. I've deleted this part and added > > options=3D"user=3Dbob.example". > > > > Well this is where I'm stucked now. > > > > The main problem is that the username on the old linux boxes differing > > from the domain user names. > > > > Do you have any ideas or a better documentation for pam_mount? or had > > sth similar? > > > > Kind Regards > > > > Alex > > >=20 >=20 --=-PyDVg1xktuTu6VkoPD08 Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBIB3MLH3zkd2acXuwRAq+WAJ9W7Mhn8b59akX5I44xD50LhZwYhQCeJntd 6yanJR/Ra6qe5mkBVOsPK9w= =V5zV -----END PGP SIGNATURE----- --=-PyDVg1xktuTu6VkoPD08-- -- gentoo-server@lists.gentoo.org mailing list