Server :: Login / Passwords - Samba Config Files?

Jun 11, 2010

How to make a Server of LOGIN / PASSWORDS for flexible linux machines? Samba config files for the server and the client. The clients, if no network, shall use the /etc/shadow.

View 10 Replies


ADVERTISEMENT

Ubuntu Servers :: Samba Server Not Asking For Passwords

Feb 21, 2011

I'm trying to set up the server to at least ask for a password. I can connect to it without any trouble, but so can everyone else.How can I make samba ask for a password?

View 2 Replies View Related

Server :: Samba Rejects Client Passwords?

Dec 8, 2010

So a while back I decided I wanted to get to know Linux a little bit and I figured the most immediately useful thing for me would be a small home server. About this time I discovered plug computers and I eventually bought myself a Guruplug for this purpose - a small, cheap, power-efficient ARM architecture thing running Debian 5.0.6. Since then I've kind of ambled along with the project as and when time permitted (installing, tweaking, scouring manpages and tutorials is fun, but takes a lot of time), and have now finally got a nice big external harddrive formatted as ext3 and hooked up to it. The time seemed right to go for the samba install. I installed from the Debian repository, configured using SWAT and immediately hit problems.

Since the only user is me and the only access to the computer is over SSH, I have few accounts - there's root which I've disabled from access altogether, there's my sudoer account magnus, and there's my new test account magnus-smb. This one is a standard user, and has identical Unix password and samba password (added with smbpasswd). I intend to keep this up with a separate samba-access account - I'm a little paranoid about allowing any kind of access to sudoer accounts and won't even let SSHD accept password based logins.

Setting up samba, I basically tried to make it do as little as I needed to get a local file server going. The only share is homes, and its path goes to my external drive. The drive itself is mounted as rw,noexec,user from fstab.

Now, with all of that set up I'd hoped I'd be able to mount my homes shares and go. This proved not to be the case - if I set encrypted passwords = yes, my Windows 7 clients behave differently. The magnus account connects but can't authenticate - all passwords are rejected. The magnus-smb account is apparently accepted but then receives a "network path not found" error. If I set it to no, both accounts are prevented from even attempting to authenticate, and I get an error message about "this account is not approved for logging on from this station" (translation from Norwegian). I've been searching around but not finding much. I did find one article claiming this was easier after samba 3.3 and discovered that my manpages said samba 3.2. Yesterday I therefore decided to reinstall samba from source, only to find that the current stable release (3.5) also claims to be version 3.2 in it's manpages, so I probably might as well not have bothered. Oh well, at least I've installed something from source now.

My smb.conf:

Code:
# Samba config file created using SWAT
# from UNKNOWN (Q@)
# Date: 2010/12/08 12:59:41

[Code]....

View 3 Replies View Related

Software :: Import Passwords Into Samba From Another Same Server?

Apr 15, 2011

Google finds several suggestions on how to sync passwords between samba and /etc/shadow (it can't use /etc/sahdow directly). However in my case, there is an existing samba server where users have already set their passwords. Now comes a new samba server on another machine to serve the same set of users. Is there a way to just import the passwords from one samba to another, in "stay encrypted" form (the /etc/shadow can be separately imported). I looked at /var/lib/samba/passdb.tdb but it has the hostname (share name?) coded in it and that might be a confusion to just copy the file in whole.

View 2 Replies View Related

Ubuntu Networking :: Samba Server - Authenticate With Passwords?

Jan 2, 2010

True or False: If you have a user on your Linux/Samba machine with a password, example:
User = Bob
Password = Password0
And Bob is on an XP computer, where his username is also Bob and his password is also Password0, is it normal for Bob to go to:

\SambaServer, double click on Bob's share (valid users = Bob only) and Bob get RIGHT in without being prompted?

On my prior setup, the user HAD to log in. If they wanted auto login next time with their credentials, they had to check "remember password." But now it's as if Samba knows who they are. It's very strange. What's the normal behavior? Must EVERYBODY authenticate with passwords, or if the Windows credentials are the same as Samba does it just somehow auto-detect it and allow them through?

View 3 Replies View Related

Debian Configuration :: Can't Login To Ftp Server Using Usernames And Passwords

Sep 14, 2010

I am trying to set up virtual users with vsftpd but I can not login to the ftp server using the usernames and passwords created in the password file.

View 1 Replies View Related

Server :: Log User Samba Who Delete Or Move Files/folders On Samba Server ?

Feb 8, 2010

I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.

View 1 Replies View Related

CentOS 5 Server :: Setting Up Relaxed Samba Config

May 29, 2011

I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files. Here's my smb.conf as it stands.

[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no

[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes

[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777

Note that the drive is mapped as user siteusr. What I can do to open it up more?

View 5 Replies View Related

Server :: Samba Config - Can't Get The Public Read-write Dir To Work

Aug 21, 2010

I would like to set up three directories-

1) RW public directory
2) R-public, RW-me
3) Private dir (my /home/me)

BTW, I set all file permissions (recursively) to 777 until I can get this to work...

1) So far I have got 1 samba share working Read only with the following: [Music]

[Code]...

Guests can read it okay but user 'JoeBleaux' can't write to it...

2) I can't get the public read-write dir to work, again, it can be read by everyone but no one can write to it. Here's my broken config for this share: [Uploads]

[Code]...

3) I can't get the private dir to work. Here's my broken config for this share: [HomeDir]

[Code]...

View 4 Replies View Related

Networking :: Windows 7 Users Can't Connect To Samba Server After Dhcp Config

Jun 27, 2011

I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.

This is the script I use at boot

Code:

#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE

[code]....

I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.

View 3 Replies View Related

Server :: Some Options In System-config-samba Dialog Are Not Working Properly?

Apr 13, 2010

I am using Fedora 12. I have the following problem, when i working with system-config-samba dialog:I add the new user on the server:as following:

Unix username: vova
Windows username:test

As described in Customisation Guide for Red Hat 9: "If the user has a different username on a Windows machine and will be logging into the Samba serverfrom the Windows machine, specify that Windows username in the Windows Username field."So i logged from the Windows machine not under test(Windows username) but under vova.And i logged in without the problem. However it seems that samba should check windows username=test (as have written in samba-config) and ask an password for different users. And additionally, if samba check the currect user in Windows itself and verify it with Unix user, what for we need write the Windows username in samba config? I don't understand

View 6 Replies View Related

Server :: Config Apache Server To List Php, C/c++, Java Files As Regular Txt On Website?

Feb 2, 2011

I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,

e.g /var/www/mydomain/pub

i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,

if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,

Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Server :: Config Apache Server To List Php / C/c++ / Java Files As Regular Txt On Website?

Feb 23, 2011

config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?

View 1 Replies View Related

Fedora Servers :: Samba Not Saving Passwords?

Feb 9, 2010

So I've set up a Samba server through the gui. When I've labeled my shares as accessible to everyone, I can get to it no problem. However, when I tie it down to a specific samba user, I can't.

By all indications, it appears that it isn't saving the password because every time I go to edit users, it has the exact same string in the password field.

View 1 Replies View Related

Ubuntu :: Samba Forgets User Passwords?

May 10, 2010

I've just installed 10.04 x64 and I've had some problems with samba (cifs/windows file sharing). It seems like samba is forgetting user passwords, so on every reboot I have to add a password for the user that needs access: sudo smbpasswd -a tietze

I've tried restarting samba (sudo service sbmd restart), but it does not work. I have to add a new password for the user with the command above.

I tried to google a bit for a solution, but only found the following thread with a problem that seems related: [other] Samba forgets user

making samba remember passwords betweeen reboots/shutdowns?

View 1 Replies View Related

Ubuntu Servers :: Where Are Samba Passwords Located In 10.10?

Apr 10, 2011

Although my smb.conf file cites /etc/samba/smbpasswd as the password file, I see that it is not in some database file. Since smb.conf doesn't seem to look anywhere else but /etc/samba/smbpasswd, how can I direct it to the new password scheme. At least this is what I find when using SWAT to display the smb.conf file contents.This seems to be preventing my windows client having access to shared printers, but yet, not shared files.

View 2 Replies View Related

OpenSUSE :: Establish User Names And Passwords In Samba?

May 4, 2010

Attempting to set up a Samba network from my SuSE 11.2 desktop to a windows laptop. Using YaST, a Samba server has been created, and allow users to share has been clicked. Identity is not a domain controller. no trusted domains have been set, and no LDAP settings have been set.

Right now, each computer can see the other over the network. When clicking on the network from windows, a window pops up requesting a user and password.

Konqueror sees both computers under smb://. It also has a window that pops up requesting user name and password. Where do I set up these user names and pass words?

View 2 Replies View Related

Server :: Edited The Config Files Because Xx.xx.xx.xx Doesn't Exist?

Aug 25, 2010

I'm taking over as a Linux admin where they use sendmail last week. I've done very little with email on linux, and haven;'t touched sendmail since 2000 so I am really out of my element.Basically the sendmail server for many months has had performance problems, disk, and load.Looking into it I found this doing a tail on /var/log/MaillogAug 25 17:11:49 web8 sendmail[1531]: o7OGF2VH002566: to=postmaster, delay=1+01:58:10, xdelay=00:00:00, mailer=relay, pri=2388694, relay=[xx.xx.xx.xx], dsn=4.0.0, stat=Deferred: [10.10.20.107]:No route to hostAnd that was all it was spewing, I edited the config files because xx.xx.xx.xx doesn't exist. And running m4, then restarting sendmail.It is still spewing out that message, but I do see some things connecting to the new yy.yy.yy.yy address. I even greped the entire /etc looking for the old machine.

View 2 Replies View Related

Server :: Can't Get Samba Config Window / Way Can Configure In Terminal Window?

Feb 26, 2010

I am new to Samba.I'm running Fedora 10 and I've just download samba successfully and have the smb service running on my system.I'm in GNOME and select System and then Administration and Samba does not appear in the drop down menu.I have an NFS menu selection but no samba selection.I ran yum install and it installed successfully. If I can't get the samba config window is there a way I can configure in terminal window?

View 1 Replies View Related

General :: Can't Login On Samba Server With AD Account

Mar 15, 2010

I've successfully joined my 8.04 LTS samba file server to the windows domain. I've read many tutorials like [URL].I used krb5 and winbind and not modern likewise-open. I had successfully got the ticket for the user under whom I was able to join to AD. I'm able to get domain controller information with net ads info. But I can't login to that server through ssh (I'm using Putty at windows XP) with any ADuser credentials. I've tried

windomainADuser
ADuser@windomain
ADuser

I only get user@10.0.0.10'password prompt and access denied.

View 2 Replies View Related

CentOS 5 Server :: Samba Login As Root?

Sep 21, 2009

Just completed a fresh install if V5.3. It works fine.

Samba server: I tried to create a Samba user named "root" with Windows user name "administrator". Message is something like "account already exists"? I know "root" exists, but why can't I use it as a login? I don't get this error when I use another existing user account "LouA".

This is important to me because many documents state that "root" is to be used as the user name. I don't want to change these.

Current set-up allows access to all users (there is no Samba user listed) and I can read, write and delete files from Windows just fine.

View 1 Replies View Related

Ubuntu Servers :: Config - Change / Add From The Default OpenSSH Config Files To Get Tunnelling To Work?

Jul 10, 2011

I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:

Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.

View 3 Replies View Related

Server :: Bind9 Config Files: Leading Whitespace Requirements?

Apr 19, 2011

Is leading whitespace significant in bind9 config files? This reverse lookup file (/var/chroot/bind9/etc/bind/zones/rev.168.168.192.in-addr.arpa) did not work; /var/log/messages had "zone 168.168.192.in-addr.arpa/IN: has no NS records".Inserting 3 spaces before IN in the NS line fixed it:

Code:

; IP Address-to-Host DNS Pointers for the 192.168.168.0 subnet
@ IN SOA CW8vDS.localdomain. hostmaster.localdomain. (
2011041901 ; serial
8H ; refresh

[code]...

Reading the man pages and netsearching, I did not find anything about indentation requirements except for "This is usually indented for readability, but the indents are required syntactically" here.Although the above file works, named-checkconf reports an error in it:

Code:

root@CW8vDS:/var/chroot/bind9/etc/bind/zones# named-checkconf rev.168.168.192.in-addr.arpa
rev.168.168.192.in-addr.arpa:1: syntax error near ';'

but named initialisation does not log any errors or warnings in /var/log/messages when processing this file except "/etc/bind/zones/rev.168.168.192.in-addr.arpa:2: no TTL specified; using SOA MINTTL instead".

View 10 Replies View Related

Fedora :: Connect To The Samba Server Using Aspire Login?

Dec 28, 2009

I'm trying out Samba for the first time, the main directory is called "workplease", and I have 2 users, "keith" and "aspire". I set the permission on "workplease" to aspire by doing "chown aspire:aspire workplease". Then on my windows7 machine I can connect to the samba server using aspire login, see my "aspire" folder and the "workplease" folder, I can create txt files, folders ...ect

But I would like the user account "keith" to be able to read/write to the same "workplease" folder. I added both users to the group "networkg" by doing

"usermod -a -G networkg aspire"
"usermod -a -G networkg keith"

So my question is how can I make the folder "workplease" have permissions to let any group members of "networkg" read/write/execute anything they put in that folder, or sub folders? Im getting rid of my Windows Home Server , and trying to use samba to do the file sharing for my buddy and I.

edit: Seems doing "chmod 774 -R workplease" changes the permissions on all the files/subfolders, to give owner and group full access only, but is there a way anytime someone creates a txt file, or copies over an mp3 for example, it auto-maticly has 774 permission?

View 2 Replies View Related

Fedora :: Login To The Samba Server Using Smbclient But It's Not Working?

Jan 14, 2010

My OS is F11 and i've two systems; i'm running Samba server on one system and i've login on the client system and trying to login to the Samba server using smbclient but it's not working.Can someone give me the command to login to the Samba server using smbclient!

View 1 Replies View Related

Ubuntu Networking :: Nautilus Cannot Login Samba Server

Apr 30, 2010

I have a Debian and a Ubuntu box. I installed a samba server on Debian box. I can log in the samba share folders from Windows boxes. Since the samba server has SHARE security mode, I need password only. But when I try to log in the samba share folders from Ubuntu box using nautilus, it asks username, domain and password. I cannot log in share folders on the Debian box. There is no message. Nautilus keep showing the password input box until i cancel it.So I use smbmount command. It works well. But that way is not comfortable at all. Anyone can help me logging in samba share in nautilus?

View 1 Replies View Related

Server :: XP Clients Can No Longer Login To Samba Domain

Aug 26, 2010

I use OpenSuse 11.3 and I successfully built a samba/openldap server. However the raoming profiles were not working so I removed the roaming profile part of the samba and the openldap using ldap account manager. I also rejoined a couple of the computers back to the domain successfully (it was not an instaneous join, it took a good minute or 2 to join each pc). Now I cannot cannot login to any of these computers with the domain credentials. I can share using the UNC path no problem and this was working find about 1 week ago.

On 1 of the computers Iw as able to finally get a log file saying this:

View 2 Replies View Related

Fedora Networking :: Config The Httpd Apache Server To Upload Files

Jan 6, 2011

my task is to store the data to a file at server sent via HTTP POST, i written suitable cgi script in C, but the PROBLEM is that i can't complete the task, I guess i require server permission to do so, how to configure server or how to get access right from server to store data to a file.

View 3 Replies View Related

Ubuntu :: Server 10.04 And Samba Server Admin - Share Media Files Between Computers

May 25, 2010

I have a LAN of about 70 computers that I would like to share media files between. I have gotten to the point with Samba that I can view the files without a username/password from client PC's. I would like to make all the folders read only except for one which will be writable for everyone. The thing that I am having a hard time with is allowing a couple of administrators (on Windows 7 machines) read/write access for all files/folders. I am completely new to Ubuntu and Samba so please make explanations thorough. Here is /etc/samba/smb.conf file:

[Code]...

View 3 Replies View Related

Server :: Uninstalling LAMP Components - Various Config Files And Made The Setup Unusable

Mar 22, 2011

I am slowly learning Linux by bringing up a server. Using tasksel, I installed the LAMP-server, which went fine. Now, however, I have mucked about with various config files and made the setup unusable. I'd like to do uninstall all of the LAMP packages and do a clean (and more thoughtful) install. Here's the problem: tasksel returns an "aptitude failed (100)" error. I have search various forums and all of the help related to this error (which I can't actually find *explained* anywhere) is related to installing packages. I tried them anyway, without success. man pages and the stack of manuals I have don't seem to be of much help either.

- describe what the error message means?
- a way to remove the packages or the config files by hand?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved