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
ADVERTISEMENT
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
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
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
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
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
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
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
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
View Related
May 18, 2011
Would like to run an IMAP4 and associated STMP services for a small group [5-10] non-local users. This would run on a dedicated, headless box. simple back-up mail server to be located elsewhere?
View 7 Replies
View Related
Jun 5, 2011
I have just set my self up a new LAMP server running php and mysql. I get the following error when trying to acces mysql databases through php Code: Could not connect: Access denied for user 'danhorni'@'localhost' (using password: NO) I am using a password I can login fine through phpmyadmin
View 1 Replies
View Related
Jul 4, 2011
I recently built a small server for my dad, to host a business website aswell as manage storage of important documents (raid 1).Yesterday I thought I would try out zentyal. I got it working, mostly. It seemed very useful.However, ANY password authentication; including login, sudo, ssh, was extremely laggy. Were talking a minute after entering the password.I have done
Code:
sudo apt-get purge zentyal zentyal-samba
And
[code]...
View 6 Replies
View Related
Jan 7, 2010
I wonder if it is possible to have two passwords for one user account in 9.10. I have a long login password (5 words about 45 characters with spaces caps). I would like to set a shorter password for Authentication, sudo, etc. While retaining the original for logging in.In short:Have long password to login to computer.Have short password for everything after login.
View 6 Replies
View Related
Dec 12, 2010
On other editions of ubuntu server I had no problem saving multiple users and passwords with htdigest but now it seems it is only possible to save one user and password.
Code:
sudo htdigest -c /etc/apache2/passwords directory user
When I add a second username and password for the same directory it overwrites the first.
View 1 Replies
View Related
May 20, 2010
I recently set up a ldap server for user authentication and I want to be able to configure the passwd utlity to automatically update the password for the local account AND on the ldap server. How would I go about this?
View 7 Replies
View Related
Feb 15, 2010
Don't worry, I know - that title probably makes this question seem way more complicated than it actually is. Here's the situation: I have a server running SLES10 with a samba share set up on it. I created a username in Samba and Linux for myself, can access the share, permissions are fine, yadda yadda. Now I want to give about 100 more people access to it.
I have active directory running which users log into and I'd like them to be able to use their active directory passwords to authenticate to the share, rather than have me create 100 individual Samba/Linux accounts. In the future the AD server will be changing over to server 2008 but I'll cross that bridge when I get there. It would be equally effective if I could pull AD passwords from AD and "auto-create" the associated Linux/Samba users. Any ideas or could someone point in the right direction?
View 5 Replies
View Related
Aug 2, 2010
We use a Linux server with AFS on it. I changed the linux root password using passwd. The new password will let me log in as root but when I try to change the AFS admin password it asks for the root password. When I put in the password that it let me log in as root. It tells me authentication failed. And when I run the password command with -admin admin, it asks for the admin password. I put in the admin password that worked before I changed the root and it says authorization failed.
View 5 Replies
View Related
Mar 31, 2011
I have a 389-ds with a large user base. All passwords are stored plaintext. I would like to convert all these stored passwords to a hash, say SHA-1.
View 2 Replies
View Related
Mar 18, 2010
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
View 1 Replies
View Related
Nov 26, 2010
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse':
(.text+0x595c): undefined reference to `_talloc_steal'
bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
View 1 Replies
View Related
Feb 4, 2010
I recently got myself a new hard drive and I want to use it as my Samba share. I just want the hard drive itself to store the files.I know once I get it set up it should be easy to tell Samba that's where I want it to store and look for files.Problem is I need to make it so the computer can use the hard drive first. I have already installed the drive. I just don't know how to get Ubuntu to recognize the drive.I also need to create a partition that uses the whole drive and format it to ext3, then I need to mount it somewhere for Samba to use.This would be easy to do with Ubuntu desktop, but I am using Ubuntu server and I don't know how to do it. I have read that I will need to use fdisk, but the post wasn't to clear on what to do.
View 2 Replies
View Related
Feb 16, 2010
i have ubuntu server 8.04 witch preinstalled samba 3.0.28. I like to install from repositories samba 3.4.5.
View 3 Replies
View Related
Mar 16, 2010
this is my first post ever, so sorry if i'm not very descriptive. I just installed Ubuntu Server 9.10 x86 and I cannot use the net command that comes with Samba
View 8 Replies
View Related
Jun 24, 2010
When i set up a samba server, with no users in it, i can access from any pc, except the W7 ones.
I go to start, execute, type "\servershared" and a window pop ups asking for credentials... but i hava none!!!
i found out that user anonymous / no password works out, but its annoying
is there any way to overpass this autenthication??
View 2 Replies
View Related
Jul 23, 2010
I'm having problems with Ubuntu 10.04 samba PDC and windows7. I have a test network that I'm using to evauate 10.04 before I use it in production and have come across an intriguing problem with Windows 7. I have a clean brand-new installed Windows 7 ultimate and I have no problems joining the domain. (Standard registry modifications made). I can logon the window 7 box locally without a problem however when I try to logon using the domain the Windows 7 box accepts my password and start to load the user profile, at the point where the desktop would appear message is displayed to say "logging off" and returns me to logon screen.
What I have done to date: --
wiped Windows 7 box and reinstalled
Wiped user profiles both local and on PDC (including all user information)
Performed a complete uninstall of Samba (including TDB's) and
reinstalled a fresh copy of Samba and manually edited the smb.conf is a minimum basic PDC
I have no problems with Windows XP (SP3) box at any stage
View 3 Replies
View Related
Jan 11, 2010
I'm using ubuntu 9.10 x86 server edition and I switched to Ubuntu from Debian. The only problem I have now relates my Samba server. I installed Samba v 3.4.0 and suddently my network connection (eth0) goes down. I have never seen that before. This issue only happens when samba is running.
View 3 Replies
View Related
Feb 24, 2010
My setup:
Ubuntu Karmic Server Edition 64 bit
Dell PowerEdge T610
4 internal NIC RJ45
1 add-on NIC Fibre 1 Gb
Samba 3.4.0
two shares intended for WIN clients
Connections: eth0 (the first internal NIC) is part of a private network of 4 servers connected to a Gb switch. this connections serves as a fast link among these servers to regularly transfer (backup) large quantities of data. Only I can utilise it from within the server room (among those servers, obviously).
eth0: 192.168.0.AA1 eth4 is the Intel add-on NIC with 1 GB fibre connections to the public network of our institution. This is the link/IP my WIN clints have to use to access their shares. eth4: 134.XXX.YYY.ZZ1
My Problem: Despite having including both interfaces in my smb.conf only the internal connection via eth0 lives up to my expectation and delivers up to 50 MB/s. All clients trying to connect via eth4 will be able to see and access the shares, but file transfers commence with speeds severely below 0,5 MB/s with lots of aborts and warnings from the WIN file explorer.
So I experimented with the setting "interfaces" in the global section of smb.conf --- to no avail. I even set samba only to eth4: same problem. Only way to get flawless & fast transfers is the way through eth0. The samba log files of the clients I tried do show some errors, but I fear I am unable to interpret them properly.
/etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface Intel Gb link via fibre
auto eth4
[Code]...
View 5 Replies
View Related
Feb 24, 2010
I am using ubuntu with samba. I have a windows 2003 server and i want to log in from the w2003 to the samba server. But when i do this (i have samba set up and made the shares) i get a pop up asking for my username and password.
when i fill in administrator (i am logged in at the w2003 with administrator) the username changes to samba/administrator, but i cannot log in.
View 2 Replies
View Related
Feb 25, 2010
I am running Ubuntu 8.04 LTS as my Samba/LDAP PDC on my network. Unfortunately, I need to get a newer version of samba than the current repositories for 8.04 provide. I need the Samba 3.4.0 that has been updated for Ubuntu 8.10 to allow Windows 7 to join domain as outlined here (I am currently running 3.0.28a I think). Is there a way to set 8.04 to use the 9.10 repositories and use apt-get to install samba 3.4.0 from them?
View 3 Replies
View Related
Mar 22, 2010
My problem is that the samba daemon does not start on boot-up anymore on my file-sharing server.Samba starts flawlessly if start it manually.If I run:
Code:
/etc/init.d/samba status
I get :
[code].....
View 9 Replies
View Related