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
LEARN ABOUT DEBIAN
axspawn.conf
AXSPAWN.CONF(5) Linux Programmer's Manual AXSPAWN.CONF(5)
NAME
axspawn.conf - Control the operation of axspawn.
DESCRIPTION
The axspawn.conf file controls the operation of the axspawn(8) program. The operation of the config file can best be seen in an example:
# this is /etc/ax25/axspawn.conf
#
# allow automatic creation of user accounts
create yes
# allow empty password field (so user may login via telnet, too) [default no]
create_empty_password no
#create_empty_password yes
# create with system utility useradd(8)? [default no]
#create_with_useradd no
create_with_useradd yes
#
# pwcheck method: password or call or group. [default: password]
#pwcheck call
#pwcheck group
pwcheck password
#
# guest user if above is 'no' or everything else
# fails. Disable with "no"
guest guest
#
# group id or name for autoaccount
group hams
#
# first user id to use
first_uid 400
#
# maximum user id
max_uid 2000
#
# where to add the home directory for the new user
home /home/hams
#
# secure homedirectories (g-rwx)
#secure_home yes
#
# user's shell
shell /bin/bash
#
# bind user id to callsign for outgoing connects.
associate yes
The "associate" option has to be used with great care. If a user logs on it removes any existing callsign from the translation table for
this userid and replaces it with the callsign and SSID of the user. This will happen with multiple connects (same callsign, different
SSIDs), too. Unless you want your users to be able to call out from your machine disable "associate".
FILES
/etc/ax25/axspawn.conf
SEE ALSO
axspawn(8).
Linux 2 August 1996 AXSPAWN.CONF(5)