Samba is Up but still having file sharing prob!
Results 1 to 4 of 4

Thread: Samba is Up but still having file sharing prob!

  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    92

    Samba is Up but still having file sharing prob!

    Goodday!
    I am using RH9 and my Samba is Up and working,
    My WIN2000 can access the RH9 CDDROM shares now.

    But there is one problem.
    I tried to put my Root folder from RH9 to share .
    I used my win 2000 to access the folder , using "My Network Place."
    i get a message " \\Localhost\root is not accessible. The netwoek name cannot be found"

    But the strange is that i can access RH9 CDROM folder from WINDOWS!

    i wonder if my Samba setting is set right!
    But my CDROM settings from Samba is exactly the same as ROOT settings.
    The Samba settings is displayed below.

    Base Options:
    path: /root

    Security Options:
    guest account :nobody
    read only:Yes
    guest ok: No

    Browse Options
    Browseble :Yes

    Miscellaneous Options
    Available: Yes
    Will to Learn
    javascript:myimagepopup(300,400,\'\')

  2. #2
    Could you post the entire smb.conf file? It may help to see both the CDROM and /root onfis together. It could be as simple as the wrong punctuation in the wrong place. Also, I am assuming that the Linux system is a separate system from the 2000 box. (Don't laugh, he could be running VMware.) Since it is a different system, why would it come up as localhost in your query? Should it not be the IP address or host name of the linux box? Unless you replaed your hostname for localhost for the purposes of posting.

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    92

    Please Help!

    Originally posted here by Infiltrator
    Could you post the entire smb.conf file? It may help to see both the CDROM and /root onfis together. It could be as simple as the wrong punctuation in the wrong place. Also, I am assuming that the Linux system is a separate system from the 2000 box. (Don't laugh, he could be running VMware.) Since it is a different system, why would it come up as localhost in your query? Should it not be the IP address or host name of the linux box? Unless you replaed your hostname for localhost for the purposes of posting.
    Oops sorry for that!

    Here is my samba.conf file. Please Help!

    # Samba config file created using SWAT
    # from localhost.localdomain (127.0.0.1)
    # Date: 2000/04/30 15:56:56

    # Global parameters
    [global]
    server string = Samba Server
    encrypt passwords = Yes
    obey pam restrictions = Yes
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
    unix password sync = Yes
    log file = /var/log/samba/%m.log
    max log size = 0
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    dns proxy = No
    printing = cups

    [homes]
    comment = Home Directories
    valid users = %S
    read only = No
    create mask = 0664
    directory mask = 0775
    browseable = No

    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

    [cdrom]
    comment = Share CDROM
    path = /mnt/cdrom

    [windows]
    comment = Windows File
    path = \\10.0.0.13\mnt

    [root]
    comment = root
    path = \10.0.0.13\root
    guest account = novkhan

    Tried \\10.0.0.13\...
    //10.0.0.13/......
    all sorts of way but in vain!

    Onli able to share CDROM!
    strange huh!.....
    Will to Learn
    javascript:myimagepopup(300,400,\'\')

  4. #4
    AO übergeek phishphreek's Avatar
    Join Date
    Jan 2002
    Posts
    4,325
    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No

    [cdrom]
    comment = Share CDROM
    path = /mnt/cdrom

    [windows]
    comment = Windows File
    path = \\10.0.0.13\mnt

    [root]
    comment = root
    path = \10.0.0.13\root
    guest account = novkhan

    See the differences between them all?

    Try this:

    [root]
    comment= roots drive
    path = /root
    guest account = no
    valid users = novkhan root
    browseable = No
    writable = no
    write list = novkhan root
    browsable = no
    That will make you share the home's root which the path is /root
    guest access will be denied and you won't be able to see that share in network browser
    the only users that can access it will be root and novkhan

    Also, did you add the user novkhan to samba?

    #smbuser -a novkhan
    create password

    This is all from memory... so I may have gotten some syntax incorrect.
    Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.

Posting Permissions

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