[Samba] ?The network name cannot be found?

felipe at neuwald.biz felipe at neuwald.biz
Thu Sep 1 17:43:43 GMT 2005


Hi,

I'm running samba-3.0.14a_1,1 under FreeBSD 5.4-STABLE. I migrated all my data
from samba 2 to samba 3, and I'm having a problem with some users.

For example, user john can login perfectly to the network. It´s ok. But user
smith not, him get the error ?The network name cannot be found?. But all
configurations of john and smith are the same. I found this on Samba Official
Hanbook:

?The network name cannot be found?
This error can be caused by one of these misconfigurations:

You specified a nonexisting path for the share in smb.conf.

The user you are trying to access the share with does not have sufficient
permissions to access the path for the share. Both read (r) and access (x)
should be possible.

The share you are trying to access does not exist.


But everything is ok and I still getting this erros. Take a look for this
comparations between john and smith:

su-2.05b# ls -laF /data | grep john
drwx------   2 john     john      512 Sep  1 11:57 john/
su-2.05b# ls -laF /data | grep valdinei
drwx------   2 smith    smith     512 Sep  1 14:25 smith/

su-2.05b# ls -laF /data/PROFILES/ | grep john
drwx------   3 john     john      512 Sep  1 14:28 john/
su-2.05b# ls -laF /data/PROFILES/ | grep smith
drwx------   2 smith    smith     512 Sep  1 14:25 smith/

Does anybody knows what does it could be?

Take a look at my smb.conf:

[global]
        netbios name = SERVER
        workgroup = ASD
        server string = MY FILESERVER
        passdb backend = smbpasswd
        os level = 255
        preferred master = yes
        domain master = yes
        local master = yes
        security = user
        domain logons = yes
        logon path = \\%N\profiles\%U
        logon drive = H:
        logon home = \\homeserver\%U\winprofile
        admin users = john
        time server = yes
        logon script = %u.bat
[netlogon]
        path = /data/NETLOGON
        writable = no
        browseable = no
[profiles]
        path = /data/PROFILES
        browseable = no
        writable = yes
        create mask = 0660
        directory mask = 0770
[homes]
        read only = no
        browseable = no
        guest ok = no
        map archive = yes
[fullaccess]
        comment = Full Access
        writable = yes
        path = /data/SHARE/fullaccess
        create mode = 0666
        force create mode = 0666
        directory mode = 0777
        force directory mode = 0777
[one]
        comment = one
        writable = yes
        valid users = @one
        path = /data/SHARE/one
        create mode = 0660
        force create mode = 0660
        directory mode = 0770
        force directory mode = 0770
[two]
        comment = two
        writable = yes
        valid users = @two
        path = /data/SHARE/two
        create mode = 0660
        force create mode = 0660
        directory mode = 0770
        force directory mode = 0770

Thank u,

Felipe.





More information about the samba mailing list