Hello all,
I was working on some scripts (backups, etc) when I certainly make a big mistake somewhere, because now samba is down ... To be more precise the service start without any error and all the others works good (minidlna, sshd, lighttpd)
I saw no change in my smb.conf, but I can't connect, tested with some Windows and Linux
With Linux:
smbclient -L //
192.168.0.250/Volume_1 -U fred
Enter fred's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.21]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
DNS 323 logs
[2013/07/25 12:38:20.185709, 0] smbd/service.c:1002(make_connection_snum)
canonicalize_connect_path failed for service IPC$, path /tmp
I saw that this kind of problem could be with right/profile, the rights seems good, 777 to /mnt and /mnt/sda2
# more /root/.profile
export TERM=linux
export HOME=/root
alias his="cat ~/.ash_history | grep "
alias l="ls -l"
stty stop ^Q
resize
[Global]
workgroup = workgroup
server string = Nostromo
security = user
encrypt passwords = yes
passdb backend = smbpasswd
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
enable core files = no
syslog only = yes
# additions to 'hosts allow' at the line end, space separated!
socket options = IPTOS_LOWDELAY TCP_NODELAY
printcap name = /dev/null
load printers = no
printing = bsd
[partage]
comment = Nostromo_partage
path = /mnt/sda2/partage
valid users = guest
available = yes
read only = no
inherit permissions = yes
[Volume_1]
comment = Nostromo_sda
path = /mnt/sda2
valid users = fred
available = yes
read only = no
inherit permissions = yes
I tried to install the samba package without success, I don't know what to think ...
If someone has a idea please tell me, it's a very annoying problem
Thank