You are not logged in.
I started Samba the other day, but even though the daemon was running, no clients could connect to it...
Luckily, the log gave me the answer:
smbd[1238]: [2012/06/25 22:08:02.689949, 0] passdb/secrets.c:76(secrets_init)
smbd[1238]: Failed to open /etc/samba/private/secrets.tdb
smbd[1239]: [2012/06/25 22:08:02.691355, 0] passdb/secrets.c:76(secrets_init)
smbd[1239]: Failed to open /etc/samba/private/secrets.tdb
smbd[1239]: [2012/06/25 22:08:02.691430, 0] smbd/server.c:1169(main)
smbd[1239]: ERROR: smbd can not open secrets.tdb
However, a simple ls -l on /etc/samba/private/secrets.tdb shows
-rw-r--r-- 1 root root passdb.tdb
-rw-r--r-- 1 root root secrets.tdb
So it can read the files... what's going on here?
Edit: I found the problem: apparently, Samba not only needs to be able to read the file, but also write to them. Since I was on a read-only rootfs, symlinking these to /var/lib/samba solved my problem.
Last edited by DeatzoSeol (2012-06-26 19:48:17)
Offline