1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00
Files
samba-mirror/source/script/tests/t_001.sh
Gerald Carter 939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00

31 lines
364 B
Bash

#!/bin/sh
. $SCRIPTDIR/functions
cat >$CONFFILE<<EOF
[global]
include = $LIBDIR/common.conf
smb ports = 139
[test]
path = $PREFIX_ABS/tmp
read only = no
EOF
##
## Test code
##
/bin/rm -rf $PREFIX_ABS/tmp
mkdir $PREFIX_ABS/tmp
chmod 1777 $PREFIX_ABS/tmp
start_smbd || exit $?
smbclient $CONFIGURATION -L localhost -N -p 139
ret=$?
stop_smbd
exit $ret