Ubuntu :: Samba Keeps Asking For Password?
May 9, 2010
I've installed a Ubuntu Server 10.04, LAMP configuration,,, nothing extra beside that.
Then I followed this instruction [URL] to set up Samba.
When trying to access the "share" from my windows 7 client, it keeps asking for user and password.
I've been googling around and have found a lot of people having simular problems, but I cant(I think) find any solution relevant for me.
View 1 Replies
ADVERTISEMENT
Jul 17, 2010
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
View 2 Replies
View Related
Jun 24, 2010
I have NIS setup to manage all my users, and I have samba set up to share out a directory to the users windows computers - which are part of a corporate domain. I have a requirement to synchronise the NIS password to the Samba password so that when a user changes their password in the Linux environment it automatically updates the Samba password so that the user can simply update the password stored by Windows Explorer.
View 1 Replies
View Related
Oct 17, 2010
I have a ubuntu pc that has an attached printer that I want everyone on the net work to have access to to print. I have added the samba printer but it keeps asking for a darn password every time I print something and it is driving me nuts.
Smb.conf
Code:
[global]
## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
workgroup = mshome
[code]....
View 4 Replies
View Related
Jan 29, 2010
I have installed winbind, portmap, and samba/smbclient packages on the workstation linux ubuntu , which is intended to be client to samba for /etc/password attached to the server. At boot nothing changed, and the /etc/password is not attached to samba. So my passwords are stil the local of hte client, and not the server. This is my config of the client workstation:
[Code]...
View 1 Replies
View Related
Mar 20, 2010
Iam trying to get samba work with no password on my home network. I want to have Writeble permissions for creating files and folders and sub folders in the shared folder with no password needed.
I have this set up
Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
[Code].....
I can access the /home/seb/ directory but cant write in it. And with the same permissions for the down directory I cant even access the folder from the other pc it only says "Could not display "smb://laptop/down".The file is of an unknown type"
And finally how can I clean up the smb.conf so it is readable?
View 5 Replies
View Related
May 5, 2010
I'm currently running two computers running Karmic (one was upgraded from Jaunty), and both are running Samba servers. Before I upgraded from Jaunty, I was running Linpopup for a simple Winpopup program to just send and receive Winpopup messages. Afterwards, it was removed due to a lack of support, so I installed it manually, finding all the required packages on the Ubuntu Package List site.
My current problem is that running Code: smbclient -M [network-name] asks for a password before it will let me enter my message, which means that I have to add my password on the first line of my message in Linpopup. My question is, why do I have to enter a password just to send a Winpopup message between computers and how do I disable this? None of the documentation I've found so far indicates anything about fixing it, let alone that the problem exists.
View 1 Replies
View Related
Jun 15, 2010
Prior to Karmic I had samba working well. Karmic upgrade broke samba with an endless password loop when trying to connect to a samba server. I have not been able to get it working since, including after upgrade to Lucid. I've now encountered a similar problem attempting to login into an SSH server. Laptop to desktop, (Karmic to Lucid),ssh ok, reverse no joy. (sshd running on both).
View 1 Replies
View Related
Jul 23, 2010
I'm using Ubuntu 9.10 and trying to install a printer over the network which is plugged into a Windows 7 machine. I can see the workgroup fine and the computer fine on the network, but when I try to double-click on the computer (both via the nautilus and the printer setup route), it asks me for a username, workgroup and password.
I tried the account's username and password and username "Guest" with no password but neither worked. The weird thing is that when I booted my machine into Windows XP and tried to install the same printer, it never asked me for a username and password and installed just fine. Why is Samba/Ubuntu asking me for the Windows 7 password when Windows XP didn't need it?
View 5 Replies
View Related
Sep 21, 2010
I've got a problem whereby I am running NIS with Samba exporting a local filesystem to a number of Windows Clients who mount the filesystem as a network drive.However, I want the Samba password to synchronise with the NIS password database, I have spent many hours trawling Google results but can't seem to find an answer that I can understand.My Environment.
Server: RedHat Enterprise Linux Server 5.3
NIS Version: 2.19
SMB Version: 3.0.33-3.14.el5
Clients: Windows XP and RedHat Enterprise Linux Client 5.3Shadow Passwords are enabled.NIS Master and SMB Filesystem are on the same system.If anyone wants me to provide config files if you let me know which ones you want to see and Ill get them posted
View 3 Replies
View Related
Mar 3, 2009
I am trying t set up my ubuntu samba server for users to login with out a username and password for a folder but I keep getting errors this is the config for the folder.
[global]
; General server settings
netbios name = LON-TI-OFF-01
server string = %h server
workgroup = LON-TI-OFF
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = SHARE
null passwords = true
#username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes
printing = CUPS
printcap name = CUPS
syslog = 1
syslog only = yes
[images]
path = /home/images
browseable = yes
read only = no
writeable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
force group = users
public = yes
View 5 Replies
View Related
Feb 3, 2011
How to create a smb share without prompting win users for a password?
Following is my smb.conf.
I have added a user called ux_share in the system and created the /home/ux_share/share with the right permission. And created the smbuser ux_share too.
Now when I try to access the share from a winbox it prompts for the passw.This share is likely to access by several winusers and i have no idea about thier workgroup names whatsoever. This is just a simple share im trying to publish just like an annonymous vsftpd account.
View 4 Replies
View Related
Apr 20, 2010
I remember that some time ago I found a guide on the Ubuntu website about adding samba shares to mount at boot via /etc/fstab. The guide also mentioned using a credentials file to store the username and password.
However, the password was encrypted (in md5 I think) and it could not be read directly, but it still worked with fstab mount. If I remember correctly, the file contents were similar to this:
Code:
useraname = user
password = --md5
where was replaced by the encoded password. All was done in terminal. Recently I changed computers, and re-installed Ubuntu, but I forgot to save that file so I am not sure about the contents. I would like to know how to do this again, but I can't find the guide anymore. Does anyone know how to do this? Storing the password in plain text in file readable only by root is not acceptable because it can be read by someone mounting the drive from other operating system, and the share cannot be mounted/unmounted by regular users (which is possible with the md5 encrypted password).
View 1 Replies
View Related
May 31, 2010
I have created a shared folder via nautilus. I can not access it, because it asks me for user name and password again and again. I'm sure both username and password are exactly right. But I can not access the folder. Only when I check "Allow guest user access" it will allow me to access my data, Which is not secure enough for me.
View 6 Replies
View Related
Sep 30, 2010
I'm on Debian Lenny. I've shared a folder on gnome GUI, then went to win 7. I see my machine, SERVDEB01. When I click on it, I get the login popup. The workgroup set in samba is FILE-SHARING, so I login with the following: FILE-SHARINGmyuser password and that's when I get the unknown username or bad password thing.
I had a look to /etc/samba/smb/conf security = user is uncommented the shared folder appears at the end of the config file In despair, I've also created an identical user on win 7 and the linux box. I've been into the security Local Policies of windows 7 set NTLM to LM and NTLM (instead of NTLMv2) Here's my smb.conf in case it's needed.
[Code]....
View 4 Replies
View Related
Oct 1, 2010
I have a Samba installed and configured on a Ubuntu Server 10.04 box, as a file server, not as an PDC. And I have several Windows 7 machines accessing the Ubuntu Server to store files.
I would like to let users to change their passwords from windows.
View 2 Replies
View Related
Sep 24, 2015
I have setup a samba Active Directory PDC to essentially eliminate the cost of using a Windows PDC. There are other reasons but I won't go into those now.
So everything works fine apart from a couple of things that are bugs in samba until 4.2 which isn't stable yet on debian (so I read).
The one thing that doesn't work is users trying to change their passwords. I can change them from either the PDC or through Windows users and groups. If a user tries to change it they will get the message:
"Mutual Authentication Failed. The server's password is out of date at the domain controller".
The packages I have installed and configured are:
samba
smbclient
smbldap-tools
ntp
krb5-user
krb5-admin-server
winbind
I provisioned the domain using samba-tool domain provision, i have configured kerberos and users can log in fine....it is simply changing passwords that are the issue. I am not sure if this is a samba config issue or where it is. I would hate to have to fall back to a Windows PDC.
Below is my samba config, the [domain] is of course an actual domain on the server.
Samba Config:
# Global parameters
[global]
workgroup = [domain short]
realm =[domain]
netbios name = BILBO
server role = active directory domain controller
[Code] .....
View 0 Replies
View Related
Aug 24, 2010
I'm running sid, reasonably updated. I decided to add a samba share. I installed samba (2:3.4.8~dfsg-2), samba-tools, smbclient, smbfs, & samba-client. I did a "/etc/init.d/samba start" and even rebooted. But when I try to add a samba password for my regular user I can't.
# smbpasswd -a praxis
bash: smbpasswd: command not found
I did a "locate smbpasswd" but I'm only seeing:
[code]...
View 3 Replies
View Related
Oct 18, 2010
I run:
Linux 2.6.27.48-0.3-pae i686
openSUSE 11.1
KDE 3.5.10
When I attempt to determine who's in the samba database or enter a new member in the file I get the following: No builtin nor plugin backend for tbdsam found PANIC (pid 8201): pdb_get_methods_reload: failed to get pdb methods for backend tbdsam
[Code]....
I attempted to upgrade from the software.opensuse.org website with samba-3.60-10.1.i586.rpm. I get a message: Nothing provides cifs-utils needed by samba-client-3.60-10.1.i586.rpm. So I could not upgrade. There are other upgrades on the site but they are not available for some reason. What is an appropriate upgrade? Is upgrading the solution? If not then what?
View 3 Replies
View Related
Feb 10, 2010
I maintain a samba PDC for a small business, our current setup does not work very well; on a hardware upgrade I directled imported the old ldap database and attempting to add machines to the domain causes all sorts of trouble.
I'm 95% sure the original database (which predates my employment) was created using the idealx smb-ldap tools, unfortunately on our current platform (debian lenny) these tools seem to be broken; the only things hey seem to do reliably are set passwords and add posix users, asking them to do anything involving samba/windows causes errors. The idealx tools seem to be abandoned, and I don't know enough perl to try and fix them.
Since the idealx scripts seem to be abandoned, and most of the good samba+ldap how-tos references the idealx tools, I was wondering what people use nowadays to manage there ldap directories; surely they aren't importing .ldif files to add new users/machines like I've been doing. Are people just writing thier own management scripts/web-apps? Or are the smb=ldap tools just broke on debian?how to generate the NT/LM password hashes and proper SIDs, does anybody have anything they could point me to about this?
View 1 Replies
View Related
Jul 28, 2010
I'd like for the server (10.04) to keep samba passwords and unix passwords "in sync"; i.e. when a user changes his unix password (via passwd), his Samba password is automatically changed to match the unix password. Similarly, when a user changes his samba password (via smbpasswd), then his unix password is changed to match. smb.conf seems to make provision for this; following are the applicable entries from my smb.conf:
Code:
obey pam restrictions = Yes
pam password change = Yes
[code]....
View 2 Replies
View Related
Aug 21, 2010
I have an old laptop trying to mount a share with samba on a server.
Laptop and server both running ubuntu 9.04.
When I try to mount a share on the server
I get a password prompt, and no server passwords work.
This is a guest share, and my two windows laptops mount it no problem with no password.
Here's the relevant part of the smb.conf:
Laptop and server are on the same workgroup.
View 4 Replies
View Related
Apr 2, 2010
I'm trying to do the normal setup of sharing some dir's on my linux machine using samba, to allow a windows laptop to access them.
I've managed to get the printer shared and this is allowing to send print jobs, which come out beautifully! however the actual file shares still aren't accessible
Depending on my settings, if I have security = user then when I access from the windows machine I get a username and password box - I dont want this functionality, I want the system to access right away as it would between two windows shares.
If i change security = share then it simply lists the shares, but tells me they are all inaccessible.
I've googled and searched here, tried various different things but I just can't see why/where its asking me for the username/password combo.
Code:
From /var/log/samba/smbd :
Code:
View 5 Replies
View Related
Sep 29, 2010
I on a windows XP workstation mapping a drive \systemnaneshare and it asks for username and password. I disabled guest account in windows 2k3.
View 3 Replies
View Related
Apr 3, 2010
I have just configured samba and it is working fine, the only problem that i have face when i go to access some sharing on samba server it asking me about password but the problem is that its username option is embossed. By default it will login as guest but i dont know the guest password.
View 1 Replies
View Related
Nov 5, 2009
I'm using Ubuntu 9.04 and i've installed my HP Printer and SAMBA successfully. Windows XP clients on my network can successfully print through this shared printer. My problem is, is there a way to put a security password or some sort of authentication before they can print? its because this printer is only dedicated to one department only.
View 2 Replies
View Related
Feb 23, 2010
I recently switched from centos to fedora as my server choice. Probably not the best decision but I like trying new things. Now before I switched I had my samba server setup just they way I wanted it. Now I'm having a hard time getting it back to that way. Here is my smb.conf
Code:
[global]
workgroup = workgroup
netbios name = netbios name
server string = Linux Server
security = user
wins support = yes
encrypt passwords = Yes
domain logons = yes
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
[me]
path = /home/me
read only = no
public = yes
create mask = 0777
directory mask = 0777
browseable = yes
writable = yes
Now I did throw away my old smb.conf because it wasn't that complicated and I figured I could reproduce it.. aside from that everything is working except for the fact that I can access any share I want to listed without it requesting a password. I have a username and password setup with smbpasswd and I think everything else is setup correctly involving samba shares but I have no idea why it won't request a password.
View 1 Replies
View Related
Sep 21, 2009
I have set up my samba server. I tested from my windows side, all the public ones works fine except the [homes]. Here is my [homes] setting:
Code:
[homes]
comment = Home Directories
browseable = yes
writable = yes
The homes is suppose to let each user see his/her own home directory. But I tested at the windows side, I found that windows doesn't even prompt me about username or password, it just directly give me "not accessible" error. How do I config so my windows side at least prompt me about username/password?
View 12 Replies
View Related
Feb 4, 2010
I want to create a webpage where users can change their samba password and before I jump to PHP code i want to write perl code that can be called in php code.I have created two file 1. main.pl - this script actually switch user and call passwd.pl2. passwd.pl - this is actually changes the password {main.pl}
#!/usr/bin/perl
my $username = $ARGV[0];
my $oldpass = $ARGV[1];
[code]....
View 1 Replies
View Related
Apr 5, 2011
I need to see who all the Samba users are. Some other distros keep that in /etc/samba/smbpassword file but I don't have that file here.
Using Slackware 13.1 (64)
View 8 Replies
View Related