blob: 86837050c70b507687dadad20c1556f6571ceaee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/sh
. $SCRIPTDIR/functions
cat >$CONFFILE<<EOF
[global]
netbios name = LOCALHOST
workgroup = $DOMAIN
private dir = $PRIVATEDIR
pid directory = $PIDDIR
lock directory = $LOCKDIR
log file = $LOGDIR/log.%m
interfaces = lo
bind interfaces only = yes
panic action = $PREFIX_ABS/script/tests/gdb_backtrace /proc/%d/exe %d
[test]
path = $TMPDIR
read only = no
EOF
smbd $CONFIGURATION || exit $?
sleep 1
smbclient $CONFIGURATION -L localhost -N -p 139
killall smbd
|