You are not logged in.

#1 2010-01-20 17:07:25

olegchir
Member
From: Russian Federation,Novosibirsk
Registered: 2010-01-18
Posts: 7
Website

Samba is not working

I installed Arch and Samba, and it's just not working.
I changed a lot of configs, and downgraded as far as possible, but with no success.

Two most frequently cases:
1) After sending password it waits forever (actually, timeout is 20 sec)
2) After sending password reply is NT_LOGON_FAILURE

Played with downgrading to smbpasswd backend — nothing. Anyway, Im going to use LDAP, so smbpasswd is useless (even it works)

Default config from /etc/samba/smb.conf.default (with uncommented [tmp] share) is not working too.

Initially I created video with complete installation process, but then decided that posting it is useless. Just follow this steps to reproduce error:

1) Install arch from CD
2) Change /etc/hosts.allow to ALL:ALL
3) Copy pacman cache with vsftpd if you have it, change ChacheDir in pacman conf
4) pacman -Syu
5) Install yaourt, packer, and then packer -S vim-git, packer -S mc-git.
Why? I noticed that vi from initial distrib is very.... strange, and I cannot force Midnight Commander (from Extra) to start at all.

5) pacman -S samba
6) apply any samba config ( smile )
7) run /etc/rc.d/fam and /etc/rc.d/samba
8) adduser testuser with home and bash
9) smbpasswd -a testuser and smbpasswd -e testuser

10) smbclient -L localhost -U testuser  or smbclient -L 127.0.0.1 -U testuser
11) get a bunch of strange errors in /var/log/smbd.log and on the screen

I checked every mailing list and faq I can find, created about 20 snapshots of different configurations in VMWare...

Maybe you have working smb.conf, or can explain whats going on?
TIA ))

Last edited by olegchir (2010-01-20 17:11:35)

Offline

Board footer

Powered by FluxBB