The problem I am facing is, with the Samba server configuration.I have configured Samba server with a folder shared between server and client machines. I have tried downloading data from the shared folder on the server to the client machine which is successfully downloaded, however I am not able to upload any data to the shared folder in the samba server.
I have everything networked properly, as far as I can tell, both computers see each other... I can use putty to port in and use my Linux machine (Debian 4). When I go to map network drive on my XP machine, I can see the computer, but not the shared folder. After some googling I found that i have to create my Windows user name ont he Linux machine as a user as well. Unforunately, that user is 'Administrator'. So I told Linux to force user, and it created it, and did smbpasswd command and added the user to the samba list. Still nothing.
i have created an folder inside my redhat server. and i shared it via samba and mapped that shared folders inside 5 windows machine. now the problem i am facing is, if any one create a file in that mapped drive the other user cant edit that same file. but he can read it. only for files not folders.
i gave full permission to that folders and subfolders and in smb file i gave readable writable browsable permissions. and i disabled se linux and firewall
I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.
I have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:
I installed samba and set one of the folders on my desktop to share with my win7pc. However, I'm having some difficulty getting it to work. If anyone can provide some insight, I would be very grateful.
Both my ubuntu-pc and my win7-pc belong to the same workgroup. Each pc can ping the other. The ubuntu-pc can "see" that the win7 pc is part of the network; but it cannot communicate with the win7 pc. The Win7-pc does not show that the ubuntu-pc is part of the network.
I got a ftp server (proftpd on debian) on machine "A" and I got a Samba Server (debian also) on machine "B" with a shared folder called "public". how do I access the shared folder via FTP?
I already tried the following command: mount -t smbfs //machine B/public /media/public And the following message appears: mount: special device //machine B/public does not exist
But the folder public is already shared cUz I can access it using Windows XP.
I have a Linux Box running Fedora 13, it has Samba installed, and I have configured it, I also have a Windoze 7 PC, I want to be able to access the Windoze PC's files from my Linux Box, and vice versa, but when I try to open the Windoze PC in the network on my Linux Box, it asks for my Username and Password, I enter them, the box goes away then pops back up asking for them again... and on the Windoze PC, I find my Linux on the network, open it, it asks for my username and password, I enter them, and it lets me in, but then when I try opening my shared folder, it gives me: "You do not have permission to access \LINUX Shared Folder. Contact your network administrator to request access".
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.
We want to fix our data folders structre in Samba, for example our folders would be like as Data/Group A/2010 /A.We want all our users can work only in folder A and no one can create any files in data, GroupA, 2010 folders. Similarly no one can delete these basic folders. However users can create further folders in A as required.
I successfully installed Samba, but have problem with access to any shared folder on my secondary drive. If I try access secondary drive with admin user, everything is fine. If with another account try to access via samba to shared folder on partition with Ubuntu, everything is fine again. Every folder has set privileges to read&write to everyone, so shouldn't be problem here.
I'm setting up a network between 2 pc's where the one should act like "file server" and a normal pc to surf on internet.called ORLA-DESKTOP and the other pc is called OLGA-DESKTOP a pc connecting to the server and automounting the shared folder to the desktop Both pc's run ubuntu 10.04 Lucid Lynx The shared folder is located on the server in /home/orla/svenson
ORLA-DESKTOP have 2 users "olga" and "orla" in a group called "svenson" OLGA-DESKTOP have 1 registered user "olga" also in group called "svenson"
users on ORLA-DESKTOP can read/write/append and so on and fully manage everything in the shared folder.But on OLGA-DESKTOP the user can make a file on the pc and then drag'n'drop the file the the shared folder, and can also delete files in the shared folder. but cannot create a file directly into the folder like on ORLA-DESKTOP I have 3 configuration files made. 2 for automounting, Located on OLGA-DESKTOP 1 for samba server configurations located on the server ORLA-DESKTOP
The first one is /etc/fstab
Code:
# /etc/fstab: static file system information. # # Use 'blkid -o value -s UUID' to print the universally unique identifier # for a device; this may be used with UUID= as a more robust way to name # devices that works even if disks are added and removed. See fstab(5).
[code]....
To sum it all up the real problem is that OLGA-DESKTOP can't append to files in the shared folder. but users on the server have no troubles doing it..
I've a question about a connection to a shared folder on a pc behind an ubuntu 10.04 server. The Ubuntu machine itself is behind a Cisco router. Cisco router has a nat 1-to-1 to Ubuntu machine with the static public ip x.y.x.z The Ubuntu machine has one only interfaces eth0 bridged with a virtual tap0 in the virtual br0 interface. This because on the Ubuntu machine is running OpenVPN in bridged mode. I want to reach a private share on the host 192.168.100.2 using the x.y.w.z static IP. Is that possibile? Ubuntu machine has no firewall running (I was not able to run shorewall firewall for now).
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
We have:
5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer
Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.
However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.
however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error
"The server for the printer does not have the correct driver installed...."
I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.
The thing is, I have no idea where CUPS DID put the driver.
On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.
I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.
how to install/setup drivers on a samba PDC, for windows machines?
Also relevant, my smb.conf: anyone see any possible causes of problems? # Samba config file created using SWAT # from UNKNOWN () # Date: 2010/08/19 13:03:07
I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.
How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?
I hope it's not so difficult and that I have to change i config-files.
I have a folder, called Vault, that we want to share only with certain people. Because it will contain confidential information.
I want the unix group trustees to have read-only access I want the unix group administrators (and root) to have read/write access
All other users should have no access.
the implementation I have so far is: folder owner: root:administrators folder permissions: 770 section from smb.conf
[Code]....
However, this is not working as expected. It currently works as follows:
Normal user: No access (expected) Trustees member: No access (fail. Trustees should be able to read) Administrators member: Read/write access (expected)
I have installed samba server one month ago and it was working fine till yesterday but today morning when any network client is trying to access samba shared files by giving smb://<serveripaddress> it is asking for password...that is ok but when he is giving the password it is again opening the same password window to enter password again.The clients are giving correct password that is confirm. At the server side i have run smbclient -L localhost -U% and that is giving proper response so that also means that samba server is working fine so i dont know what could be the problem and what its solution.
I am sitting with a slight problem sharing some HP network printers (JetDirect) with my windows machines. I have cups 1.4.4 configured on my Debian PDC with samba 3.5.5. The printers in question, is configured in cups and is working perfectly, but for some reason when I try to add the printers from Win7 or Win Vista I get the following error:
"Connect to Printer Windows cannot connect to the printer Operation failed with error 0x00000006"
I had a look around and it seems that the above error code is tied in with incorrect drivers, but the strange thing is that if I create a new local port on the win machines and specify the shared printers they work. The problem then is that cups does not identify the jobs correctly. The job will be named something like "smbprn.00000264 Remote Downlevel Document" instead of the actual document name. One of the reasons for using cups is to be able to monitor printer usage so this option is a temporary solution in my mind. Can the print$ share be causing it although it is empty and no drivers has been uploaded? Neither the samba nor cups logs give me something concrete to work with (hopefully someone else can spot the problem).
Extract from samba log:
[2010/09/30 09:21:01.734938, 2] lib/access.c:406(check_access) Allowed connection from (192.168.1.20) [2010/09/30 09:21:01.740480, 2] lib/access.c:406(check_access) Allowed connection from (192.168.1.20)
Just recently got a few printers connected to the network at my shop and I've managed to get them connected in with samba for the linux clients. Whenever I try to print from one of the clients, the printer will click on and whiz away, but only prints on the first page stuff that looks like this:
Code: %!PS-Adobe-3.0 %%BoundingBox: 38 24 574 768 %%Title: Enscript Outpu %%For: User N
It seems to me that the printer isn't processing the postscript data properly (or I'm just not sending it in the right format) but I'm at a loss as to how to go about fixing it.
How to configure samba, cups, whatever else is necessary to turn centOS into a print server that provides the print driver to any client adding a printer shared from the server? For example, I have a Xerox Phaser 6125n and I was able to configure my server to share the printer for clients on the network, but I still have to have the driver available on each client that uses the printer. I want to be able to put the driver on the server and provide it automatically to any client who installs the printer.
Also, this is not as important but rather just an annoyance, I am having an issue with samba that I can't figure out. I have user shares set up on the server but the first time any user accesses their personal share they need to provide their password. How can I set up user mapping between linux and windows accounts so that authentication is automatic? I've done this in the past with Fedora Core 2, but that was a long time ago and the same doesn't work on centOS.
Heres what I have and what I am looking to do. I have a PC with a single core 2 Ghz Pentium processor and 1 gb of RAM. Its pretty limited in what it can do and run. It has two physical HDDs one a 250 GB SATA and the other a 160GB SATA. One the two hard drives I have the following partition structure:
160 GB HDD 28 GB Ubuntu OS Partition 2 GB Swap Partition 130 GB Free Partition (EXT4 but empty) 250 GB HDD 250 GB Free Partition (EXT4 but empty)
What I would like to do is the following: 1. Strip down Ubuntu 10.04 to where only the bare minimums run and system resources (Since they are so scarce on this system anyway) be readily available 2. Have the system run solely as a Samba File server for all other computers in the house to read and write to 3. Allow other "known" systems to access the shared folder without authentication, but any system with an unknown name, should have to authenticate first 4. Have the 130 GB from HDA and 250 GB from HDB, be presented as one network drive of 380 GB as opposed to two of 130 and 250 gb respectively
Are these things that are possible for a person of mid level understanding of Linux? How would one set about achieving all of the above goals?
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
I have Ubuntu server with Apache 2, PHP, and various DBMSs running in VirtualBox on my Mac host for my web development work. To easily create/edit the files I'm working on, I mounted a directory from my Mac host via the VirtualBox shared directory feature to /var/www/. Every file I create on my Mac host has the following permissions on the on the Server: -rw-r--r-- 1 root root 6 2011-07-30 01:27 test.The problem is that most PHPscripts/frameworks/etc.need write access to some files.It is extremely annoying to have to chmod every new file/directory that needs write access.Is there a way to set the correct permissions for the files/directories automatically?
I have two partitions: one for Ubuntu 64-bit and another one with the format NTFS only for keeping documents. I have shared one folder of this NTFS partition, but every time I reboot the PC (or shutdown and start again for that matter) the folder is no longer shared.Why?How can I prevent this folder to be un-shared when I reboot the computer?
I created a lab of 15 PCs connected to a server using samba. Everything works fine, but it's possible put a link on the desktop that points directly to the shared folder on the server?
I have installed Canon ImageRunner 2018i on my linux box using CUPS web interface. When I try to install this as a network printer from a Windows XP machine, the windows XP machine keeps asking me for a device driver. Is there a way to configure the printer on CUPS/Samba so that when I try to install it on Windows XP machine as a network printer, it does not ask me for a device driver?