mirror of
https://github.com/samba-team/samba.git
synced 2025-12-02 00:23:50 +03:00
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
31 lines
364 B
Bash
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
|