Sampabroblemer på 7.3
Jeg har installeret en frisk 7.3 på min gamle stabile server.Dt har bare vist sig at det driller mig umådeligt at få Samba til at virke.
min smb.conf se sådan ud: (skrabet helt ned)
[global]
netbios name = ALBERT
workgroup = NORTHERNBRONX
security = user
encrypt passwords = Yes
[public]
path = /tmp
read only = No
Mine IPCHAINS ser således ud
[root@localhost samba]# /etc/init.d/ipchains status
Chain input (policy ACCEPT):
target prot opt source destination ports
ACCEPT tcp -y---- 0.0.0.0/0 0.0.0.0/0 * -> 24
ACCEPT tcp -y---- 0.0.0.0/0 0.0.0.0/0 * -> 22
ACCEPT tcp -y---- 0.0.0.0/0 0.0.0.0/0 * -> 80
ACCEPT tcp -y---- 0.0.0.0/0 0.0.0.0/0 * -> 21
ACCEPT all ------ 0.0.0.0/0 0.0.0.0/0 n/a
ACCEPT udp ------ 193.162.159.194 0.0.0.0/0 53 -> *
ACCEPT udp ------ 193.162.145.130 0.0.0.0/0 53 -> *
REJECT tcp -y---- 0.0.0.0/0 0.0.0.0/0 * -> *
REJECT udp ------ 0.0.0.0/0 0.0.0.0/0 * -> *
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):
de to deamons kører
[root@localhost samba]# ps -ef |grep mbd
root 1148 1 0 13:25 ? 00:00:00 smbd -D
root 1153 1 0 13:25 ? 00:00:00 nmbd -D
Problemet består i at maskinen kan ses af windowsmaskinerne, men den kan ikke åbnes.
Et hint imod fejlen jeg fik var flg.
[root@localhost samba]# smbclient -L SYLVIA -N
added interface ip=192.168.1.16 bcast=192.168.1.255 nmask=255.255.255.0
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
tdb((null)): tdb_open_ex: could not open file /var/cache/samba/unexpected.tdb: No such file or directory
Connection to SYLVIA failed
[root@localhost samba]#
Filen unexpected.tbd eksisterer ikke, men det hjælper ikke en disse hvis jeg opretter den.
Hvad kan der være galt?
