Mailinglist Archive: opensuse (2489 mails)

< Previous Next >
Re: [opensuse] Using windows shares
  • From: Manne Merak <mannemerak@xxxxxxxxx>
  • Date: Mon, 01 Dec 2008 12:07:21 +0200
  • Message-id: <4933B759.6080303@xxxxxxxxx>
Roger Oberholtzer wrote:
On Mon, 2008-12-01 at 10:32 +0200, Manne Merak wrote:


Well, this is not really what Im after. I want to tell smbmount to use
my current logged-in linux username and password to login to shares. So
aslong as I keep my local password synced with the windows network
password all is well.
The KDE control panel helps alot - I use it at the moment - It just
needs a check box saying - "Use local login credentials". At fail it
should come up with login dialog.


You can use a credentials file with the mount command. This file must
contain the user's windows password for the share. If the windows
password changes, this credentials file must be updated. That is not so
nice.

I have had my linux machine join an active directory. Next on my list is
to see if I can get shares to mount (as you also want) if the user logs
in to the linux machine using his Windows user name and password. I seem
to recall reading something on this list a while back about trying to
make this work. It involved pam_mount that controls mounting thing when
a user logs in. Beyond that, I have nothing to tell. I long for a free
day to sort this out. But those are few on the ground...

So, hunt for into on pam_mount and CIFS. Maybe there is something there.


The credentials file (as you said) is a pain to update constantly and
more suited for use in the fstab as described in the man pages.
Active Dir is ok, if you have one - but its just strange to me that
something like AD is "builtin", but not something simple like "Use local
login for CIFS shares"?






--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >