Find the answer to your Linux question:
Results 1 to 6 of 6
I'm having samba problems. From Windows XP, I am able connect to samba. However, i can't connect to anything from SUSE. I'm on openSUSE 10.2 The firewall is setup to ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11

    F-ing Samba

    I'm having samba problems.

    From Windows XP, I am able connect to samba. However, i can't connect to anything from SUSE.

    I'm on openSUSE 10.2

    The firewall is setup to allow the samba server

    And samba is configured with the following:

    /etc/samba/smb.conf

    # Samba config file created using SWAT
    # from 127.0.0.1 (127.0.0.1)
    # Date: 2007/07/15 21:40:53

    [global]
    workgroup = MSHOME
    netbios name = INOTE
    server string =
    security = SHARE
    map to guest = Bad User
    printcap name = cups
    add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
    logon path = \\%L\profiles\.msprofile
    logon drive = P:
    logon home = \\%L\%U\.9xprofile
    local master = No
    domain master = No
    idmap uid = 10000-20000
    idmap gid = 10000-20000
    hosts allow = 192.168.0.0/255/255/255.0, 127.0.0.1
    usershare allow guests = Yes
    hosts deny = ALL
    printing = cups
    cups options = raw
    print command =
    lpq command = %p
    lprm command =
    include = /etc/samba/dhcp.conf


    Any ideas?

    Thanks

  2. #2
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397

    Cool

    Hey,
    Have you configured your samba user? Does your smb.conf is configured for MyShare. Just check the last part in smb.conf file it should be
    [MyShare]
    comment = example
    path = /home/samba/example
    writable = yes
    public = yes
    guest ok = yes
    browseable = yes
    hosts allow = 192.168.0.0/255/255/255.0, 127.0.0.1

    Restart your samba service.
    #smbmount //u.r.i.p/sharedfolder/ /mnt/test/ -o username=Administrator,password=uradminpassword

    Where shared folder is of your windows machine and windows Administrator users login details. Ya n you need to create your /mnt/test directory too, to mount shared directory.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11
    I have the following samba users. Sorry, I didnt think that the user info was important.

    [users]
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    guest ok = Yes
    veto files = /aquota.user/groups/shares/

    [printers]
    comment = All Printers
    path = /var/tmp
    create mask = 0600
    printable = Yes
    browseable = No

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin, root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775


    I'm not exactly sure what you mean by creating /mnt/test
    Is this a directory that Windows is sharing? Because I already have a shared directory that is visible from other windows machines.

    The thing is that my Windows computers can see the samba user named “users” and the printers. But from Linux, I cant connect to samba at all. When I go to smb://mshome I get the following error:

    Could not connect to host for smb://mshome

    (Note: this is my first time configuring samba, so sorry if my questions sound noobish)

  4. #4
    Just Joined!
    Join Date
    Jul 2007
    Posts
    11
    I've figured it out



    Thanks for you help

    smb://workgroup doesn't work.

    It has to be smb://IP-address/Shared_Doc

  5. #5
    Linux Newbie
    Join Date
    May 2006
    Location
    Kansas
    Posts
    187
    If you get your DNS stuff setup correctly, you can use the hostname of the boxes instead of the IP addresses.

  6. #6
    Just Joined!
    Join Date
    Jun 2005
    Posts
    27
    Quote Originally Posted by kahoona View Post
    If you get your DNS stuff setup correctly, you can use the hostname of the boxes instead of the IP addresses.
    What are you supposed to do to get your DNS setup "correctly"? I had no problem with whatever the default settings were in Suse 9.3 and 10.1 suddenly in 10.2

    also please don't send me looking into log files without providing some kind of a clue as to what I'm after
    http://www.linuxforums.org/forum/sus...amba-woes.html
    thanks

Posting Permissions

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