As a newbie to samba, I am not able to get running a simple
configuration (taken from howto).
- The unix machine has a user calld ah. I also set a password with
smbpasswd to ah
- I had to add the line "interfaces = vlan472", because otherwise I got
following error while trying to start smbd: ERROR: Could not determine
network interfaces, you must use a interfaces config line
Here some further information:
serv-2-7-176:/var/log/samba# uname -a
Linux serv-2-7-176.lycos-vds.com 2.6.14.3-vs2.0.1 #1 SMP Thu Jan 19
11:34:26 CET 2006 i686 GNU/Linux
------------------------------------------------
serv-2-7-176:/var/log/samba# testparm -V
Version 3.0.22
------------------------------------------------
serv-2-7-176:/var/log/samba# ifconfig
vlan472 Link encap:Ethernet HWaddr 00:14:22:12:A5:C1
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1231594502 errors:0 dropped:0 overruns:0 frame:0
TX packets:1011724256 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3013814009 (2.8 GiB) TX bytes:2410395788 (2.2 GiB)
------------------------------------------------
serv-2-7-176:/var/log/samba# testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
[global]
workgroup = MIDEARTH
interfaces = vlan472
[homes]
read only = No
------------------------------------------------
serv-2-7-176:/var/log/samba# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1584 384 ? S Jun01 0:00 init [2]
root 32586 0.0 0.1 1956 480 ? Ss Jun01 0:00
/sbin/syslog-ng
root 445 0.0 0.1 1640 496 ? Ss Jun01 0:00
/usr/sbin/inetd
daemon 477 0.0 0.1 1828 268 ? Ss Jun01 0:00 /usr/sbin/atd
root 500 0.0 0.2 1884 584 ? Ss Jun01 0:00
/usr/sbin/cron
root 27195 0.0 0.1 1920 508 ? Ss Jun01 0:00
/sbin/syslog-ng -p /var/run/syslog-ng.pid
Debian- 29717 0.0 0.2 4480 736 ? Ss Jun01 0:00
/usr/sbin/exim4 -bd -q30m
root 19409 0.0 0.7 6412 1928 ? S 19:38 0:00 sshd:
[EMAIL PROTECTED]/74
root 20108 0.0 0.5 2636 1368 pts/74 Ss 19:38 0:00 -bash
root 29513 0.0 0.5 5644 1508 ? Ss 20:26 0:00
/usr/sbin/nmbd -D
root 29551 0.0 0.8 8396 2248 ? Ss 20:26 0:00
/usr/sbin/smbd -D
root 29564 0.0 0.3 8396 916 ? S 20:26 0:00
/usr/sbin/smbd -D
root 15545 0.0 0.3 2568 848 pts/74 R+ 20:38 0:00 ps aux
------------------------------------------------
serv-2-7-176:/var/log/samba# netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State User Inode PID/Program name
tcp 0 0 84.244.7.176:139 0.0.0.0:*
LISTEN 0 1353177061 29551/smbd
tcp 0 0 84.244.7.176:10002 0.0.0.0:*
LISTEN 0 1254111219 445/inetd
tcp 0 0 84.244.7.176:22 0.0.0.0:*
LISTEN 0 1346555680 445/inetd
tcp 0 0 84.244.7.176:25 0.0.0.0:*
LISTEN 0 1254529424 29717/exim4
tcp 0 0 84.244.7.176:445 0.0.0.0:*
LISTEN 0 1353177060 29551/smbd
udp 0 0 84.244.7.176:137
0.0.0.0:* 0 1353176867 29513/nmbd
udp 0 0 84.244.7.176:138
0.0.0.0:* 0 1353176868 29513/nmbd
------------------------------------------------
serv-2-7-176:/var/log/samba# smbclient -L localhost
WARNING: no network interfaces found
tdb(/var/run/samba/gencache.tdb): tdb_oob len -1111597610 beyond eof at
49152
tdb(/var/run/samba/gencache.tdb): tdb_free: left read failed at
3183369662 (1111638594)
tdb(/var/run/samba/gencache.tdb): rec_read bad magic 0xd9fee666 at
offset=40960
tdb(/var/run/samba/gencache.tdb): rec_read bad magic 0xd9fee666 at
offset=40960
Password:
Anonymous login successful
Domain=[MIDEARTH] OS=[Unix] Server=[Samba 3.0.22]
Sharename Type Comment
--------- ---- -------
ADMIN$ IPC IPC Service (Samba 3.0.22)
IPC$ IPC IPC Service (Samba 3.0.22)
homes Disk
tdb(/var/run/samba/gencache.tdb): tdb_oob len -1111597610 beyond eof at
49152
tdb(/var/run/samba/gencache.tdb): tdb_free: left read failed at
3183369662 (1111638594)
tdb(/var/run/samba/gencache.tdb): rec_read bad magic 0xd9fee666 at
offset=40960
tdb(/var/run/samba/gencache.tdb): rec_read bad magic 0xd9fee666 at
offset=40960
Anonymous login successful
Domain=[MIDEARTH] OS=[Unix] Server=[Samba 3.0.22]
Server Comment
--------- -------
Workgroup Master
--------- -------
------------------------------------------------
serv-2-7-176:/var/log/samba# smbclient //localhost/ah
WARNING: no network interfaces found
tdb(/var/run/samba/gencache.tdb): tdb_oob len -1111597610 beyond eof at
49152
tdb(/var/run/samba/gencache.tdb): tdb_free: left read failed at
3183369662 (1111638594)
tdb(/var/run/samba/gencache.tdb): rec_read bad magic 0xd9fee666 at
offset=40960
tdb(/var/run/samba/gencache.tdb): rec_read bad magic 0xd9fee666 at
offset=40960
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
------------------------------------------------
Why do I get this error messages?
Why I am not able to connect with smbclient?
I try to run samba on a virtual server. Could this cause this problems?
Armin
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba