Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37746571
en ru br
ALT Linux repositórios
S:4.17.11-alt1
5.0: 3.0.33-alt4
4.1: 3.0.30-alt3
4.0: 3.0.33-alt1.M40.1
+updates:3.0.33-alt1.M40.1
3.0: 3.0.14a-alt2
+backports:3.0.28-alt1

Group :: Sistema/Servidores
RPM: samba

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#!/bin/sh
#
# by Bill Nottingham <notting@redhat.com>
#
# Adapted from mount.smb by Greg Galperin, MAR99 <grg@ai.mit.edu>
#

if [ $# != 4 -o "$3" != "-o" ]; then
echo "unsupported commandline $0 $*"
exit -1
fi

for arg in `echo $4 | tr ',' ' '`; do
case "$arg" in
user=*)
SMBUSER="`echo $arg | cut -d '=' -f 2-`"
;;
passwd=*)
PASSWD=`echo $arg | cut -d '=' -f 2-`
;;
domain=*)
DOMAIN="-W `echo $arg | cut -d '=' -f 2-`"
;;
*)
;;
esac
done

if [ -n "$PASSWD" ]; then
USER=$SMBUSER%$PASSWD exec smbmount "$1" $2 $DOMAIN
else
USER=$SMBUSER exec smbmount "$1" $2 $DOMAIN -N
fi
exit $?
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009