Ubuntu Servers :: Samba Shares Folders But Not Printers Until Restart The Smbd Service?

Jul 18, 2010

Just like the title states, as soon as my server comes up, I see the samba share that I made and can browse it just fine.

I don't see the printer share nor can I print to the shared printer until I execute service smbd restart from an ssh login. Then I see the printer and then I can network print.

Before restarting smbd, I do check to see if it's already running and it is (two instances are running in fact). When I restart smbd, there are still two smbd services running but they have higher PID numbers (and I can then print).

I'm running 10.04. how to make it all start up happily the first time without any intervention from me?

View 2 Replies


ADVERTISEMENT

Ubuntu :: No Access To Some Folders On Samba Shares

Sep 17, 2010

I can't access some folders on my samba share. For example I set the Video folder to share and to allow creating or moving files. But inside the video folder I cant access some folders. This only happened after I upgraded my samba client.

View 5 Replies View Related

Debian Configuration :: Jessie - Service Samba Restart

Oct 20, 2014

I've after latest jessie update a problem with service samba restart. If I use "service samba restart", there is a timeout (after long time) and error.

Output of "systemctl status samba.service":

Code:
Select all● samba.service - LSB: ensure Samba daemons are started (nmbd and smbd)
   Loaded: loaded (/etc/init.d/samba)
   Active: failed (Result: timeout) since Mo 2014-10-20 02:16:57 CEST; 7s ago
  Process: 6205 ExecStart=/etc/init.d/samba start (code=killed, signal=TERM)

Okt 20 02:16:57 server systemd[1]: samba.service start operation timed out. Terminating.
Okt 20 02:16:57 server systemd[1]: Failed to start LSB: ensure Samba daemons are started (nmbd and smbd).

[Code] ....

Whats going wrong. "service samba restart" should bring no error message if the service is not running previously.

View 2 Replies View Related

Ubuntu Servers :: Cannot Write To Samba Shares From Mac?

Nov 5, 2010

This is (I suspect) a Mac OS issue but they've given no help (or replies!) on Mac forums so I'll ask here.I've just got a Mac and I can connect to shares on my Ubuntu (10.04) server, read files and create directories but I cannot write. I get this error:"The operation cannot be completed because you do not have sufficient privileges for some of the items."I can connect from the command line with smbclinet and write fine. I have tried several different users on both the Mac (cannot write) and Ubuntu clients (can write).Is this something to do with the ._filename files that finder creates? Or is there something wrong with the way I've set up my server? This is the first time I've used it with a Mac client.

View 9 Replies View Related

Ubuntu Servers :: Can't View Samba Shares?

Jul 23, 2011

I have a fresh installation of Ubuntu 10.04 LTS I have installed Boxee on it that is all and I am trying to set it up as a Samba Server. I have followed the instructions on following page:[URL]..On the box that I am trying to setup as a Samba Server using Nautilus I can view the shares no problem. On another Ubuntu box no such luck. I can get too Windows Network and I can see my workgroup. When I try and open the workgroup I get the following dialogue box for some time: Opening "WORKGROUP". You can stop this operation by clicking cancel. And then this error dialogue box:

Unable to mount location Failed to retrieve share list from server I have spent sometime trying to resolve this myself but have had little luck. As far as I know I have no firewalls in place; Ubuntu does not have one by default is that correct? At this time I don't have a Windows computer to try to connect too the server at this time, but plan to in the future that is why I want to use Samba.

I am connecting the two boxes with an D-Link DIR-825 router; both boxes are on the same subnet. Are there settings in the router that could be affecting this?

View 6 Replies View Related

Ubuntu Servers :: Can't Restart The Service - Apache2: Command Not Found

Sep 5, 2010

I just installed apache2 and i can't restart the service, i get: Code: sudo: /etc/init.d/apache2: command not found

View 6 Replies View Related

Ubuntu Servers :: After 9.10 Upgrade Can't Connect To Samba Shares

Jan 12, 2010

Last night i updated to 9.10, all good except i can no longer access my samba shares!!

here is the info from log.smbd after i stared it this afternoon

Code:
smbd version 3.4.0 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/01/12 16:35:57, 1] param/loadparm.c:6355(map_parameter)
Unknown parameter encountered: "executable"
[2010/01/12 16:35:57, 0] param/loadparm.c:7449(lp_do_parameter)

[Code]....

View 6 Replies View Related

Ubuntu Servers :: Accessing SAMBA Shares Since Upgrade?

May 27, 2010

provide support for a small business that uses Windows machines to access files stored on an Ubuntu server which has just been upgraded from 8.04 to 10.04 (32 bit version). Before the upgrade the users accessed their share by this batch file:

Code:

net use x: \servernamesharename /user:username

This would then prompt the user for his or her password which they would enter to allow them access to the share.Since upgrading to 10.04, the user gets a "system error 58" stating "The specified server cannot perform the requested operation"If the batch file command is changed to:

Code:

net use x: \servernamesharename

The same error message is given. The only work around I have found is to modify the file to read:

Code:

net use x: \servernamesharename /user:username password

This is not ideal at all as it makes the password protection useless.When I performed the upgrade I left the smb.conf unchanged. The smb.conf file is:

Code:

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the

[code]...

View 7 Replies View Related

Ubuntu Servers :: Can See Samba FileServer Cannot Access Shares

Jun 27, 2010

I recently upgraded my ubuntu samba fileserver to 10.04 along with increasing the size of my RAID 1 /home directory.I am using the same smb.conf file setup I have used on intrepid ibis setup and hardy heron setup before that.On my new setup, I can see the ubuntu server on my windows 7 machines, but I can't see the shares and can't access them.In checking the logs (/var/log/samba), one log continues to look for a printer share from one Windows machine that I have not set up on samba yet.

I have found a few people who have reported similar problems online, even a few who have filed bugs, but then they say "my computer started working suddenly. I don't know what happened." so they closed the bug. or "my computer started working after I rebooted my machine." I have rebooted all machines on the network. That doesn't fix it.

View 1 Replies View Related

Ubuntu Servers :: Other Comps Can't Access Samba Shares

Nov 13, 2010

I can see mycomputer on the network, but not the share. Not sure what to do, why isn't the share available?

View 1 Replies View Related

Fedora Servers :: Service Httpd Restart - Broken In F11?

Jul 5, 2009

Has anyone noticed that when using NameVirtualHost's in apache that the service httpd restart command is broken?Also it seems system-config-bind has glitches too.

View 10 Replies View Related

Ubuntu Servers :: Really Weird Sshd, $service Ssh Restart Output No Ok Message?

Oct 26, 2010

I go and restart ssh and I get this weird message. thought I should be getting ok or fail message, at least thats how I remember it. What do you think?nate@universal-mechanism:~$ sudo service ssh restart

View 3 Replies View Related

Fedora Servers :: Samba Shares Not Accessible?

Jan 5, 2009

I'm having some troubles with my samba shares on a fresh install of Fedora 10 x86_64 on my laptop. The laptop has only the KDE Desktop environment. I'm trying to share between this computer and my homebrew server via a wrt54g linksys router running DD-WRT firmware. The server is running Fedora 9 i386.

The shares on the server can be read by the laptop, and I have been consistently able to mount the server shares on the laptop using mount.cifs, but only when the firewall on the server is down. Shares are only visible between the machines when the firewall is down on the machine containing the share. I set up the shares using the system-config-samba tool, and the firewalls are both set to allow samba server and samba client. I can typically see the laptop from the server, but not the shares, and only when the laptop firewall is disabled. I can access the Laptop shares from the laptop. When trying to mount the laptop shares on the server, a warning message stating that the mount failed appears. Shares show up as correct in both the system-config-samba tool, and the KDE sharing tools. The share shows a "shared" icon in the dolphin browser.

From all that I know, the shares should work perfectly. I've searched the web, perused the man pages and how-to's, and combed through the forums, and everything I've found tells me that the shares should be working. Since they are not working, it leads me to believe that I must have made a mistake someone and not noticed it.

View 8 Replies View Related

Ubuntu Servers :: Auto Mount Group Shares With Samba PDC?

Mar 2, 2010

I've a few group shares setup with samba and a PDC (using windows 7 clients) and the home directory for each user gets mounted automatically. I've configured group shares and only members of the respective group have access to them, but my question is how do I tell samba to automount group shares based on the user group?

View 1 Replies View Related

Ubuntu Servers :: Samba Shares Using Active Directory Permissions?

Jul 20, 2010

I am the IT Manager at a research facility. We have a fairly unique network configuration in order to support all of the different projects we have going on. We have Red Hat, Ubuntu, Windows XP/Vista/7, Windows Servers 2003, Ubuntu servers, Red Hat servers, and even a few Netgear ReadyNAS and Buffalo Terastations. Over the last few years, I have been migrating all of my users and accounts to a single ACL list, which I chose to be a Windows AD 2003 server. 95% of my users work on Windows platforms and just use ssh tunnels to develop on our linux boxes.

However, i ran in to a problem with our Linux boxes not being able to symbolic link on my Windows 2003 file shares. Of course, this is a problem with Windows not supporting symbolic links. I know 2008 does support this feature, but given the economy and the budget restraints, we cannot afford to purchase the updates we would need, so now I am moving all of my shares to a Ubuntu 10.04 server using Samba. I have joined the server to my AD domain successfully, i can login using my AD credentials, and even assign ownership and group permissions using AD users/groups.

Here is my question.

I would like to keep the AD permission schemes intact. I have several shares that contain folders that have individual permission settings. For example, I have a /shared directory that contains about 50 different folders. Some of these folders I allow my users to write data to, some just read, and others I deny access to complete groups and just allow key groups to access (for example, personnel data should only be accessed by the Administrative staff).

Is there a way to make this work?

I can assign uid and gid manually per folder in Samba, but i would like to have the possibility to add multiple users and groups with permissions to folders, which I do not believe can be done with the standard chown commands. Currently, I can see the folder permissions from my Windows box, but when I try to edit the permission settings, it defaults back to full access. So my AD permissions are not being saved.

View 9 Replies View Related

Ubuntu Servers :: Can't Browse SAMBA Shares Because Ports Between 137 To 139 And 445 Are Closed

Nov 26, 2010

I can't browse my SAMBA shares because ports between 137 to 139 and 445 are closed, but I don't know why.

I even turn off iptables

Code:

But...

Code:

View 9 Replies View Related

Ubuntu Servers :: Couple Of Samba Shares Not Accessible From Windows?

Jan 28, 2011

I am running Ubuntu 10.10 and have 5 shares that I have setup for Samba (assume names of share1, ..., share5). I find that shares(2,3,4) are accessible from my MS Windows system, but the share1 and share5 are listed but Windows gives an error accessing them that I may not have permissions.I have reviewed the sharesve the same owner, group, and permissions.Is this a known Samba bug or configuration issue? I have gone through the smb.conf file multiple times as well as examining the directories and do not see what the issue might be.

View 9 Replies View Related

Fedora Servers :: Upgrade From 10 To 11 Breaks Service Httpd Restart?

Mar 22, 2010

Alright, so I upgraded my old fedora 10 server to Fedora 11 with a netinstall CD, but now service httpd restart is broken. I already had to delete the old config file and reinstall apache, but now I can't restart it. I can kill it and then start it manually, but it never stops the running instance and fails to bind the port. I know it's because /var/run/httpd/htpd.pid is in the wrong place, which would be /var/run/httpd.pid, but do I have to make a symlink every time I want to restart it? I edited all the config files to point to the right place, but the system does not honor them. What do I do?

View 3 Replies View Related

Networking :: Unable To Browse Samba Servers And Shares?

Mar 26, 2011

clean install of Slackware 13.1 64-bit. From day 1 I have been unable to browse Samba servers and shares on my home network. NFS, FTP, SSH, etc all seem to be working fine. I've been updating it regularly in case this was a bug, but I'm not so sure any more.

Reboot in WinXP sp3, I can browse fine. My wife's Win7 laptop works fine. My old Slack 12.2 system worked fine. I have not made any changes to the network other than adding this computer to the mix.

Pentium Dual Core e6700 @ 3.2GHz
Asus P5G41T-M/CSM
4GB DDR3 Ram
1 TB Hitachi SATA
Gigabyte ATI Radeon HD 5670 1GB Video PCIe

[Code]....

View 2 Replies View Related

General :: SAMBA - Could Not Access PID File For Smbd

Feb 9, 2010

samba quit working after win7 I'm new-ish to linux(not using ubuntu tho, but servers)i don't know what PID is.. i just installed a new ubuntu server of an old computer, for file sharing in workgroup with samba, and a little apache server running webmin is also running, giving me an error when restarting samba all worked very well untill i used win7 to access the \server this blog post have a fix for vista7? connecting to samba, but wont fix my problem after i connected to the share with win7 nothing seems to work

Quote:

# service samba status
* nmbd is running
* could not access PID file for smbd

and this:

# service samba start
* starting samba deamons [fail]

restart wont work, neither do reboot the server. I am clueless some of my research is pointing me to /var/run/ and there is no smbd.pid there, not in any folder (nmbd.pid exist) i found something

# service samba reload
* Reloading /etc/samba/smb.conf smbd only
No process in pidfile `/var/run/samba/smbd.pid' found running; none killed.
[ OK ]

i dont have any smbd.pid in the samba dir, should i create a new one.. and where do i get the PID -id that should be inside?

View 4 Replies View Related

Server :: Samba - In Log.smbd - Getting Message Periodically ?

Aug 1, 2011

I'm having a problem with Samba. In log.smbd Im getting this message periodically:

View 8 Replies View Related

Fedora Servers :: Samba Shares And Windows Vista - Cannot Authenticate

May 22, 2009

I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:

Code:
# Samba config file created using SWAT
# from UNKNOWN
# Date: 2009/05/19 21:47:31

[global]
workgroup = AIVILANET
server string = Bighat Samba Server
interfaces = eth0
null passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passdb backend = tdbsam
username map = /etc/samba/smbusers
syslog only = Yes
announce version = 5.0
name resolve order = hosts wins bcast
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = CUPS
wins support = Yes

[HP-LaserJet-1200]
comment = HP LaserJet 1200
path = /var/spool/samba
read only = No
printable = Yes
printer name = HP-LaserJet-1200
oplocks = No
share modes = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[home]
path = /home/savona/
username = savona
valid users = @Users
admin users = savona
write list = savona
force user = savona
force group = savona
read only = No
hosts allow = 10.0.0.2

View 8 Replies View Related

Fedora Servers :: Mounting Samba Shares Permission Denied?

Jun 2, 2011

I setup a Samba share and I cannot connect. I can mount in on local host but when I CD to the folder I mounted the share on I get access denied when I run ls.

cat /etc/samba/smb.conf
[W$]
path = /Files/
valid users = admin

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Samba Shares Files Easily On Eth0 While On Eth1 Gives Error?

May 9, 2010

The problem is that samba shares files easily on eth0 while on eth1, every file gives a read error.

My config file is attached.

Code:
[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
dns proxy = no

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Mounting Samba Shares On System Boot/user Login

Jun 28, 2011

I wrote a little script that will automatically mount two Samba shares to my home directory and I was wondering if a) You guys/gals had any input as to how I could improve on this script and b) Tell me how I would go about having this script automatically execute when I log on via SSH.

Code:

#!/bin/sh
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data1 /home/user/Data1
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data2 /home/user/Data2

View 4 Replies View Related

Ubuntu :: Bastille Removed All Permissions From Samba Smbd Nmbd Files

Mar 24, 2010

After running Bastille to harden my server, Samba stopped working. It had asked me if I would like to disable Samba during the configuration and I selected 'no' so it should not have done this.

When I tried:

Code:
sudo /etc/init.d/samba restart

Nothing happened. I found in the script, if it does not detect smbd and nmbd running, it just exits -- no error message, just simply does nothing.

I found that /usr/sbin/smbd and /usr/sbin/nmbd both had all permissions removed. I set them back to 755 and restarted samba normally.

View 1 Replies View Related

Ubuntu Servers :: 10.10 - Samba Restart (File Not There)

Oct 13, 2010

I recently installed Server 10.10 64-bit. After installation, I set up my config file (/etc/samba/smb.conf), and tried to restart Samba:
Code:
/etc/init.d/samba restart
There was nothing to restart though - the file /etc/init.d/samba wasn't there!
Purged the package and re-installed. Tried reformatting and adding Samba as a pre-installed package. Trying to find the server guide for 10.10, but no dice. Did something change for Samba in 10.10?

View 1 Replies View Related

Ubuntu Servers :: Samba - Access The Shares But Read-only And Unable To Delete / Modify Files Using The IMacs

Sep 2, 2010

I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).

View 2 Replies View Related

General :: Administration - Managing SAMBA Shares And Giving User Specific Access For The Shares

Jul 28, 2010

I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.

1. Managing SAMBA shares and giving user specific access for the shares.
2. Scheduling backup of some mount points with rsycn to store data in remote hard disk
3. User and group administration, with sudo access.
4. Creating and Managing Xen Virtual machines and giving access to other project teams.
5. Automating some tasks with Shell Scripting.
6. Managing FTP server for user uploads.

I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?

View 9 Replies View Related

Ubuntu Servers :: Samba Users Able To Browse Folders With No Permission

Feb 11, 2011

I've set up smbd 3.4.7 on 10.04x64 LTS server. I've set up a couple shares and I'm having problems blocking access to certain directories using native file permissions. There is one directory that has folders for each sales rep to store their current list of quoted clients, I only want sales people to be able to browse the directories owned by themselves. Everything seems to be set up correctly in terms of user groups and permissions on the filesystem.

Below is marina, a sales rep, and brian, a super user of sorts.
id marina:
Code:
uid=1011(marina) gid=1006(office) groups=1006(office),1005(sales)
id nick:
Code:
uid=1000(brian) gid=1006(office) groups=1006(office),118(admin),1001(full),1002(processing),1003(management),1004(it),1005(sales)

Below is the directory with all the sales reps folders.
ls -la:
Code:
total 60
drwxrwxr-x 15 root it 4096 2011-02-10 20:06 .
drwxr-x--- 9 root office 4096 2010-11-19 12:40 ..
drwxrwx--- 13 katya full 4096 2010-12-07 12:36 Katya
drwxrwx--- 18 lana full 4096 2011-02-08 17:09 Lana
drwxrwx--- 23 marina full 4096 2011-02-10 18:09 Marina
drwxrwx--- 4 mike full 4096 2011-02-01 12:42 Mike

With this setup marina only be able to browse her folder, but she can browse all folders and has full write access to all folders. This leads me to believe something is up with the smbd.conf file, which is below.

Code:
[global]
workgroup = COMTREAD
null passwords = no
server string = Root Server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0 .....

In this case the valid users directive would not work cause I am not making a share for each user. I had this on other shares like the db2 share. My windows box lagged heavily when I tried to access that share with an invalid user. How to deny users the ability to modify permissions I would also like to do that.

View 3 Replies View Related







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