Debian Configuration :: How To Configure Samba For A Stripped Down File Server

Dec 3, 2015

I am trying to configure samba for a stripped down file server. I am running debian with command line only. My problem is that I cannot unmask samba.

See below:

root@debian:/home/aaron# service samba status
● samba.service
Loaded: masked (/dev/null)
Active: inactive (dead)

I have tried "sudo systemctl unmask samba.service". I receive no errors however it does not actually unmask. I can't find anything online regarding a service stuck on masked status.

View 12 Replies


ADVERTISEMENT

Server :: File Permissions Being Stripped On New Files Via NFS

Feb 3, 2010

I'm having an issue that I've seen before on other OS's (Solaris), but I'm coming up blank on solving for an NFS mount shared from RedHat I've googled this, and looked through all the FAQs and mail lists I can find.

The issue is this:

Whenever a new file is created from an NFS client to an NFS mounted file system, the group and world permissions are being stripped such that any new file created ends up with 0600 as the file permissions. On the server, I have tried various sharing options (all_squash, anonuid, anongid, no_acl) with no luck. I've looked at the underlying mount point ownership and permissions, checked the file system acl's (getfacl...they match the visible file system), and set the custom SELinux (not mine) config to permissive. The file system is on an LVM partition, and has an SELinux group assigned in /etc/fstab. I've unmounted it, and performed a vanilla mount (no options). No amount of trial and error is working. Any file created by any user on an nfs client machine creates files with 0600 permissions, and local users on the nfs server create files with permissions based off their umask settings. I originally thought it was due to mismatches in permissions from Windows to Linux (The server also NFS shares to Windows 2K boxes using hclnfsd (PC/NFS)), but I confirmed the same issue between RedHat systems.

One thing I'm wondering from my reading. It's mentioned in many places that ownership should be root in most cases and not some other user. This entire file structure is owned by a user that is ONLY local to the server box (long story, but the box is isolated....no DNS and only local users and settings).

View 3 Replies View Related

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

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.

View 1 Replies View Related

Debian Configuration :: Samba - Add The Subtitle File

Aug 1, 2011

I'm using Xfce 4.8, which now provides built-in samba browing in thunar. This works like a charm. I can browse a samba share (external HD connecter to router via USB). Yet it appears to me now that the support is limited to thunar. I mean double clicking on a file allows me to open/edit that file if and only if the software itself has samba support. In practice, double-clicking on a movie opens it with vlc thanks to vlc's own smb support. Even then, I can't find a way to add the subtitle file. I reckon that to use the share transparently, I would need to mount it the "mount" way. Either on a mount point like /mnt/hard_drive or something like .gvfs/hard_drive.

Is my understanding correct ? Is that my only option? Considering the disk won't be switched on at startup, fstab is not the solution. Would gigolo be the right choice? I spent some time trying gigolo a few days ago, following an easy tuto found on the web and it didn't work as expected. If needed I could give it another try.

View 1 Replies View Related

Debian Configuration :: Install A Multi-core System And Configure It To Run Several VMs, One Each For A Firewall, A Caching Proxy Server, A Mail Server, A Web Server?

Jan 25, 2011

I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.

In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).

View 14 Replies View Related

Debian Configuration :: File Don't Move To Samba Trash Directory

Aug 26, 2015

I work in a compagny and i encounter a problem with the samba trash.When i delete a file from our network directory, the file don't move to the samba trash directory. But, the server create the same samba tree like the orginal file. It's more simple with a example.This is the file i delete to my samba tree S:departementgestion_informatiqueinformatiquecommut est.txt.This is the samba tree that the server create at the moment when i delete my file : @IPcorbeilledepartementgestion_informatiqueinformatiquecommun

The problem is here : We want the file test.txt into this trash tree and it isn't.This is the Samba trash configuration :

# Samba Trash
#--------------------------------------------
# http://samba.org/samba/docs/man/Samba3-HOWTO/VFS.html

[code]....

The samba trash work for an another site of our company.

View 0 Replies View Related

Debian Configuration :: File Access Logs - Functionality Like Already Built Into Samba?

Sep 7, 2010

wants some sort of logging capability on the system. to have a log of every change to every file, although that might be a bit unwieldy. perhaps a simpler compromise would be some way of monitoring a few specific folders, and tracking all changes to them, including the user that did so. Particularly important is that it should be possible to work with access through samba, as we want to track what users on the network are creating or changing files. Is there functionality like this already built into debian or samba? is there a useful additional app to gather this information? or am I going to need to be grep'ing log files to present something useable?

View 2 Replies View Related

Debian Configuration :: File Share Unavailable From A Reboot Until Restart Samba

Jul 3, 2011

I am having slight issue with setting up file sharing. I have a windows 7 pc and hp proliant microserver running. I have a raid array which I am using as a share for storing music, pictures etc. When I reboot the debian server I can't connect to the server from the windows 7 PC (I have mapped a network drive) until I go on to the server and restart samba with /etc/init.d/samba restart - then everything works fine. I can ping the server with both ip and hostname but the network drive does not connect - this is straight after a reboot. Is the /etc/init.d/samba restart doing something differently to when the server boots? I have read several posts relating to printer sharing issues which point to samba not starting before cups so I am wondering if samba is starting before some of the relevant networking services.

View 2 Replies View Related

Debian Configuration :: Samba - Cannot Access Server After Upgrade

Mar 12, 2016

Following yesterday's and then today's upgrade of my Debian 8 32-bit system (among other things to samba 2:4.1.17+dfsg-2+deb8u2 (yesterday: ...deb8u1)) I cannot connect my Mint 17.3 laptop to the server anymore. Were there any changes to smb.conf regarding authentication or other aspects that might lead to this problem? I am enclosing part of my smb.conf. By the way - I also have trouble using ssh to connect to the Debian machine, such as the ssh-command taking "for ever" and then getting the message "Write failed: Broken pipe" when entering an ls-command on the command line.

H. Stoellinger
smb.conf:
[global]
workgroup = RAINERMUSIK
netbios name = hsdesk
server string = Samba Server hsdesk

[Code] ....

View 1 Replies View Related

Debian Configuration :: How To Configure A DNS / DHCP / Directory Server

Jan 17, 2016

Setup a DNS/DHCP/Directory server on Debian? I would like to configure the things in Debian so that can join Linux and Windows(if possible as m not sure yet) clients to the directory server. Any links to setup both Forward and Reverse lookup zone in the environment.

View 4 Replies View Related

Debian :: Debian Synaptic Package Manager Error: Xserver-xorg Stripped?

Feb 10, 2011

I have used Debian Linux for two years, most recently the seventh or so iteration of Version 5. I use the Gnome desktop and the Synaptic Package Manager, not the Update Manager, for updates because it's easier to build a log with the former.In my most recent update, Synaptic stripped out all the xserver-xorg files�47 in all. I thought it peculiar but did not know enough to interfere. When I rebooted, the system told me I must install xserver or correct GDM configuration and restart.

Have I been hacked? Am I being tested by the Linux Illuminati? Or does it have something to do with the warning message I received at the end of the update-upgrade, attached? And how do I go about reinstalling xserver? With Aptitude? I have tried running apt-get -f install, to no effect.

View 4 Replies View Related

Debian Configuration :: Setting Up Home File Server?

Jan 3, 2011

I have 2 windows pc's in my home and an office computer that have my files strewn about. I wanted to have them all in one central location that keeps a backup copy, so i used an old machine to start building a file server. I installed debian 5.0 on the machine, command line interface only. I have gotten ssh working so that i can do all my work on the box from one of my windows pc's by logging in with putty.my current problem is how to easily use the box hard drive for storing my files in an easily accessible way. i'm still working on getting samba to work so that i could map the /home directory to a drive letter on my two home pc's, but i'd also like to access files from my work pc. Before i do that, though, i wanted to know if this is safe and secure to map a drive on a remote machine through the internet? Are there any other security concerns I need to be addressing by having this file server set up?

View 7 Replies View Related

General :: Debian Synaptic Package Manager Error: Xserver-xorg Stripped?

Feb 10, 2011

I have used Debian Linux for two years, most recently the seventh or so iteration of Version 5. I use the Gnome desktop and the Synaptic Package Manager, not the Update Manager, for updates because it's easier to build a log with the former.In my most recent update, Synaptic stripped out all the xserver-xorg files�47 in all. I thought it peculiar but did not know enough to interfere. When I rebooted, the system told me I must install xserver or correct GDM configuration and restart.Have I been hacked? Am I being tested by the Linux Illuminati? Or does it have something to do with the warning message I received at the end of the update-upgrade, attachedDebian_error_msg.png? And how do I go about reinstalling xserver? With Aptitude? I have tried running apt-get -f install, to no effect.

View 1 Replies View Related

Debian Configuration :: Start X Server In A Read Only Root File System?

Apr 27, 2010

For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.

View 3 Replies View Related

General :: Install A Server, Configure Samba And Raid 1?

Dec 21, 2010

<silent-> my company gave me a small project do in linux , i need you to give me some advice.
<silent-> basically its will be a file server and something like 5 users will need to

[code]...

View 5 Replies View Related

Server :: Configure Samba For Multiple AD Domain Controllers?

Mar 2, 2011

How do I configure samba such that AD authentication still works when a DC is down? Do I need multiple kdc, admin_server, and kpasswd_server entries in krb5.conf?

View 3 Replies View Related

Server :: Configure Samba Share That Users From Ip Pool?

Aug 7, 2010

how to configure samba share that users from ip pool (for example 192.168.1.200-210) have accest without login and rest users form ip pool (192.168.1.2-199 and 192.168.1.211-254) have to past autorization.

View 1 Replies View Related

CentOS 5 Server :: How To Configure Samba (Shared Printer)

Aug 20, 2009

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.

View 3 Replies View Related

General :: Configure A Samba Server Using A Machine With Fedora And A WindowsXP

May 24, 2010

how can i configure a samba server?. im using a machine with fedora and a windowsXP machine.

View 7 Replies View Related

Software :: Configure Samba Server To Access System Files From Windows?

Oct 12, 2010

I am new to Linux and want to setup Samba server in my CentOS 5.3. I have downloaded samba server from yum repository with command

yum install samba

I then followed the steps which i got by some googling on

http://crazytoon.com/2007/05/22/samb...centos-fedora/

this site which contains steps like code...

How to resolve it ?

View 5 Replies View Related

Debian Configuration :: How To Configure EAP-PWD

Feb 9, 2016

i have recently installed freeradius in my debian jessie. i want to configure it to act as radius to my home router to authenticate wifi users. i want to use EAP-PWD auth medthod but there is no such section found in eap.conf.does any body know's how to configure EAP-PWD??

View 1 Replies View Related

Debian Configuration :: Cannot Use RSAT With Samba PDC

May 1, 2016

I had set up as a NT4 style PDC. There is no longer any PDC/BDC dynamic with Samba4 and MS AD support.

I purged samba packages and winbind et al and provisioned the domain correctly, and everything works well now.

What follows is the original post.

==========================================================================================
After much struggling with DNS settings, I finally got a basic samba AD controller up and running, and then that's about as far as I got.

As soon as I tried to use the RSAT I found that I could not connect RSAT to the AD server while logged in as root.

The error I get is:

Naming information cannot be located because: The specified domain either does not exist or could not be contacted. Contact your system adminsiotrator to verify that your domain is properly configured and is currently online.

View 0 Replies View Related

Debian Configuration :: How To Configure Hybrid ISO

Jun 26, 2015

I've got a task: make time server, that gets time from gps, shows it on display and send to different systems through different ports like com, ltp, etc.

Solution is qt program, included in hybrid iso image.

I've created my binary-hybrid.iso debian, added my program and installed it on pc sudo dd if=/media/cdrom/binary-hybrid.iso of=/dev/sda then i restarted and everything is ok, but...

I also need:
1) to make my pc works as ntp-server, to do this i must change file ntp.conf in ntp****.deb before i build my iso
how can i do this?

as i realized according to live.debian.net/manual it's possible to do by putting smth to /live-build/config/packages.chroot and by adding some parameters to lb config but i can't find how and what

2) to save my program parameters after reboot. for example, i have such parameter as gmt. it defined as +3. i can change it while program is running to -5 for example and i want to have gmt -5 when i next time turn on my computer

When in programming it is simple - program creates ini file in it's directory and read/write parameters from this ini-file, but how to make possible to do the same thing when it works from iso?

View 1 Replies View Related

Debian Configuration :: How To Configure The ALSA

Jun 16, 2010

I am using Debian testing. If I install the gnome-desktop-environment then the sound driver defaults to HDA but since I just installed gnome-core (for a more stripped-down version of gnome) the default is the OSS driver. How do I get ALSA to default to the sound driver HDA?

View 1 Replies View Related

Debian Configuration :: How To Configure Rsyslog

Oct 13, 2010

I saw rsyslog is now installed in Debian Lenny instead of syslog. I want to send local iptables log to remote server. I modified the file config /etc/rsyslog.conf like this :

# provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

[code]...

View 1 Replies View Related

Debian Configuration :: Configure Multiple NIC's?

Jan 26, 2011

I have a Debian server that had only one onboard NIC (1000 Gbps) but now I've added two PCI Intel Pro 1000 NIC's into the system to bump up the total # of NIC's to three. My question now is can I specifically assign or force Debian which interface to configure as ethx? I would always like my onboard NIC to be 'eth0' and the two additional NIC's to be 'eth1' and 'eth2'. For some reason Debian loads the modules at random and sometimes what was my

View 2 Replies View Related

Server :: Configure Samba In Centos - Give Permission For User - Can Able To Read And Write The Particular Folder

Apr 23, 2011

I Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.

View 1 Replies View Related

Networking :: Samba Server Configuration - Error

Jul 19, 2010

I am trying to configure samba server on my linux RHEL 5 box to windows 2000 NT boxes but getting the following error

Global parameter guest account found in service section!
[2010/07/16 16:01:13, 0] lib/util_sock.c826)
bind failed on port 139 socket_addr = 0.0.0.0.
Error = Address already in use

View 1 Replies View Related

Server :: Samba Configuration And Shared Folder

Mar 27, 2010

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.

View 4 Replies View Related

Debian Configuration :: Can't Add Samba User Password?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved