Find the answer to your Linux question:
Results 1 to 4 of 4
I'm VERY new to SUSE LINUX. I have installed SUSE 10 SLES version on a server box. I want to connect XP and W2K stations to this server simply to ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    2

    Question can't connect xp desktop to Suse 10 server

    I'm VERY new to SUSE LINUX. I have installed SUSE 10 SLES version on a
    server box.
    I want to connect XP and W2K stations to this server simply to give them
    file storeage.
    I can ping the server from the xp workstation but I can not login.
    I'm sure I've missed some steps.
    Aside from the basic install of the SUSE server, what have I NOT done?
    I believe I've started SAMBA on the server?

    HELP!! HA
    Thanks
    G.B.

  2. #2
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    If you do have samba already running, you need to open the firewall so that external servers can access it. I think you can enable it like this:

    YaST --> Security --> Firewall --> Allowed Services --> Choose samba server in the drop down list --> Enable --> Accept

    I did that from memory so it may be a little off. You also need to setup your smb.conf file to setup the shares. Lastly, you need to use smbpasswd to create user IDs for your windows machines to use to authenticate. I setup my smb password file to use the same user ID and password that I use to authenticate on my Windows AD domain so I'm not prompted for a password.

    There may be a way to create a share without needing a user/pass, but I have never done that as I don't want anyone but me putting stuff out there.

  3. #3
    Just Joined!
    Join Date
    Mar 2007
    Posts
    2

    windows access to linux/samba

    Thanks for the info. I'll check it out. Sorry for the late reply, I was
    on vacation and didn't look the postings!

  4. #4
    Just Joined! siliconheart's Avatar
    Join Date
    May 2006
    Posts
    14
    Hi guys: heres the meat


    SAMBA FILE SERVER FOR FINE GRAIN USER ACCESS

    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
    [global]

    # 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
    [homes]
    comment = Home Directories
    browseable = no
    writeable = yes
    [SambaShare]
    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
  •  
...