mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
sync'ing up for 3.0alpha20 release
(This used to be commit 4456d5edd9207674d03bf503e8b245e5dc1ca8d8)
This commit is contained in:
parent
a834a73e34
commit
28f76a4162
@ -244,25 +244,23 @@ CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
|
||||
--with-netatalk \
|
||||
--with-smbwrapper \
|
||||
--with-libsmbclient \
|
||||
--with-acl-support \
|
||||
--with-sambabook=$(DESTDIR)/usr/share/swat/using_samba
|
||||
|
||||
# Temp disabled - add later - JHT
|
||||
# --with-pam_smbpass \
|
||||
# --with-nisplus-home \
|
||||
# --with-acl-support \
|
||||
|
||||
make all nsswitch/libnss_wins.so nsswitch/libnss_winbind.so torture nsswitch/pam_winbind.so everything
|
||||
(cd tdb; make tdbdump tdbtest tdbtorture tdbtool)
|
||||
|
||||
#cd ../examples/VFS
|
||||
cd ../examples/VFS
|
||||
#CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" ./configure \
|
||||
# --prefix='$(DESTDIR)/usr' \
|
||||
# --localstatedir='$(DESTDIR)/var' \
|
||||
# --libdir='$(DESTDIR)%{EtcSamba}' \
|
||||
# --sbindir='$(DESTDIR)/usr/sbin'
|
||||
#make
|
||||
#cd block
|
||||
#make
|
||||
make
|
||||
|
||||
%Install
|
||||
%{mkDESTDIR}
|
||||
@ -296,7 +294,7 @@ do
|
||||
install -m 755 source/bin/$i $DESTDIR/usr/bin
|
||||
done
|
||||
# Next install /usr/sbin progs
|
||||
for i in talloctort samsync locktest locktest2 masktest msgtest smbtorture
|
||||
for i in talloctort locktest locktest2 masktest msgtest smbtorture
|
||||
do
|
||||
install -m 755 source/bin/$i $DESTDIR/usr/sbin
|
||||
done
|
||||
@ -304,11 +302,12 @@ for i in tdbdump tdbtest tdbtorture tdbtool
|
||||
do
|
||||
install -m 755 source/tdb/$i $DESTDIR/usr/sbin
|
||||
done
|
||||
|
||||
# Add VFS Modules
|
||||
#for i in audit.so recycle.so block/block.so
|
||||
#do
|
||||
# install -m755 $i $DESTDIR/lib/samba
|
||||
#done
|
||||
for i in audit.so recycle.so netatalk.so skel.so
|
||||
do
|
||||
install -m755 examples/VFS/$i $DESTDIR/lib/samba
|
||||
done
|
||||
|
||||
#mv $DESTDIR/usr/bin/{make,add,conv}* $DESTDIR/usr/sbin
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
#
|
||||
# winbindd server control
|
||||
# winbindd control
|
||||
#
|
||||
|
||||
IS_ON=/etc/chkconfig
|
||||
@ -21,7 +21,7 @@ fi
|
||||
|
||||
case $1 in
|
||||
'start')
|
||||
if $IS_ON winbindd && test -x $WINBINDD; then
|
||||
if $IS_ON winbind && test -x $WINBINDD; then
|
||||
$KILLALL -15 winbindd
|
||||
$ECHO "winbindd:\c"
|
||||
$WINBINDD ; $ECHO " winbindd."
|
||||
@ -33,6 +33,6 @@ case $1 in
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "usage: /etc/init.d/winbindd {start|stop}"
|
||||
echo "usage: /etc/init.d/winbind {start|stop}"
|
||||
;;
|
||||
esac
|
||||
|
@ -12,7 +12,10 @@ test_sharelist() {
|
||||
return 0
|
||||
}
|
||||
|
||||
(test_smb_conf_setup) || exit 1
|
||||
# Need guest account
|
||||
password=samba
|
||||
security=USER
|
||||
(test_smb_conf_setup && test_smbpasswd $password ) || exit 1
|
||||
|
||||
test_sharelist || exit 1
|
||||
|
||||
|
@ -15,11 +15,13 @@
|
||||
|
||||
add machine script = useradd %u -d /dev/null -s /bin/false
|
||||
|
||||
panic action = echo bt | gdb PREFIX/sbin/smbd %d
|
||||
panic action = /bin/sh BUILD_FARM/samba/testsuite/build_farm/backtrace %d
|
||||
|
||||
passdb backend = smbpasswd_nua
|
||||
|
||||
non unix account range = 10000-200000
|
||||
map hidden = yes
|
||||
create mask = 0777
|
||||
|
||||
[test]
|
||||
path = PREFIX/testdir
|
||||
|
Loading…
x
Reference in New Issue
Block a user