Hi,

I cannot connect from W7 on my server Samba 3.4.7 on ubuntu 10.04.

I have tested the share on an other Linux machine, it is working fine.
The command to test is :
  smbclient  -U me //ipserver/me,

On windows 7
I am logged as "me", with the samba password
When I create a network drive (Z: connected to //ipserver/me), it says that it
cannot connect. Acces denied, but the icon become green (not red crossed).

But, surprisingly, in a console (cmd.exe), I can access to the content of Z: , read, write, creating directory, ...


I have made many changes in smb.conf without any result.
Tested in an other windows 7 : same error.

The directory has access only for the user.
If I give access to the group, I can acces tot it by the network drive .


Any idea ? Of course I cannot update Samba to 3.6, because it needs to upgrade all the system, and I cannot stop the server for several hours.

Thank you,

Francis


My configuration (The problem is with [homes], the others shares are working well) :

/etc/samba/smb.conf

[global]
        log level = 3
        workgroup = MYWORKGROUP
        netbios name = GARGANTUA
        public = Yes
        server string = serveur %h (Samba %v, Ubuntu)
        encrypt passwords = Yes
        passdb backend = tdbsam
        log file = /var/log/samba/log.%m
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        domain logons = Yes
        time server = Yes
        os level = 255
        preferred master = Yes
        domain master = Yes
        local master = Yes
        security = user
        logon drive = V:
        logon script = STARTUP.BAT
        logon path =
        dns proxy = No
        wins support = No
        dos charset = 850
        oplocks = no
        level2 oplocks = no
        kernel oplocks = no
        lock directory = /var/lock/samba
        locking = Yes
        strict locking = no
        posix locking = No
[echanges]
        comment = Repertoire d'echanges
        path = /home/echanges
        writeable = Yes
        read only = No
        create mask = 0666
        directory mask = 0777
        inherit permissions = Yes
        guest ok = No
        follow symlinks = Yes
        browsable = Yes

[logiciels]
        comment = Applications
        path = /home/logiciels
        writeable = Yes
        browseable = Yes
        create mask = 0644
        directory mask = 0755
        inherit permissions = Yes
        guest ok = No
        follow symlinks = no

[publis]
        comment = Publications
        path = /home/publis
        writeable = Yes
        browseable = Yes
        create mask = 0644
        directory mask = 0755
        inherit permissions = Yes
        guest ok = No
        follow symlinks = no


[homes]
        comment = Repertoire personnel
        browseable = No
        writeable = Yes
        read only = No
        preserve case = Yes
        short preserve case = Yes
        create mask = 0644
        directory mask = 0755
        inherit permissions = Yes
        guest ok = No
        path = /home/users/%S
        follow symlinks = No


testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[echanges]"
Processing section "[logiciels]"
Processing section "[publis]"
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

[global]
    dos charset = 850
    unix charset = ISO8859-1
    workgroup = LIVIC
    server string = serveur %h (Samba %v, Ubuntu)
    log level = 3
    log file = /var/log/samba/log.%m
    time server = Yes
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    logon script = STARTUP.BAT
    logon path =
    logon drive = V:
    domain logons = Yes
    os level = 255
    preferred master = Yes
    domain master = Yes
    dns proxy = No
    kernel oplocks = No
    lock directory = /var/lock/samba
    guest ok = Yes
    oplocks = No
    level2 oplocks = No
    posix locking = No
    strict locking = No

[echanges]
    comment = Repertoire d'echanges
    path = /home/echanges
    read only = No
    create mask = 0666
    directory mask = 0777
    inherit permissions = Yes
    guest ok = No

[logiciels]
    comment = Applications
    path = /home/logiciels
    read only = No
    create mask = 0644
    inherit permissions = Yes
    guest ok = No
    follow symlinks = No

[publis]
    comment = Publications
    path = /home/publis
    read only = No
    create mask = 0644
    inherit permissions = Yes
    guest ok = No
    follow symlinks = No

[homes]
    comment = Repertoire personnel
    path = /home/users/%S
    read only = No
    create mask = 0644
    inherit permissions = Yes
    guest ok = No
    browseable = No
    browsable = No
    follow symlinks = No


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to