Slide

  • LINUX

    LINUX:In 1969 AT&T made a decision to withdraw Multics and go with GECOS (General Electric Comprehensive Operating Supervisor / System), with AT & T in Bells Lab when Multics was withdrawn some of the programmers named Ken Thompson and Dennis Ritchie decided to rewrite operating system in order to support low cost computer..To Know More

    CLICK HERE

  • MICROSOFT

    MICROSOFT:Microsoft was established to develop and sell BASIC interpreters for the Altair 8800. It rose to dominate the home computer operating system market with MS-DOS in the mid-1980s,followed by the Microsoft Windows line of operating systems. To Know More

    CLICK HERE

  • CISCO

    CISCO:During the early 1980s, there was a married couple namely Len and Sandy Bosack who used to work in two different departments of computer located in Stanford University. This couple was facing problem in making their computers communicate with each other To Know More

    CLICK HERE

showinfo=1

SAMBA Server And Client Config


SAMBA Server And Client Config


Samba is a software package that comes with RHEL 6.0 that lets you share file systems and printers on a network with computers that use the Session Message Block (SMB) protocol. SMB is the protocol that is delivered with Windows operating systems for sharing files and printers
You can do four basic things with Samba:
Share a Linux directory tree with Windows and Linux/Unix computers
Share a Windows directory with Linux/Unix computer0073
Share a Linux printer with Windows and Linux/Unix computers
Share a Windows printer with Linux/Unix computers

Configurations Files

1. /etc/samba/smb.conf- Main Configuration File

1. Configurations Samba Server.



[root@server1 ~]# yum install samba*
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Package samba-common-3.5.4-68.el6.i686 already installed and latest version
Package samba-winbind-clients-3.5.4-68.el6.i686 already installed and latest version
Package samba-client-3.5.4-68.el6.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package samba.i686 0:3.5.4-68.el6 set to be updated
---> Package samba-winbind.i686 0:3.5.4-68.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================
Package Arch Version Repository Size
===========================================================================
Installing:
samba i686 3.5.4-68.el6 Server 5.0 M
samba-winbind i686 3.5.4-68.el6 Server 3.5 M

Transaction Summary
===========================================================================
Install 2 Package(s)
Upgrade 0 Package(s)

Total download size: 8.5 M
Installed size: 30 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): samba-3.5.4-68.el6.i686.rpm | 5.0 MB 00:00
(2/2): samba-winbind-3.5.4-68.el6.i686.rpm | 3.5 MB 00:00
--------------------------------------------------------------------------------
Total 6.4 MB/s | 8.5 MB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : samba-winbind-3.5.4-68.el6.i686 1/2
Installing : samba-3.5.4-68.el6.i686 2/2

Installed:
samba.i686 0:3.5.4-68.el6 samba-winbind.i686 0:3.5.4-68.el6
Complete!
[root@server1 ~]#vi /etc/samba/smb.conf
:se nu
Line No. 74
workgroup = MYGROUP

change this line as follow
workgroup = workgroup

Line No. 289
Add this lines
[Kavi]
comment = sam ram
path = /kavi
public = yes
writable = yes
printable =no


:wq!
[root@server1 ~]# useradd u1
[root@server1 ~]# passwd u1
Changing password for user u1.
New password: * * * * * (u1)
BAD PASSWORD: it is WAY too short
BAD PASSWORD: is too simple
Retype new password: * * * * *(u1)
passwd: all authentication tokens updated successfully.


Adding normal user has samba user.
[root@server1 ~]# smbpasswd  -a u1
New SMB password:* * * * * (u1@123)
Retype new SMB password:* * * * *(u1@123)
Added user u1.

enabling u1 user has samba user.
[root@server1 ~]# smbpasswd  -e u1
[root@server1 ~]# servicesmb restart
Shutting down SMB services: [ FAILED ]
Starting SMB services: [ OK ]
[root@server1 ~]#chkconfig--level 35 smb on

1.Configurations Samba Client (on windows).
Go to Start-Run-\\200.0.0.1\
type username and password
username - u1
password - *****(u1@123)

Now your are able to access kavi directory and files from it & user u1 home directory as well.

2. Configurations Samba Server without sharing samba user’s home directory.
To hide home directory of Samba User
[root@server1 ~]#vi /etc/samba/smb.conf
:se nu

Line No . 248
[homes]
comment = Home Directories
browesable = no
; valid users = %S
; valid users = MYDOMAIN\%S

Modify this line as follow
;[homes]
; comment = Home Directories
; browesable = no
; valid users = %S
; valid users = MYDOMAIN\%S


:wq!
[root@server1 ~]# servicesmb restart
Shutting down SMB services: [ OK ]
Starting SMB services: [ OK ]

2.Configurations Samba Client (on windows).



Go to Start-Run-\\200.0.0.1\
type username and password
username - u1
password - *****

Now your are able to see user’s home directory of user u1.

35 comments:

  1. Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful or happy. See the link below for more info.

    #without
    www.mocsbar.com

    ReplyDelete
  2. If you would like to get a good deal from this article then you have to apply such methods to your won website.
    healthetarians.com |

    ReplyDelete
  3. I just read your blog and get the information which searching everywhere. Now it’s become on my top preference of reading for acquiring the updates without hassle.
    www.travelwestours.com |

    ReplyDelete
  4. This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article.
    technews404.com |

    ReplyDelete
  5. This is very interesting news website running 24 hours a day to keep their viewer updated all the time. 
    ahome4hope.com |

    ReplyDelete
  6. Thanks for the information! Now I know what i will do the next time i travel. Looking forward to go to Thailand later this year! Thanks for some pointers!
    http://www.auto-sprzedam.com |

    ReplyDelete
  7. Hello, i am glad to read the whole content of this blog and am very excited and happy to say that the webmaster has done a very good job here to put all the information content and information at one place.
    autodetailersplus |

    ReplyDelete
  8. Thanks for taking the time to discuss this, I feel about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
    studentsfirstmi.com |

    ReplyDelete

  9. I enjoy reading your articles. You really have a wonderful blogs. Keep up the good work. Thank you also for the information!

    Cara
    www.gofastek.com

    ReplyDelete
  10. Love it! Very interesting topics, I hope the incoming comments and suggestion are equally positive. Thank you for sharing this information that is actually helpful.


    ufgop.org
    ufgop.org

    ReplyDelete
  11. I just read your blog and get the information which searching everywhere. Now it’s become on my top preference of reading for acquiring the updates without hassle.
    http://www.hometaxinfo.com |

    ReplyDelete
  12. Hello, I enjoy reading all of your post. I wanted to write a little comment to support you.
    Real Exterior |

    ReplyDelete
  13. Great! Thanks for sharing the information. That is very helpful for increasing my knowledge in this field.
    pacman |happy wheels |my little pony games | unblocked games
    friv4 kizi 4| unblockedgames

    ReplyDelete
  14. You have a real ability for writing unique content. I like how you think and the way you represent your views in this article. I agree with your way of thinking. Thank you for sharing.
    unblocked games| unblocked games at school| unblocked games| friv4school| friv for school| tetris unblocked| friv games| frivgames| barbie games| barbiegames| monster high games| kizi2| kizi 2| happy wheels unblocked

    ReplyDelete
  15. Thank you very much for your post, it makes us have more and more discs in our life, So kind for you, I also hope you will make more and more excellent post and let’s more and more talk, thank you very much, dear.
    unblocked games| unblockedgames| unblocked games at school| unblocked games for kids
    friv| friv4school| friv 4 school| monster high games| monster high| monster high drees up
    happy wheels| happywheels| happy wheels demo| happy wheels unblocked| happy wheels hacked
    shooting games| shooting| tetris| tetris unblocked| tetris game| tetris online

    ReplyDelete
  16. I really enjoyed reading your article. I found this as an informative and interesting post, so i think it is very useful and knowledgeable. I would like to thank you for the effort you have made in writing this article.


    edupdf.org

    ReplyDelete
  17. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.

    Discover our website bounty of free online games now!
    Our website has the biggest collection of free online games. Totally new games are added every day!

    age of war 2| gold Miner 2| unfair Mario 2 | cubefield 2 |tanki Online 2

    ReplyDelete
  18. The blog or and best that is extremely useful to keep I can share the ideas. Age Of War 2
    Big Farm | Slitherio | Tank Trouble
    Of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
    Happy Wheels | Goodgeme Empire | Slither.io


    ReplyDelete

  19. شركة نقل عفش بالدمام الشرق الاوسط متحصصه فى نقل عفش واثاث بالدمام ونقل العفش بالخبر كما انها توفر شركة نقل عفش بالجبيل والخبر وشركة نقل عفش بالقطيف والاحساء وجميع خدمات نقل العفش والاثاث بالمنطقة الشرقية بارخص اسعار نقل عفش بالدمام وتقدم ايضا شركة تخزين عفش بالدمام والخبر
    نقل عفش بالدمام
    شركة نقل اثاث بالدمام
    شركة نقل اثاث بالخبر
    شركة نقل اثاث بالجبيل
    شركة نقل عفش بالخبر
    شركة نقل عفش بالقطيف
    شركة نقل اثاث بالاحساء

    ReplyDelete

  20. شركة تنظيف خزانات بالمدينة المنورة وشقق بالمدينة المنورة شركة غسيل خزانات ومكافحة حشرات بالمدينة المنورة ونقل عفش بالمدينة المنورة مؤسسة صفوة المدينة
    شركة تنظيف خزانات بالمدينة المنورة
    شركة مكافحة حشرات بالمدينة المنورة مؤسسة صفوة المدينة انها الاولى فى مكافحة ورش الحشرات بالمدينة المنورة رش البق رش الصراصير مكافحة النمل الابيض بالمدينة المنورة
    شركة مكافحة حشرات بالمدينة المنورة

    ReplyDelete
  21. Not all are true. Everyone has their own way of thinking but I think they have to reconsider. I like to argue for the most accurate results.
    fivenightsatfreddysplay.com

    ReplyDelete

Note:- Comment as: Option available to post without login select "Anonymous" from the drop down...........

For Latest Updates: Subscribe Now | | Test Your Knowledge, Take a Quiz now Click Here | | Site Best Viewed In Firefox

X