I keep getting the following error after upgrading Samba to 3.0.23 using slackpkg in -current:
"tree connect failed: NT_STATUS_BAD_NETWORK_NAME"
Code:
smbclient -L hostname :gave the error
smbclient //hostname/username :connected (home directory)
smbclient //share/music :gave the error
smbclient //share/movies :gave the error
smbclient //share/pub :gave the error
After some reading in the nonexistent error code section of the samba documentation and various mail lists, I determined that it probably had something to do with permissions on the music, movies, and pub folders. Of course due to the stellar non-documentation regarding this error, I'm still in the dark as to what the exact permissions should be. Here's what they are now:
Code:
drwxr-xr-x 14 username users 4096 2006-06-18 21:01 movies
drwxr-xr-x 43 username users 4096 2006-06-21 01:37 music
Code:
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
log file = /var/log/samba.%m
max log size = 50
server signing = auto
preferred master = No
domain master = No
dns proxy = No
ldap ssl = no
read only = No
hosts allow = 192.168.1., 127.
case sensitive = No
msdfs proxy = no
[homes]
comment = Home Directories
browseable = No
[music]
path = /share/music
[movies]
path = /share/movies
[pub]
path = /share/pub
Please note that this worked flawlessly in 3.0.22. I really don't have time to experiment very long with a non-working Samba server, so for now I've gone back to 3.0.22 and samba is now in the blacklist for slackpkg.