Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Samba server guest connections Post 302581028 by konos5 on Sunday 11th of December 2011 09:51:34 PM
Old 12-11-2011
Quote:
Originally Posted by Corona688
samba always expects its own usernames to match system ones. That's how they login -- a samba password associated with a local system username. When samba has an entry and /etc/passwd doesn't, samba considers that file corruption!

So yes -- there does have to be a 'nobody' user. Linux systems almost always have one anyway, a do-nothing user with no home directory, no password, and access to nothing significant. If you check ps aux you'll probably find daemons running as nobody.

Since Windows can have very long and strange usernames which UNIX would refuse to keep in /etc/passwd, there has to be some way to translate them into local usernames. That's what smbusers is for.

It's just a text replacement which happens before login. So as long as you translate those user names into a local username, it's okay.

Note that samba doesn't care about your system passwords, just the samba ones, which is why samba can login to 'nobody', which shouldn't have a password for local logins.
Thanks for all this useful information.
However, when I tried to map the guest account to 'nobody', the system didn't work. Only when I created the UNIX account 'nobody' did the system work (or when I just used myUnixAccountName). Therefore I assume 'nobody' didn't exist on my system...could that be the case?

Thanks to both of you for your time and effort.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dsl connections lost when attempting to retrieve mail from my server.

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

close_wait connections causing a server to hung

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

How do I make multiple connections to the server in this case

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

Cmd to start guest in VMware server 2.0

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

How to find number of http connections active currently in apache web server

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)

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

Samba server

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

Server migration from samba+ldap to windows server 2003

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

connections on server

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

See AIX server remote connections

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
TDBBACKUP(8)                                                System Administration tools                                               TDBBACKUP(8)

NAME
tdbbackup - tool for backing up and for validating the integrity of samba .tdb files SYNOPSIS
tdbbackup [-s suffix] [-v] [-h] DESCRIPTION
This tool is part of the samba(1) suite. tdbbackup is a tool that may be used to backup samba .tdb files. This tool may also be used to verify the integrity of the .tdb files prior to samba startup or during normal operation. If it finds file damage and it finds a prior backup the backup file will be restored. OPTIONS
-h Get help information. -s suffix The -s option allows the adminisistrator to specify a file backup extension. This way it is possible to keep a history of tdb backup files by using a new suffix for each backup. -v The -v will check the database for damages (currupt data) which if detected causes the backup to be restored. COMMANDS
GENERAL INFORMATION The tdbbackup utility can safely be run at any time. It was designed so that it can be used at any time to validate the integrity of tdb files, even during Samba operation. Typical usage for the command will be: tdbbackup [-s suffix] *.tdb Before restarting samba the following command may be run to validate .tdb files: tdbbackup -v [-s suffix] *.tdb Samba .tdb files are stored in various locations, be sure to run backup all .tdb file on the system. Important files includes: o secrets.tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba. o passdb.tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba. o *.tdb located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories. VERSION
This man page is correct for version 3 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The tdbbackup man page was written by John H Terpstra. Samba 3.5 06/18/2010 TDBBACKUP(8)
All times are GMT -4. The time now is 09:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy