12-08-2011
Samba server guest connections
Hi,
I am trying to comprehend Samba's behaviour on one of my Arch systems and thus I'd like to ask a couple of quick questions:
The setup I'd like to build is just a small home network for file-sharing using guest connections.
Here it goes,
1) When using the following settings for guest connections,
map to guest = bad user guest account = nobody
does user 'nobody' have to exist both on Samba AND on the system's accounts?
If yes, is there any other way I can use Samba to serve guest connections without the need to create their respective system accounts? Why is that so?
2) If I change the second option to
guest account = myUnixAccountName
I notice that the system works perfectly well and serves guest connections just fine.
But how is that possible since myUnixAccountName doesn't exist on Samba?
Thanks in advance!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
suse linux 6.4 im running and i have port 110 for pop and smtp open, i have set up some email addresses for my friends, but they recieve errors saying that relaying is denied. i know this is to prevent spamming software from using my domain to send spam, but how do i let my users send their mail?... (6 Replies)
Discussion started by: norsk hedensk
6 Replies
2. UNIX for Advanced & Expert Users
Hi Guys,
Just wondering if anyone of you have been in a situation where you end up having around 100 close_wait connections and seems to me those connections are locking up resources/processes in the server so unless the server is rebooted those processes won't be released by the close_wait... (3 Replies)
Discussion started by: hariza
3 Replies
3. Shell Programming and Scripting
Given the following code
#!/usr/bin/perl -w
use IO::Socket;
my($handle, $line, $kidpid);
$handle = IO::Socket::INET->new(
PeerAddr =>"64.22.229.139",
PeerPort =>"4321",
Proto=>"tcp",
... (0 Replies)
Discussion started by: frequency8
0 Replies
4. Virtualization and Cloud Computing
Is there any command in VMware Server 2.0 to poweron/start the guests like we have vmware-cmd ESX server 3.5 .. (1 Reply)
Discussion started by: fugitive
1 Replies
5. Web Development
Hi
I have a solaris 9 OS with apache web server running on top of it. i want to know how many http connections are active at any point in time. (In other words how many users are accessing my website it at any moment of time)
How to get it..?
hit counters are not required...
----------... (0 Replies)
Discussion started by: aemunathan
0 Replies
6. UNIX for Dummies Questions & Answers
Server has more TIME_WAIT connections in Apache(port 80) Hi,
My webserver has 16GB of RAM and CentOS 5.5, Apache 2.2.3, It's shared webserver used of for webhosting. I have optmized the server as :
<IfModule prefork.c>... (4 Replies)
Discussion started by: chandranjoy
4 Replies
7. Red Hat
Hi everyone,
I am trying to set up a samba server using either the interface or the command line. However, I am unable to access the files found on the server. Can anyone tell me how to set up this server?
Thanks in advance (2 Replies)
Discussion started by: shakshakshuk
2 Replies
8. UNIX and Linux Applications
Hi,
i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers.
Where you can read how to do it? Or can tell me how to do it?
Thanks.
P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies
9. AIX
I am using AIX 5.3, its a application server, i am giving the support of OS & Hardware only, now i want to check how many connections are connected to my server, means how many people using my server.:confused: (4 Replies)
Discussion started by: reply.ravi
4 Replies
10. UNIX for Advanced & Expert Users
Good morning,
Is there any command to view remote conxiones an AIX server?
Thank you very much and best regards. (1 Reply)
Discussion started by: systemoper
1 Replies
ftpshut(1) General Commands Manual ftpshut(1)
NAME
ftpshut - create shutdown message file to shut down the ftp servers at a given time
SYNOPSIS
time [ warning-message ... ]
DESCRIPTION
The command provides an automated shutdown procedure that a superuser can use to notify ftp users when the ftp server is shutting down.
This command will create a shutdown message file in the path specified by the 'shutdown' directive in the file in the real, anonymous and
virtual user accounts. For guest accounts the system administrator must copy the message file created in the real user account to the
guest accounts manually. The server will check this file regularly to see if the server is going to be shut down.
This option causes the program to display copyright and version information,
then terminate.
This option is used as deny_offset. New FTP access is disabled 'min' minutes before
shutdown. The default value of 'min' is 10 minutes. This value can be reset by the user.
This option is used as disc_offset. All current FTP connections will be dropped 'min'
minutes before shutdown. The default value of 'min' is 5 minutes. This value can be reset by the user.
time time, is the time at which the ftp server will be shutdown. If is set to the word `now' the shutdown will be immedi-
ate. time can also be set to a future time. Future time can be specified in one of the two formats: + number or
HHMM. The first format brings the ftp servers down in number minutes. The second format brings the ftp servers down
at the time of day indicated, using a 24-hour clock format.
warning-message
The warning-message is the message the server will flash to its clients on shut down. The user can use a message of
his choice or use the 'macros' or 'magic cookies' that are available. The server will replace the macro with the
specified text string. The warning-message will be formatted to be 75 characters long, including the length of any
expanded macros ("magic cookies"). The default warning message is "System shutdown at %s". The following magic cook-
ies are available:
%s time system is going to shut down
%r time new connections will be denied
%d time current connections will be dropped
%C current working directory
%E the maintainer's email address as defined in ftpaccess
%L local host name
%M maximum allowed number of users in this class
%N current number of users in this class
%R remote host name
%T local time (form Thu Nov 15 17:12:42 1990)
%U username given at login time
WARNINGS
You can kill the servers only between now and 23:59, if you use the absolute time for
EXIT STATUS
returns:
0 successful
1 failure
-1 the wrong parameter was passed to
AUTHOR
was developed by the Washington University, St. Louis, Missouri.
SEE ALSO
ftpaccess(4)
ftpshut(1)