Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Share Files With Samba
marretas
post Jun 2 2006, 10:26 AM
Post #1


Member - Active Contributor
Group Icon

Group: Members
Posts: 98
Joined: 27-January 06
Member No.: 10,907



I've been asking along this week , how to set a authentication prompt on windows 2000 professional , because i'm trying to create a secure file sharing cpu. Well... i remembered that linux is very great in stability and secure. I've downloaded and installed Mandriva 10.1 because he already brings Samba package, but i cant get him inside my workgroup, because he creates a defautl work group "mdkworkgroup" something like that. I'm not very expert in linux systems but i know that he can be configurated to Serv Files Sharing ( Only ). I know there are alots of diffrent linux distributions but i dont know witch is better to set up a server. I'm asking to you know witch distribution you recommend to this particular job. Its important to say that all my network computers are windows.

thks.
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Jun 2 2006, 01:41 PM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



I'd written a detailed article on creating a SAMBA based WorkGroup on Linux and make it act as a Windows Domain, allowing Windows machines to log onto that domain and share files...

In effect you create users on the Linux server - and Windows users can remotely connect to your server by directly logging in onto their desktop using the username/password you used to create their Linux server accounts...

If this approach is followed, their /home/username folder on the Linux server becomes directly accessible as an extra drive on their windows desktop and can be written/read only by the account-holder.

Similarly, you can set a specific folder as open share - which becomes available to everyone...

Read the article here: Howto: Setup Windows NT/2K Domain Using SAMBA

If you've got any questions post back here or in the original thread and I'll try to reply to my best knowledge..
Go to the top of the page
 
+Quote Post
abhay
post Feb 28 2007, 04:46 AM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 34
Joined: 13-August 06
Member No.: 15,185



QUOTE(marretas @ Jun 2 2006, 03:56 PM) *
I've been asking along this week , how to set a authentication prompt on windows 2000 professional , because i'm trying to create a secure file sharing cpu. Well... i remembered that linux is very great in stability and secure. I've downloaded and installed Mandriva 10.1 because he already brings Samba package, but i cant get him inside my workgroup, because he creates a defautl work group "mdkworkgroup" something like that. I'm not very expert in linux systems but i know that he can be configurated to Serv Files Sharing ( Only ). I know there are alots of diffrent linux distributions but i dont know witch is better to set up a server. I'm asking to you know witch distribution you recommend to this particular job. Its important to say that all my network computers are windows.

thks.



Firstly create the Directory you want to share.
1. #mkdir /share

give the directory the permission of the others users too.

2. #chmod 777 /share

3. add the users who are able to access the directory

#useradd -s /bin/false xyz

4. for giving password use command

#smbpasswd -a xyz

5. Now go to the file smb.conf as

#vi /etc/samba/smb.conf


6. go to the bottom of the file, there will be entries as

[share]

comment = the comment can be anything
path = where the folder is
valid users = whom to give the permission
public = no
writable = yes
printable = no
browsable = yes

If you want everyone to access the share then put 'yes' in the public field.

8.Start the SAMBA service by using the command

#service smb restart

9. now check the SAMBA share by using the command

#smbclient -L IP Address -N

there is one more command to check the configuration error as

#testparm
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Converting Flash Files To Gif(7)
  2. How To Hide Your Files In XP(18)
  3. Kazaa Gold Premium(2)
  4. Network Places: Alternative To Ftp On Windows(10)
  5. How To Transfer Files From One Computer To Another(16)
  6. How Do I Create And Write To Files?(4)
  7. VB.NET: Howto Add And Delete Files(8)
  8. Sharing Files In Windows Xp Home(15)
  9. Php : Variables Included Dont Work In Functions(4)
  10. How To Play *.rm Files With Media Player(12)
  11. How Do I Chmod Files On Astahost ?(20)
  12. Help Me: Need To Transfer Files From Old Computer(18)
  13. Switch Network Settings With Batch Files(18)
  14. Brushed Style Xmas Sig(5)
  15. Renaming Files (Using Excel Spreadsheet)(20)
  1. Get User Input From Vbscript For Batch Files(2)
  2. How To Embed Swf Files In Joomla ?(9)
  3. Creating Executable Jar Files(9)
  4. If You Have Some Private Files(17)
  5. Software To Concatenate Mp3 Files(8)
  6. Uploading More Than 30 Files In Less Than 10 Clicks?(5)
  7. How To Protect Included Files(10)
  8. Magic Quotes And $_files(3)
  9. Cannot Share From Xp To Win2003(6)
  10. Friends Can't Start The Exe Files I Send :((3)
  11. Need Some Help/advice On Lost Files.(8)
  12. Need Some Help/advice On How To Restore Lost Files(5)
  13. Playing Two Wav Files Simultaneously In C#(4)


 



- Lo-Fi Version Time is now: 30th August 2008 - 03:02 PM