Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Col. Newman's Avatar
    Join Date
    Nov 2006
    Omaha, Nebraska

    Microsoft Networking Protocols on Linux?

    Microsoft Networking Protocols on Linux? Is it possible to network my Kubuntu 6.10 box with the rest of my network?

  2. #2
    Linux Newbie framp's Avatar
    Join Date
    Jul 2006
    Stuttgart, Germany
    What MS network protocols are you interested in? I suspect you want to exchange files between Linux and MS.

    Linux -> MS file access: Use smbclient or the smb protocol in konqueror
    MS -> Linux file access: Install and configure samba on the Linux box, then use the standard MS way to access the files
    "Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds

  3. #3
    Linux Enthusiast KenJackson's Avatar
    Join Date
    Jun 2006
    Maryland, USA

    Mandriva Linux puts the samba suite in several separate packages, the main ones being samba-common, samba-client and samba-server. Ubuntu probably does something similar.

    Samba allows you to mount a Windows share as a network disk and offer any directory as a share for Windows machines to connect to in the normal way, network neighborhood or network places or whatever MS calls it.

    You can even setup a Linux machine as a domain server for Windows machines to connect to.

    You can see more at the Samba website.

  4. $spacer_open
  5. #4
    Hi guys: heres the meat


    Files shared with CIFS gives top-to-bottom security restrictions typical of windows security paradigm. Xnix provide bottom-to-top security model. In order to get best of both worlds, we decided to go for samba as windows CIFS interface while implementing unix permissions.

    Samba implementation:
    1- install samba rpm using, rpm -ivh samba-x.rpm
    2- Share the directories with

    # workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = operations-2
    server string = Samba Server

    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431
    template shell = /bin/false
    password server = None
    username map = /etc/samba/smbusers
    winbind use default domain = no
    comment = Home Directories
    browseable = no
    writeable = yes
    Path = {/Path/to/folder}
    writable = {yes/no} #readonly or read/write access
    create mask = 0xxx # assing umask for samba users

    3- create group used to provide group level access:
    groupadd operations

    4- Create Linux users to be mapped to virtual windows users
    useradd -g operations xxx -M -s /sbin/nologin

    5- Samba virtual users mapped to linux users
    root = administrator admin
    azfar = azfar.hussain

    6- Turn the stick bit on the shared folder:
    chmod u+s /folder/to/be/shared

    7- now you are read to roll:
    service smb start

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts