Re: non-interactively mount windows-based network shares at login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Duran wrote:
| I'll take a look at this, but it seems that I would have X number of
| credential files, which would require that I find out what this X number
| of passwords are, and make sure I update the files every time a password
| is changed. Am I completely wrong about this?

Aint Windows networking fun?

You are absolutely right.  I usually put the credentials in the actual
mount command like so:

~  # mount -t smbfs -o username=grandpoobah,password=netGe3k
//machine/share /mountpoint

(line splitting done by MUA)

However, as was suggested before, you could use credential files, but
then you would need to generate those files on a regular basis.  The
first thoughts that come to mind would be:

~  1) Build a wrapper around the change password command to also update
the credential files at the same time.

~  2) Build a perl script that can be called from an Intranet web page to
generate a current credentials file on the fly

~  3) Build a script that rewrites the credential files on a scheduled
basis (once per hour, day, etc).

~  4) Store username and passwords in an LDAP server, then see item 1-3
above.

Good Luck

- --
Kevin Fries
Network Administrator
Hydrologic Consultants, Inc of Colorado
(303) 969-8033    FAX: (303) 969-8357
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB5BTuiFq1Eo16+CgRAqaAAJ0bNTyduFNYb8Vl3GQ8hA/AfwOYDgCgvGyv
aYVcFtyYliuqhI25yApxWGk=
=kWBn
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux