LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-24-2013, 06:16 AM   #1
junkyhlm
Member
 
Registered: Jan 2013
Location: Stockholm, Sweden
Distribution: Debian 6
Posts: 37

Rep: Reputation: Disabled
How to setup samba share with encrypted password.


My setup:
Ubuntu Server 12.04 with 4 disks shared with samba.

The clients
3 computers running Windows 7 and with a .bat file in Startup.

The problem
My batch file contains username and password to the server in clear text.

What i want
I want to be able to connect to the shared drives at startup (since one of the Windows clients runs as a HTPC and i dont want to be prompted for password when starting it) without the password beeing visible anywhere on the clients.

Is this possible. Can anyone point me to some good quality reading?
 
Old 01-24-2013, 10:48 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Why not map the drives in Windows and click the option to reconnect on login?
 
Old 01-28-2013, 03:51 AM   #3
junkyhlm
Member
 
Registered: Jan 2013
Location: Stockholm, Sweden
Distribution: Debian 6
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jschiwal View Post
Why not map the drives in Windows and click the option to reconnect on login?
I'll try this. Thank you!
 
Old 01-30-2013, 12:52 AM   #4
junkyhlm
Member
 
Registered: Jan 2013
Location: Stockholm, Sweden
Distribution: Debian 6
Posts: 37

Original Poster
Rep: Reputation: Disabled
Worked like a charm. I dont know whay i havn't tried this before :S
 
  


Reply

Tags
samba security win7 winxp, ubuntu 12.04


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizable encrypted LVM requiring just one password on boot (encrypted volume group)? Nyyr Linux - Software 9 01-24-2013 05:52 AM
LXer: Create an Encrypted Samba Share LXer Syndicated Linux News 0 01-02-2009 09:40 AM
Samba (via Webmin or SWAT) unable to change pre-encrypted password requirement booberandpuzz Linux - Newbie 18 05-08-2008 09:26 PM
Accessing remote shares with encrypted Samba password at bootup CyberGuy Linux - Software 1 01-09-2005 05:23 PM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM


All times are GMT -5. The time now is 07:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration