04-11-2008
Quote:
Originally Posted by
farl
[homes]
force user = %U
read only = No
hosts allow = 129.183.
[printers]
I don't know Samba all too good, but doesn't the part marked bold look like the wrong network? Just guessing....
bakunin
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI.
I am still having problems installing samba. i found a site where there is a package for auto install. i click on the link and it start to data stream, what going on, i thought it suppose to install it to /usr/local/ . Here is the link i download or try to download the... (4 Replies)
Discussion started by: souldier
4 Replies
2. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
3. Solaris
Hi All,
I want to install Samba packages in my server...I saw the processes that are related to samba are running.
Being root, i dont have full permissions to stop samba and start it.
I dont know whether i can kill the samba process.
I was told to install samba on the system...
... (5 Replies)
Discussion started by: jegaraman
5 Replies
4. UNIX for Advanced & Expert Users
Hallo,
I am new to administer a Unix machine.
Basically I have just upgrade the samba version from 2.2.8a up to 3.0.22 on Sol 9 SV210.
the installation was successful.
but then when I checked the version by using
/usr/sfw/bin/smbstatus
it was still showing 2.2.8a. I've restarted samba... (1 Reply)
Discussion started by: Luky
1 Replies
5. UNIX for Dummies Questions & Answers
hi all
having lots of issues with Macs connecting to samba servers being published via Red Hat 5.1.
Seems to be varring problems depending on what OSX version we run from 10.5 to 6.3. I found a not on one of the forums about adding the unix extenstions= no
and that has cured a few macs but not.... (0 Replies)
Discussion started by: treds
0 Replies
6. Solaris
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
7. Red Hat
hey,
i am trying to install a new samba server using the source package in my redhat machine.i am using samba 3.6.4 version.actually i am not able to find out the smb.conf file in there.can anyone give me any idea about where to look for this configuration file?? (3 Replies)
Discussion started by: htshshrm2
3 Replies
8. Red Hat
We are trying to install samba server on linux environment but it's failing with following errors. Could any of you help me on this.
body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Segoe UI;font-size:9pt;vertical-align:top }/* Copyright IBM Corp. 2011 All Rights Reserved. ... (4 Replies)
Discussion started by: talk1234
4 Replies
9. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
LEARN ABOUT CENTOS
shell-quote
SHELL-QUOTE(1) User Contributed Perl Documentation SHELL-QUOTE(1)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.16.3 2010-06-11 SHELL-QUOTE(1)