Ubuntu Networking :: Samba - Access The Share On 300 Windows Machine - Systems At A Time
Mar 8, 2011
I have ubunto desktop 10.04 LTS I installed samba and able to access the share on windows machines. However i want to access the share on 300 windows machine(for example) systems at a time Is it possible.
I try to access my ubuntu machine via my Windows Machine (Samba Server on Ubuntu Machine). Anytime I try to access the machine it asks me for my password...I enter it but it says it is invalid....is there anyway to reset it? I have already tried to remove and purge everything Samba related and then tried reinstalling, but that still didn't do anything
I am trying to see share files on my windows machine to my linux machine. I would like an answer to how to fix the problem. This is where i am at i am using my own network to learn who to use nmap properly. I ping my whole network with nmap -sS -O. Then i used nmblookup -a which gave me the infromation i needed. Then i run smbclient -L computername -I ip address -N
This will not show me the windows os this only show me my laptop. What can i change for this to show me the other computer on this network. The port i am wanting is open. I want to be able to mount the share files and move them to my computer i am going to use the commands put and get to move the files when i am able to get to the smb: >
I have Linux installed on one machine with samba running and a second machine running XP. They are going through my router and I am using the same username/passwords for both machines and I have even gone to the point of allowing access to everyone for the share I created and the worgroup in samba is MSHOME just like my XP machine. When I view (or search) my workgroup computers my Linux machine shows up and so do the shares I created but when I try to open them I just get a message that permission is denied and I may not have permission to use this resource. I even tried setting access to the shared folder to 777 but still I can't open this share. Has anyone got any idea of why this is?
I am running Ubuntu 9.10 on my desktop right now. I have an external western digital terabyte drive plugged into it. I am able to see it and view it fine. Let's work with my music folder for example. I want to be able to access this music from my Windows 7 laptop so that I may add it to my itunes. However, when I enter the \servershare from the windows 7 laptop it says that the "server" is found but the "share" seems to be invalid. I've checked this 20 times and setting the share name to "music". I've rebooted 2 times on each computer yet to no avail. If I make a share on the Ubuntu desktop I can access it from the laptop. So it seems like it just gets lost when looking inside the external. This was just working last week, then I had to blow away they win 7 lappy and now it just won't work!
he moved in a new place and there is a huge share on the network machine which runs windows... however he has fedora 10 installed on a desktop pc with a big screen and asked me to configure it so it can access the share... i have almost no experience with fedora and i've been trying to do this for two days now... i installed the samba package, but now what? how to do this because the exact commands are unknown to me... i have the root password and everything else on the network... so i just need to know what ot write in order to be able to mount all the TBs of information on the server...
I have Samba shares on a Red Hat server vmware virtual machine. We just upgraded our vmware tools and vmware hardware to vsphere and now I can't authenticate to the samba shares. It prompts for credentials, but it won't take the login. Has anyone seen this or have any idea how to fix this?
I am trying to establish the easiest way to share a folder from an Ubuntu machine to a Windows machine.In the past I have added things to smb.conf and that has all worked fine but what I am trying to do is to figure out what the "new user" way of doing this is so that when I am helping other people I know I am getting them to do the simplest thing.I completely removed samba and reinstalled it so that I didn't have any configuration. Right clicked on a folder and selected "Sharing Options" ticked the "Share this folder box" gave it a name and a comment and ticked the other two boxes.
When I went to the windows laptop then it kept asking for a username/password and nothing worked.Back on the ubuntu machine I did sudo smbpasswd -a [username] and created a blank password. Now from the windows machine I can access the shared folder.Is the smbpasswd step still required? It's very confusing for a new user as there is no suggestion that anything other than right clicking on the folder and choosing the options you want would be required. Is it something to do with the fact that this is an ubuntu machine that has gradually been upgraded through versions and this problem wouldn't have been there from a new install?
i did install and configure samba buy google tutorials. I can ping the centos box from windows but cannt access folder which is on centos. I can ping the machine.
I have set up RHEL 5 file server with Winbind and samba services running.I am able to assign and authenticate windows XP users against my RHEL 5 server.No issues.But one or two of my users are using Windows 7 Ultimate edition and they are not able to access my network samba shares.I can view the shares in windows 7 box but trying to access gives me "network access denied error".But i can access the same share in Windows xp machine for the above tested users.Working great but not in windows 7 box.I haven't tested with Vista OS yet.
I have 30 systems in a LAN . My users need to login as domain user from their XP clients and store their files in the Linux server. They should not be allowed to store in local machine and also should be granted a particular size of space in server.
what are the procedures to be done in linux server and
just like in windows we access shared files in by typing in run command
\192.168.0.1 is there a provision to view shared files from xp to Linux
I can't be the first one with this problem. What am I missing?
I have setup Samba servers in the past, just none under SELinux. The last one I configured was a couple years ago, so I wouldn't doubt I'm a bit rusty.
---- Environment summary: Clean server install of CentOS 5.4 includes SELinux - lets call this 'server' - updated samba to 3.0.33-3.15.el5_4.1
Client1 - Windows XP sp4 - WINS configuration uses 'server' noted above Client2 - Windows Vista - WINS configuration uses 'server' noted above
---- What works / what doesn't ------ Clients can see the server (XP and vista) in network neighborhood. The following does not work from windows (xp or vista) net view net view \server net view \server-ip net view \servershare
This does work on the server smbclient -L \server smbclient -L \server --user validuser smbclient -L \client1 --user validuser
---- What I have configured and tried (config/output below) -------- firewall ports for samba are open SELinux enforcing or permissive file context is set on share samba booleans are set
***firewall -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT -A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p udp --dport 139 -j ACCEPT
***SELinux mode/booleans # sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: permissive Mode from config file: enforcing Policy version: 21 Policy from config file: targeted
# getsebool -a | grep smb allow_smbd_anon_write --> off smbd_disable_trans --> on
# getsebool -a | grep samba samba_domain_controller --> on samba_enable_home_dirs --> on samba_export_all_ro --> off samba_export_all_rw --> off samba_share_fusefs --> off samba_share_nfs --> off use_samba_home_dirs --> on virt_use_samba --> off
I have a samba-share that mounts on my desktop. But how do I find it from applications? When I browse from application is not visible in the desktop folder.
PS. I find it with smb://pathway, but I don't know how I can do it from some gui-applications.
I need to access a windows share at my university's server. When I am at the university, I can access the share by nautilus (or dolphin) in a similar way to ftp:
smb://domain%5Cusername@server/share
The thing is that when I try the above anywhere else except the university, it does not connect. I guess it has something to do with the domain, but I am not sure.
My work uses an internal software suite where the data is hosted with a linux server. It uses mysql and samba shares. We are currently opening a new location and need to be able to access the samba shares. We are able to access the mysql databases. The samba shares are used to store various files for the software such as updates, invoices (as pdf files), etc. I've setup vpn connections using windows servers in the past but I can't, for the life of me, get a VPN server setup on our linux server that windows will connect to. I've tried openvpn and pptp. I'd prefer to use the built in windows client to connect.
I am trying to properly mount a samba share in order to access it from a terminal and run a script that I've written over a folder in the share. How could I do that? I tried smbclient but after successfully logging in I couldn't issue the sh command. Isn't it possible to have it mounted in the /mnt folder like a normal filesystem?
cannot restrict share access to a single user. I've played with the security and valid users options in the smb.conf and I can get it to mount if I remove the valid users option, but this does not provide the access restriction I need. I also left it open and tried making the folder permissions rwx for backupadmin only and that didn't work. I'm using a credentials file which I include below, but I've tried manually entering them in the command too.
[root@aaphst02 /]# mount -t cifs //aapsan01/aapxen01 /mnt/aapxen01 --verbose -o credentials=/root/smbcreds mount.cifs kernel mount options: unc=//aapsan01aapxen01,ip=10.0.1.34,user=backupadmin,ver=1,rw,credentials=/root/smbcreds,pass=********
I've used Samba for several years and when it works it's great. Unfortunately from time to time it seems to get messed up and either all the 7 machines on my home network can't be seen or I can't access the shares on some. I have 2 Windows XP computers 4 Kubuntu and one Linux Mint KDE, all the latest versions. I'd rather not plough through all the documentation for Samba, but would really like a "model" smb.conf with a few comments about parts that might have legitimate variants. I have researched this with Google searches many times but have failed to find the information I need in concise form.
I need to access a Windows Server 2000 machine using a Linux machine via KDE, but that will migrate to Gnome. The Linux user to connect to Windows machine, you should open an application 'XYZ' automatically, and only this, denying any unauthorized access. When you close the application 'XYZ' communications (RDP?) Should be terminated. Do I need a log of accesses and possible attempts to circumvent the system and access other application.
I have a fedora 10 box with two network card on eth0 I have a pppoe connection to the internet, on second card eth1 I share my internet connection end I set up a samba server but I don't know if the settings are good. How to do this settings right to work fine, the ip are assigned by dhcp I don't use any static ip .When I try to browse the internet from the other computers some site's like {.com ; .org ; .info} are block, other site from {.ro} are working. Someone tell me something about turn off all my filters, but I don't know where to find this filter to turn it off. And when I use samba I can't have and internet access or vice versa. My network look like that:
I'm able to connect to a networked Windows machine and its shares using the Places -> Network -> Windows network interface, but unable to do so using smbclient at terminal command line. I can see the shares using:
smbclient -L //server -U username
But when issuing the command:
smbclient //server/service -U username
I get:
domain=[server] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2] tree connect failed: NT_STATUS_BAD_NETWORK_NAME
The share name has spaces, like
lab raid root share
I use 40 to fill in the spaces. This problem must be something fairly simple if I can connect via the Places GUI but not through the command line.
I am trying to share files between my Windows XP machine and ubuntu server. I set up and configured samba following the instructions in the Online Ubuntu Server Guide. [URL] This is the abbreviated version of my smb.conf file here.
[global] workgroup = HOME server string = %h server interfaces = 127.0.0.0/8, 192.168.1.101/24 # map to guest = Bad User
I am trying to create a Samba share on Ubuntu so that I can see it on my Windows computer but have had nothing but trouble. I've tried everything that I could find in Google but the best I can get is that my Ubuntu computer shows up as Unknown device on my Windows computer. Unfortunately, my Windows computer belongs to my company or I would just switch to Ubuntu altogether. I have posted a couple of screenshots of what I see in Windows, my GParted partitions, and the options that I have enabled for the folder I am trying to share. Below are my fstab and my samba files from Ubuntu. I am sure that this is just some rookie mistake as I am new to Ubuntu. It certainly seems that this should be easy, but I just can't get it.
I'm trying to make my music directory, located on my Ubuntu box, available to all the windows clients (Windows 7, to be specific) located around the apartment. It seems to work fine, I can see and read from the shares from my windows box, but deleting files doesn't work, I just get a permission denied.I've tried being as lenient as I can in the smb.conf, as well as setting 777 on the affected files, nothing changes. I've read, from my various googling, that the octal file permissions aren't as important as the samba permissions. Okay fine, but how do I tell samba to ignore permissions and let everyone delete files? I've read that samba works with samba users, but again, I don't care about users, I just want a global share that anyone can connect to and read (and delete) files.
Here's my smb.conf file: http:[url]...As you can see, I've played around a bit with options, but I just can't seem to get anything to work.
I'm giving up in ever hoping that I'll get printing working with windows 7 with the strange comments I've found on the net. Basically I have a samsung ML2240 printer shared on the network, everything can print to it fine except for my windows 7 laptop. It's shared via Samba.
Quote:
Once you have extracted the driver files, copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below:
[Windows 2000 and higher] ps5ui.dll pscript.hlp pscript.ntf pscript5.dll
However after checking this, I dont have the files named within int he correct folder on my windows system :
%WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers.I've tried installing the printer via the windows installer, however this adds the driver then tells me its not working and fails to print. I really dont know where to turn with this one. I've tried installing the samsung supplied drivers from the website. However they still fail to connect.
ubuntu 9.04 and win xppro i've been pounding my head aganst this for hours now. reading anything i can find samba works mostly shares created from nautilus work fine from both ubuntu and windows if i check to allow guest access if not i can not log in it does work in the nautilus browser fine. shouldn't make a difference but am using a virtualbox win xp guest shares work without issue. printers work here is a dump of my service defenitions
[global] workgroup = HOME server string = %h server (Samba, Ubuntu) map to guest = Bad User
I have a linux box that I'm using to mount a windows 7 share with samba or cifs. The mounting itself goes fine, but directories with more subdirs or files do not seem to have all the content they actually have.
For example, viewing my music folder shows only first 37 subdirs. The ls says "total 49", which is the correct amount, but the listing itself shows only 37 first in alphapetical order.
On the other hand, my wallpaper folder contains 122 files. Ls claims there is 41872 and displays only 70.
Adding the mount option noserverino increases the listed files or dirs, but it still does not show them all.
I've tried to enable debug printk level, but dmesg doesn't show anything interesting.
I've tried to change values in /proc/fs/cifs, but it does not seem to have any effect.
I've tried changing samba package. So far I've tested with 3.5.7, 3.5.2, 3.5.4 and now 3.5.8.
My distribution was yesterday slackware 13.1. Today I upgraded to 13.37 (with samba 3.5.8) but the problem persists.
I've tried with kernel versions 2.6.35.12, 2.6.38.2 and 2.6.37.6.