移植samba3.0.8 后运行 ERROR: Could not determine network interfaces
今天将samba3.0.8移植到arm9开发板上面。
# ./configure --host=arm-linux
#make
生成nmbd , smbd等相关文件
复制nmbd, smbd及自己新建的一个测试smb.conf分别到如下位置:
/usr/local/samba/bin/nmbd
/usr/local/samba/bin/smbd
/usr/local/samba/lib/smb.conf
采用
/usr/local/samba/bin/nmbd -o -D
/usr/local/samba/bin/smbd -o -D
程序自动退出,查看
/usr/local/samba/var/log.nmbd
/usr/local/samba/var/log.smbd
# cat /usr/local/samba/var/log.nmbd[1970/01/01 00:00:21, 0] nmbd/nmbd.c:main(668) Netbios nameserver version 3.0.8 started. Copyright Andrew Tridgell and the Samba Team 1994-2004[1970/01/01 00:00:21, 1] lib/util_unistr.c:load_case_tables(63) creating lame upcase table[1970/01/01 00:00:21, 1] lib/util_unistr.c:load_case_tables(78) creating lame lowcase table[1970/01/01 00:00:22, 0] lib/interface.c:load_interfaces(195) ERROR: Could not determine network interfaces, you must use a interfaces config line