Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 25
and one more noobish thing, mind to paste us the result of the following command? Code: ls -ald /website...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux User
    Join Date
    Feb 2005
    Posts
    290

    and one more noobish thing, mind to paste us the result of the following command?

    Code:
    ls -ald /website

  2. #12
    Linux Newbie
    Join Date
    Apr 2005
    Location
    CT --> PA
    Posts
    170
    one more noobish thing for you...make "testparm -s smb.confyourstockfilehere > smb.conf" your friend.

    What you have essentially posted is the default smb.conf file for samba, complete with all the notes and commented out areas.

    do some lookin at the man pages for testparm and find out exactly what it does, it would drop that mess you posted down to like 10 lines, succint, accurate and very easy to parse.

    plus, it catches problems before they become problems.
    Chicks dig giant mechanized war machines

  3. #13
    Linux Newbie
    Join Date
    Apr 2005
    Location
    CT --> PA
    Posts
    170
    Quote Originally Posted by adam7979
    looks good, but i felt very uneasy about this:
    guest account = root
    :shudder:
    Chicks dig giant mechanized war machines

  4. #14
    Just Joined!
    Join Date
    Jun 2005
    Posts
    84
    ok the response I got for the command ls -ald /Network is

    drwsrwsrwt 2 Jesse Jesse 4096 Aug 17 21:26 /Network

    and the response I got for the command ls -ald /website is

    drwsrwsrwt 21 Jesse Jesse 4096 Aug 7 17:50 /website


    I was able to create a file in both directories using the echo "hello" > temp.txt

    still isn't working...please continue helping....I really appriciate it

  5. #15
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,846
    OK, so is this stuff browseable? Can you list the directories from the windows machine and just not write to them?

    By default, windows SMB filesystem uses encoded passwords over the network, and if you're not using 'encrypt passwords=yes' in your smb.conf file, then you have to turn on plain text passwords in each windows machine's registry.

    If your windows clients are all XP and/or windows 2000, you just do a search for keys in the registry called 'EnablePlainTextPassword', set the value of all of them to 1 (there are usually at least two) then reboot the windows machine.
    Linux user #126863 - see http://linuxcounter.net/

  6. #16
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,846
    Once plain text passwords are on, you could try changing the settings to something like this:

    [website]
    path = /website
    public = yes
    guest ok = yes
    writeable = yes
    browseable = yes
    force create mode = 0755
    force directory mode = 0755
    force group = Jesse
    force user = Jesse

    [Network]
    path = /Network
    public = yes
    guest ok = yes
    writeable = yes
    browseable = yes
    force create mode = 0755
    force directory mode = 0755
    force group = Jesse
    force user = Jesse
    Linux user #126863 - see http://linuxcounter.net/

  7. #17
    Just Joined!
    Join Date
    Jun 2005
    Posts
    84
    I don't want to require passwords to be used though

    but yes I can browse the shares but I can not write to them

  8. #18
    Linux User
    Join Date
    Feb 2005
    Posts
    290
    all right, i dumped (copy and paste) the following into my testing server (centos 4.1 with Samba version 3.0.10-1.4E) and everything works....

    last thing i could think of is firewall or something.... run "service iptables stop" from your linux command prompt and try again, else, beat me.....

  9. #19
    Just Joined!
    Join Date
    Jun 2005
    Posts
    84
    would you paste your script on here so I can compare it?...also how do I find out what version of samba that I am running?

  10. #20
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,846
    Quote Originally Posted by boiseneon
    I don't want to require passwords to be used though

    but yes I can browse the shares but I can not write to them
    The SMB filesystem requires them, changing to plain text passwords only modifies the way the passwords are supplied.
    Linux user #126863 - see http://linuxcounter.net/

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

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