Welcome Guest ( Log In | Register )




                Web Hosting

 
Reply to this topicNew 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
myCENTs:84.36


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) [snapback]79794[/snapback]
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 topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 3 saneax 1,740 Yesterday, 09:36 AM
Last post by: zlatan24
No new   23 WeaponX 7,070 2nd January 2009 - 09:48 AM
Last post by: iG-jagadesh
No new 21 RGF 4,903 31st December 2008 - 07:22 PM
Last post by: Guest
No New Posts 3 goodfriend 509 29th December 2008 - 04:00 AM
Last post by: iG-fanqiuqiu
No New Posts   15 soleimanian 7,914 13th December 2008 - 12:54 PM
Last post by: tek3D
No New Posts   11 elevenmil 4,789 10th December 2008 - 10:28 AM
Last post by: iG-rakesh
No New Posts   3 netc0n 2,532 3rd December 2008 - 07:52 AM
Last post by: iG-suman
No New Posts   7 indwebdesphs 1,326 1st December 2008 - 12:52 PM
Last post by: iG-biju
No New Posts   4 Vyoma 225 28th November 2008 - 08:51 PM
Last post by: yordan
No New Posts   9 xerxes 873 24th November 2008 - 09:57 PM
Last post by: toby
No new   22 PureHeart 3,657 6th November 2008 - 12:38 AM
Last post by: Guest
No New Posts   5 Tavis 1,162 20th October 2008 - 03:50 AM
Last post by: FirefoxRocks
No New Posts   5 Feelay 417 9th October 2008 - 02:29 AM
Last post by: mikesoft
No New Posts 15 soleimanian 1,340 30th September 2008 - 10:01 AM
Last post by: magiccode9
No New Posts   9 Axis 2,210 2nd September 2008 - 08:41 PM
Last post by: Guest