Mailinglist Archive: opensuse (2489 mails)

< Previous Next >
Re: [opensuse] Using windows shares
  • From: Roger Oberholtzer <roger@xxxxxx>
  • Date: Mon, 01 Dec 2008 09:52:26 +0100
  • Message-id: <1228121548.31521.48.camel@xxxxxxxxxxxx>
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.

--
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696

--

"On two occasions I have been asked (by members of Parliament!),
'Pray, Mr. Babbage, if you put into the machine wrong figures,
will the right answers come out?' I am not able rightly to apprehend
the kind of confusion of ideas that could provoke such a question.
- Charles Babbage 1791-1871)
English computer pioneer, philosopher

And remember:

It is RSofT and there is always something under construction.
It is like talking about a large city with all construction finished.
Not impossible, but very unlikely.

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

< Previous Next >
Follow Ups
References