General :: Properly Share A File On Box With A Windows Machine In AD?
Oct 22, 2009
I have a linux (Ubuntu server 8) that is busy collecting data files for me, but I need to see them on a windows machine. The winXP computer is in an AD domain. The ubuntu server is running Samba and I believe I have set up sharing - I can see/list the files on winXP. however, when I try to open the files to read ( in this case by Wireshark ) I get a permissions denial. Where and how can I set those permissions?
I need a command-line method of copying files from a Linux box to a Windows machine that is in a domain and requires authentication. I cannot install additional software or services on the Windows XP machine. I can install any software on the Linux machine. I've tried scp, but the connection failed and if my understanding is correct it is because scp requires that the target (windows machine) be running an ssh service. Is there a command-line linux utility that can pass Windows domain user and password and then copy a file from the linux machine to a share on the windows machine?
I have a Win7 deskptop (host) and want to run a linux virtual machine; but I want that linux virtual machine to be able to access a directory on the host machine (in this case, to serve a web directory).
What virtual machine software would you recommend for this?
I am having issues mounting a share on a Windows 2008 Server from all of our Redhat 4 machines. I am trying to back up files before wiping and upgrading them to 5. I will try and post as much information that I gathered after trying different things. I am a newer hire for this network and a Linux newbie.
The scenario is this:
1. Windows 2008 Active Directory. 2. Redhat Enterprise 4 machines
I have root access and I tried entering at the terminal:
" smbclient -L "servername" -U "username"
get the "password" prompt I enter my password and get:
I check event viewer on the 2008 box and last week was seeing:
Event ID: 4625 Keywords: Audit Failure etc, etc "Account for which Logon failed: Security ID: NULL SID Account name: anonymous Account Domain:MYGROUP Failure Information: Failure Reason: Uknown user name or bad password etc, etc
Now the last couple of days the audit failures have not shown up on the 2008 Server box even though I attempted to log in.
The end users used to just use Konquerer smb://"servername"/"share" and it worked but for some reason starting last week this no longer works. Nothing was changed that I know of, this network is in a sealed classified environment with no external access. All additions to the network are monitored and no unapproved software is installed. The lab is in a vault type environment and only a few people know the combination and alarm pass codes so no chance of somebody adding stuff without me knowing it.
I would think with the locked out message it was an issue with my user account but that works fine on the Windows side so I tried my Linux credentials with no success when trying to mount the directory.
Is there something anybody can suggest Linux or Windows side to check? No user accounts work connecting to the Windows share.
p.s. I am aware the above command is only to see the Windows shares but i get the same thing when I just try and mount using CIFS or SMBFS.
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 have a spare machine that has windows XP installed on it and pretty much sits there doing nothing. Both myself and my GF have laptops that we use as our primary machines so I figured I'd just use the spare machine as a file and print share.
Now, I know that I can simply keep XP on there and enable what I need, but Im wondering if I might be better of wiping the thing and installing a linux based os instead.
There's no real reason for me to do this (except that I want to play with linux) so I guess my questions are, is there any point in me doing this? If so what can I do with this machine other than filesharing and what do you reccomend as a fairly light linux installation? Also what else could I use this spare machine for?
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'm interested in viewing the owners of files on a Windows Server 2003 share (mounted on a Linux computer). These "owners" would be users in Active Directory. If it's not possible to see the username, I wonder if it will at least show a unique identifier. Currently it says all files are owned by root with an "ls -l".
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'm running kernel release 2.6.26-2-686 on a i686 and are trying to share files between my machine and some Windows 95/98 machines. When I enter smb://ip_number/share_name in Nautilus, it works. I can browse the files. When I try the same with smbclient or smbmount, it complains.
smbclient -I=ip_number -L=//server/share gives cli_rpc_pipe_open: cli_nt_create failed on pipe srvsvc to machine tf_calibration. Error was ERRSRV - ERRerror (Non-specific error code.)
Trying to setup Samba for the first time and am unable to connect to the share from my Windows machine. It is a very basic setup, just trying to setup a single share to use a backup location for my windows files.
I've done the following: 1. Fresh install if fedora 15 2. installed samba rpm -qa | grep samba gives the following:
3. Used samba server configuration to setup the share and create the samba users 4. When I tried to connect from my windows machine I get the error that the server is not accessible, you might not have permission to use this network resource or I get the error "windows cannot access server, check spelling and try again.
Both computers can ping each other. I opened samba ports in the linux firewall and tried to connect again: same error Disabled firewall all together and have the same error. Here is the output from the testparm command
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 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!
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
What is the best way to share files in virtualbox between host/machine I thought of trying usb but the devices are all greyed out. I know the fix for this but I have to search for it, permission problem I think? Or is there a more elegant way
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?
Two users on both Ubuntu server and Windows 7. Both users admins on Windows. Used SWAT to set up Samba. Printer is local to Ubuntu server. User A can access both file share and printer on Ubuntu server from Windows. User B can access the file share but can only see the printer, not use it. Have looked everywhere I can think of to find out why one user has access and the other doesn't on both Windows side and Ubuntu side. As far as I can tell, they are set up the same. Can anyone provide some direction on what I should look at to find out what might be preventing User B from being authorized to use the printer on Ubuntu?
I would like to use an extra physical hard drive in my linux server to provide my wife a place to backup her Windows XP desktop.I am willing to format this drive as NTFS (or anything else) and have it dedicated to this purpose. I am wondering what is the easiest way to proceed?
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'm the Administrating the computers in my office. I want to monitor the user's activity. How can i remote login without distrubing the user's activity on his computer? Any software need to be installed? (I don't want to use Terminal server client).
I have some file tools on a mint machine that I would rather not install on my mac laptop. Mainly because of the vastness of apt-get and the low risk of installation failure. Anyway, every so often I have a file that I want to process in place using some remote tool. Both machines can ssh right in to each other so I was figuring there must be some script or tool out there that would allow me to type out something like remote [file] [tool & args] to send my file to the other machine, get it processed, then get it back.
Ive been trying for a week now to connect my ubuntu laptop to my windows xp desktop so that I can copy my pics on the desktop over to the laptop. Im using a crossover cable and ubuntu 10.04
I have tried too many things to bother explaining... including reinstalling ubuntu.
I have managed to get ubuntu to ping to xp. I had to set the ip address and netmask (?) manually.
From here i cannot get to my shared file on the windows computer.
Ive tried using nautilus and clicking on network.... I get an icon called "Windows Network" but cant browse further. Ive also tried clicking "file", "connect to netowrk" and typing in the ip address with/out share name. Ive tried using the desktop's computer name etc. Ive enabled the Guest account on windows. I have run sudo apt-get install smbfs and installed samba from the software centre. There are lots of "sambas" in the software centre... i installed the one simply called "samba"
Explain to me what I have to do to move my pics from xp to ubuntu.
I had a connection to my other Windows computer the other day automatically in the Places-->Network-->Windows Network folder but it now seems to have disappeared. I tried going to Place connect to server and typing in the WIndows computer name but it won;t connect and errors out. I also tried the IP: Cannot display location "smb://%5C%5C192.168.1.36/"
I have configured samba in linux .i can share file from windows client. we are not using any domain or ldap. using workgroup only. kindly let me know is it possible to change the smbpassword from client.