anybody know samba?

Discussion in 'Site & Server Administration' started by FlakDevelopment, Aug 7, 2008.

  1. #1
    would use some help, im trying to set up smb to accept all connections from everywhere without password, to a /var/www/ directory, with all permissions.

    followed the tutorials, played with the config... but smth is wrong. XP prompts for un/pwd, then rejects, even when supplied admin/root/guest/existing user with the right pwd.

    here's what i have atm:

    [root@localhost samba]# cat smb.conf
    workgroup = Workgroup
    netbios name = Linux
    encrypt passwords = yes

    [homes]
    read only = no
    browseable = yes

    [www]
    path = /var/www
    read only = no
    public = yes
    guest ok = yes
    browseable = yes

    (NW its a dummy dev box on lan only)
     
    FlakDevelopment, Aug 7, 2008 IP
  2. FlakDevelopment

    FlakDevelopment Banned

    Messages:
    164
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PS i can connect with smbclient and username / pwd and it works okay. just from the win boxes won't work :(
     
    FlakDevelopment, Aug 7, 2008 IP
  3. FlakDevelopment

    FlakDevelopment Banned

    Messages:
    164
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    nvm done. set security to share, directory as public and writeable and it worked.

    since it was a lot of bull around this issue heres my config:

    [global]
    server string = Linux
    workgroup = Workgroup
    netbios name = Linux
    encrypt passwords = no
    interfaces = eth0
    hosts allow = 192.168.0.0/24
    debug level = 10
    security = share

    [www]
    comment = wwwroot
    path = /var/www
    read only = no
    public = yes
    guest ok = yes
    browseable = yes


    sorry if by posting that i'm breaking the tradition of never posting successful solutions to a problem.
     
    FlakDevelopment, Aug 7, 2008 IP