Ubuntu :: Connect To Samba Share Using Kerberos
Jul 12, 2010
I have an Ubuntu server that's part of a Windows domain and requires Kerberos authentication when connecting to its Samba shares.I have an Ubuntu desktop machine that is capable of obtaining Kerberos tickets via kinit and can successfully connect to the Samba share on my Ubuntu server using Kerberos authentication via smbclient.
View 2 Replies
ADVERTISEMENT
Dec 5, 2010
I just installed UNE v10.10 on a new netbook and I guess I've become too spoiled using the Desktop's PLACES->Connect to Server because I can't find where this is in UNE. I'd also like to "bookmark" it so I can single click to connect to "crunch20/netshare2" (I have added ip for crunch20 in /etc/hosts).
View 1 Replies
View Related
Mar 4, 2010
I am running Jaunty 9.0.4. I used system-config-samba (gui) to configure Samba. I put myself as a user and tried to map the drive from my local PC. I am unable to map the drive. On windows, I try to connect using a different user and when I select finish, it prompts me again and adds my workgroup before my user name.
View 8 Replies
View Related
Jul 12, 2011
We have Ubuntu Server for samba share. We have windows xp clients working perfectly as client station.However, we are facing problem in connecting ubuntu client. Can anyone guide me, how to connect ubuntu client to samba share. (Not as root user)
View 1 Replies
View Related
Sep 1, 2011
Yesterday I reinstalled my ubuntu 11.04 and now I cant get samba to work. I allso installed Firestarter to get internet connection to my media center pc. In firestarter I have unchecked in the "advanced options" "block broadcast from external network".In my media center pc when I go network connection and view workgroup computer, I cant see my computer at all. If I try to ping my computer then everything is ok.
View 1 Replies
View Related
Jan 9, 2010
I've setup a samba server on a centos 5 machine and am trying to connect to it via a windows 7. The problem I'm encountering is that the only share I am able to connect to is the tmp share. It doesn't matter if it is a protected share or not, I always get a "network path could not be found error" when trying to open the share from windows.
View 5 Replies
View Related
Jun 17, 2010
Fairly new Linux user, running Fedora 12, attempting to set up a simple Samba share to share files with a Windows box. I've gotten to the point where I can connect from the Windows box, and see a home directory and the directory I'm trying to share. The home directory is accessible and works as expected, but when I try to access the other directory I get "The network path could not be found."
View 5 Replies
View Related
Jun 1, 2011
I'm running 10.10 on a pretty fresh install with a brand new system I built especially for Ubuntu.For some reason, I'm beginning to have trouble with accessing my Samba shares from this computer. I have a Windows Home Server also running on my network and I have to be able to access the files on it.At first Nautilus showed "SERVER" in the folder tree when I clicked on "Network" and everything was working great. A couple of days ago my WHS "SERVER" suddenly no longer showed up in Nautilus and I had to mount the WHS server manually (via "Connect to Server...").
Now, today, even that doesn't work. When I try to mount manually I get the error "Failed to Retrieve Share List from Server". I can now no longer access the WHS from Ubuntu at all.Why has my ability to access the Samba shares on my WHS deteriorated over time to the point where I can't access them at all?? Any ideas?I have other systems on this network (Mac and Windows) and none of the others have any problems at all with the WHS. Re-booting WHS and router has no effect. I've changed nothing in my set-up. Is this update related?
View 1 Replies
View Related
Mar 9, 2011
I am setting up samba on my CentOS server for the first time. I am using webmin to configure samba. Here is the smb.conf
Code:
[global]
netbios name = KISKA
cups options = raw
load printers = yes
server string =
[code]...
I can see the domain name "KISKA" in the "network" tab of windows explorer, however when I click on it I get this error: Windows cannot access \KISKA check the spelling of the name. otherwise there might be a problem with your network. Under the details of this error I get this: "The network path was not found" Also I have stopped iptables so it cant be firewalled
View 5 Replies
View Related
Aug 29, 2010
I'm running Lucid and and trying to get Samba set up to allow sharing files on my network. My problem is that my Windows laptop (Win7) can't see the Linux PC when I click on Network. It only shows my own laptop and my roommate's Vista laptop. However, if I manually connect to the computer (\serenity) it works just fine.
Right now I'm simply using the smb.conf that comes with the package and adding my share info.
The relevant section is:
Code:
View 2 Replies
View Related
May 12, 2011
When trying to connect to a Samba share, it requires to send the servernetbiosname. Let me try to describe it.At my university anyone has a personal web directory, which is hosted at another university. It's on a SuSE server, shared via Samba. There are several universities on this server, using the same Samba with different NetBIOS names.There is an open Cisco WiFi, anyone can connect. But to use it, you have to use VPN (Anyconnect for example or in my case the module Ubuntu provides).Now my problem is, I can't easily connect to any share on the server (tried several shares from several machine to be sure it's not just me). After trying several variants on bash, I finally figured out, that I have to supply the servernetbiosname to get it to work.Not working:
Code:
root@cmp:~# mount.cifs //svr1.sd.domain.net/htdocs /tmp/mnttst/ -o 'user=uname,domain=DOM' -v
[code]....
View 3 Replies
View Related
Mar 31, 2009
if i try to connect to my samba server ( share ) from my windows xp ( or vista, i've tried both ) it says, that the network share cannot be found. i've installed all necessary rpms on my fedora 10, necessary for running a samba server:
Quote:
[root@********* samba]# rpm -qa |grep samba
samba-common-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
samba-winbind-3.2.8-0.27.fc10.i386
after that, i've configured the smb.conf file, as follows:
Quote:
[root@*********** samba]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
workgroup = GROUP
[code]....
there is no iptables definition, or any other firewall installed, neither on the server nor the client. i've read through alot of howtos an manuals, but was not able to find the problem.
View 14 Replies
View Related
Feb 26, 2010
I have a samba share setup as the following. When I browse to it from PC's added to my AD domain, they connect instantly. When i browse to it from a laptop that's not part of the domain, i get prompted for login credentials. what credentials should I be putting in? I can't seem to figure it out. or is it because i have the workgroup set to what my AD domain name is, and the laptops aren't part of that domain.
path = /data/photos
browseable = yes
force user = pictures
force group = picturesgroup
[code]....
View 12 Replies
View Related
Mar 9, 2010
I have a networked raid drive. Thecus 2100. Its running linux, and includes samba sharing. On that I have a folder shared. I can connect to and read and write from nautilus. No problems. However, I can't use other apps through that method. Its not really "mounting" that drive in the sense you'd normally think of (afaik).
If I try to mount the folder, no matter how I have tried so far (-t cifs, smbmount, etc), I can navigate the folders, but if I try to read any file I get a permission error. Looking at the permissions with 'ls -l', everything looks OK. The weird thing is, I can write a file, then read that file back as long as its the same session.
Just now I tried 'smbclient' with no special arguments. Just the server and path url. It asked for my password. Once I was in, I had no trouble getting files. I had a thread about this a while back and there were several links and all sorts of command line options to try, which I did, with no different outcome. I think its got to be something much simpler and more obvious. smbclient and nautilus seem to have no trouble. Anybody know what they're doing differently?
View 5 Replies
View Related
Jan 3, 2010
I just recently constructed a computer to create a nice Fedora Linux server to replace a Mac Mini server that I have been using for a few years. I'm attempting to create a Samba share for my machines, a Windoze 7 machine as well as a couple MacOS 10.6 machines. I've set up Samba, started the service, allowed Samba in the firewall, and used system-config-samba to set up a share with a user. I created a User called "space", and a share /media/peliculas/Movies (a mounted hard drive). When I type in \IP_ADDRESS in the address bar in windows 7, I get the option to log in. I log in correctly and I see two directories "space" and "Movies." Unfortunately when I click on one of them I get the following error message:
Windows cannot access \IP_ADDRESSMovies Check the spelling of the name. Otherwize, there might be a problem with your network. To try and identify and resolve network problems, click Diagnose. I also get something similar when I attempt to connect with my mac machine. Using "Connect to Server" I type in: smb:\IP_ADDRESS, and login, I have the option to mount "Movies" or "space." If I select any of these, I get the following error message: There was an error connecting to the server "IP_ADDRESS." Check the server name or IP addres, and then try again. If you are unable to resolve the problem contact your system administrator.
Also, if I type 'smbclient -U space -L IP_ADDRESS' I can see the "Movies" in the "Sharename." At this point I'm not sure what else to do, and have been trying to figure this out for the last few days (losing sleep due to being baffled). The only thing that I can think of is that I have something wrong with the smb.conf file. Here is what it currently displays:
Global Settings
workgroup = WORKGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
[code].....
One last thing, when I check the log files, there are error messages that state: smbd/service.c:1009(make_connection_snum) '/home/space' does not exist or permission denied when connecting to [peliculas] Error was Permission denied --Windoze 7 and MacOS 10.6 log files
View 5 Replies
View Related
Nov 19, 2008
OS:
Red Hat ES 5.2
Kernel:
2.6.18-92.1.18.el5
Samba version:
[root@intranet samba]# rpm -qa |grep samba
system-config-samba-1.2.39-1.el5
samba-common-3.0.28-1.el5_2.1
samba-client-3.0.28-1.el5_2.1
samba-3.0.28-1.el5_2.1
When I try to connect to the share from my XP machine, I get a "network path cannot be found" error message.
Below is the entry in /var/log/samba/samba.log
[2008/11/19 11:57:51, 0] smbd/service.c:make_connection_snum(1003)
'/server2/test' does not exist or permission denied when connecting to [server2] Error was Permission denied
Here is my smb.conf file:
[global]
# Server name
server string = Intranet Server (Primary)
# These are the default password settings.
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd
# Define NT domain/workgroup name.
workgroup = intranet
# Security mode. (See SAMBA documentation for details.)
; security = user
# Restrict conections to specific IP addresses.
hosts allow = all
# The %m variable sets a separate log file for each
# connecting machine.
# log file = /var/log/samba-log.%m
# Keep it basic - one file!
log file = /var/log/samba/samba.log
# The number of minutes inactivity before a connection is
# disconnected. (This disconnection should be transparent to most
# clients, which an have auto-reconnect feature. Removing inactive
# connections is to preserve the server's resources.)
deadtime = 10
# These socket options are suggested in the default smb.conf file.
# Who am I to disagree?
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Define both Ethernet interfaces. (Otherwise, I suspect only one
# will be configured??)
interfaces = eth0 eth1
username map = /etc/samba/smbusers
; guest ok = no
; guest account = nobody
[server2]
comment = server2
path = /server2/test
write list = @intranet
force create mode = 775
force directory mode = 2775
writeable = yes
; browseable = yes
valid users = intranet
/server2 and /server2/test are owned by user intranet and both directories have permissions set to 777.
Has anyone come across this problem in the past?
View 3 Replies
View Related
Sep 15, 2009
I'm trying to set up a VPN connection between our CentOS 5.3 server at work and my bosses XP computer at home. At this point, we are kinda locked into Quickbooks. I'm testing the connection from my XP boot at home to see if it works. I can log into our servicemanuals easily enough from XP at home however, the windows takes forever to update. I have the Samba server only listening on port 445 because is seems to work more efficiently at work. I connect to the Samba shares via linux from home and everything works well but, when I try to do anything with the shares from Windows client at home, it's very slow!
I'm thinking that it must have something either to do with the Windows OpenVPN client or the client.conf file. Is there anything I should look at in the .conf file for answers?
View 1 Replies
View Related
Dec 29, 2010
i have 2 machines:
first machine: Samba
second machine: LDAP + Kerberos
I found to many tutorials that samba is installed on the same machine as LDAP + Kerberos. is there like a tutorial how samba can be integrated with kerberos from different machine?
View 1 Replies
View Related
Jul 17, 2010
Is it possible to secure samba server with kerberos? I want to know whether we can use kerberos authentication to secure samba user name and password so that mo one can sniff that information. configuration or any URL link from I can get the exact configuration.
View 1 Replies
View Related
Oct 14, 2010
I have a samba server for company file shares but we do not use domain services or active directory service. Each workstation is its own standalone system. (And we want to keep it this way.) I would like to have some centralized authentication though, and it looks like Kerberos will provide that. After a lot of searching though, I can't find any instructions for setting up samba to authenticate users using kerberos without an ADS (active directory service) or domain. Is this possible?
View 1 Replies
View Related
Feb 25, 2011
I have the following version of centos,kerbose and samba (Samba version 3.0.33-3.29.el5_5.1, krb5-libs-1.6.1-36.el5_5.5 , krb5-workstation-1.6.1-36.el5_5.5 , centos-release-5-5.el5.centos) i have configured it and qhw i givit give me the following error Failed to set password for machine account NT_STATUS_ACCESS_DENIED) Failed to join domain: Access denied
[Code]...
View 10 Replies
View Related
Feb 13, 2011
Trying to setup a Kerberos + OpenLDAP server to manage users for our Samba shares (was going to use just OpenLDAP, but apparently it is less secure than using Kerberos with it). (Distro: CentOS 5.5) Haven't even gotten to the point of connecting either to Samba yet. I have set up a Kerberos server, and configured it as necessary. I am happy that it is working as intended, as I can login and manage principals from both the local terminal and remotely on other clients.
I have setup a server (sv1.myhost.net), and configured it to talk to Kerberos (auth.myhost.net). I have created both a [URL] principal, and a testuser principal. I have set the password on the testuser but not on the host/sv1.myhost.net. I have added the keys for both users to the keytab file on the sv1.myhost.net. I am at a Windows 7 machine (on the same internal network), and have installed the Network Identity Manager. It is able to request a ticket successfully for the testuser account.
When I use putty w/GSSAPI (0.58) to remote login to the system, it says using 'testuser' and then just hangs there. Eventually putty connection times out. The fact that both machines can connect to the auth server to communicate with kerberos correctly suggests firewalls are correct. The relevant entries in sshd_config have been uncommented to tell srv1 to use Kerberos authentication.
View 3 Replies
View Related
Mar 18, 2011
I am attempting to share a folder from an existing drive that has been formatted in NTFS. I simply right click on the folder, goto share, and I can see the option to share to UNIX and that works with no problems. My question is; why is the SAMBA sharing dialog grayed out?
View 1 Replies
View Related
Apr 26, 2011
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
setsebool -P samba_domain_controller on
Trying to connect to samba locally gives me this:
Code:
[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
[code]....
View 6 Replies
View Related
Jan 22, 2011
I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got
Firewall off (utf disabled)
Internal Sata /dev/sda1 (EXT4 FS)
External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)
I have two shares
1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.
2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.
View 4 Replies
View Related
Feb 15, 2010
I have karmic on my laptop, and I can't access my windows network. I have had previous versions of ubuntu and managed to configure samba. However, since my last reinstall, I can't get it to work.
View 7 Replies
View Related
Feb 22, 2010
how do you setup a Samba share from the CLI?
View 3 Replies
View Related
Oct 28, 2010
I'm running Ubuntu 10.04 and Samba 4.The folder I've shared is on NTFS partition and though is visible from other Windows 7 system on LAN, can't be browsed. Even from my own computer if go to network places the folder is there but when I double click on it I get
View 9 Replies
View Related
Dec 11, 2010
I need to mount two Samba shares from my Ubuntu Server to my Desktop they are:
[shared]
path = /media/share
read only = no
guest ok = yes
[www]
path = /var/www
read only = no
I made two directories in my home folder on the desktop called share and www how do I mount these now? I have to use the terminal btw.
If I run the command: smbclient -L //192.168.10.101 which is the IP of my server it works.
View 1 Replies
View Related
Sep 1, 2011
I use an IBM S50 desktop running XP as a file and print server via Windows shares and so far all my XP and Ubuntu laptops can see and use the shares. Now I would like to move the S50 to Ubuntu and still use it as a file and print server. To test this, I have installed Ubuntu 10.04 via wubi and then I installed samba. First thing was to do the simplest case: follow the official documentation,
[URL]
I followed it to the letter, editing the smb.conf file, creating a /srv/samba/share directory, changing the permissions, and restarting the daemons. I was able to read and write to the share with my Ubuntu laptop. Success! However, my Windows laptop can see the Samba server, but when I click on the share, "Ubuntu server (Samba, Ubuntu)" to reveal the file system, it asks for a username and password.
how to let XP access the Ubuntu share?
Code:
workgroup = workgroup
server string = %h server (Samba, Ubuntu)
security = user
[Code].....
View 7 Replies
View Related