Displaying 20 results from an estimated 5000 matches similar to: "Can someone explain SMB passwords?"
2016 Feb 22
5
Change machine name without a reboot?
I'm having trouble changing the machine name programmatically on Samba 4
(running under systemd). There's no "netbios name" option in smb.conf, so
I'm relying on it using the hostname. Here's what I'm doing:
1) Call sethostname() with the new name.
2) Write the same name into /etc/hostname, to make it nonvolatile.
3) Read a decimal number from /var/run/smbd.pid.
2013 Apr 11
1
Pruning embedded samba 3.6 installation
I'm using the Yocto Project to build an embedded distro, to which I'm adding
Samba 3.6 from OpenEmbedded. Doing so increases my root file system from
about 63MB to 175MB. I seem to be building a large Samba server with a small
ancillary operating system tacked onto it.
I listed the files in my file system image, and see that lots of the
commands are quite large. I understand that Samba 4
2016 Feb 23
2
Change machine name without a reboot?
> From: Reindl Harald
>
> just restart the samba server instead only reload?
But how do you do that in C?
Frankly, I don't even know how to do that from the command line. This is
an embedded system without a lot of high-level utilities like you get on
Ubuntu.
--
Ciao, Paul D. DeRocco
Paul mailto:pderocco at ix.netcom.com
2016 Feb 23
2
Change machine name without a reboot?
> From: Reindl Harald
>
> besides that you did not provide the info "embedded system" -
> when you
> have systemd you also have "systemctl restart
> whatever.service" and in
> PHP it would be passthru('command')
>
> you don't know how you restart a service via CLI - seriously?
I know how to do it through systemctl, but I was
2016 Jan 29
2
Lost remote access to /
For a long time, I've had a share set up on my Samba server (Ubuntu 14.04)
that gives me read/write access to /. (It's a machine that does Yocto
Linux builds, nothing proprietary on it.) I routinely accessed it from a
couple of Win7 boxes and one Mac. A few days ago, I installed some Ubuntu
updates, and suddenly the share stopped working. I could open the machine,
and I could open the
2013 Apr 09
1
Passwording a simple anonymous share
I have an embedded box (Yocto Project based linux distro) to which I'm
adding Samba 3.6 (from OpenEmbedded). All I need it for is to provide one
browsable file share that allows read/write access to anyone on the network.
But I want it to be password protected.
My best guess as to what goes into smb.conf is:
[global]
workgroup=WORKGROUP
netbios name=MACHINE
security=share
2013 Jul 24
4
Does anyone think a mini-Samba server would be useful?
I'm working on a couple of Yocto Project based embedded projects, one using
a Gumstix Overo board and the other using an Intel Atom motherboard. Both
need a simple Samba server, which isn't included in the standard build. The
only existing Yocto-compatible recipe for Samba is an OpenEmbedded one for
version 3.6.8. I was quite surprised to find that adding Samba almost
tripled the size of
2013 Aug 29
2
Inexplicable rejection of credentials
I have a Windows home network with a bunch of Windows boxes and two Ubuntu
boxes. Everything can access shares on everything else, with one
exception: no one can get to the one share on the second Ubuntu box which
I just added to the system.
All my machines have one user account (admin privileges in Windows) with
the name "pauld" and the same password. In an effort to solve this problem
2015 Sep 24
2
Trying to create bootable USB flash drive WITHOUT persistence
I've got an embedded x86 system built with Yocto, which boots from a USB
flash drive. It uses a loop mount to give access to an ext3 root file
system contained within a FAT16 file, which means it has persistent
storage. What I want is something that boots from the flash drive, but
copies everything into a large RAM disk, and runs from there, so that it
doesn't touch the flash drive once
2016 Feb 24
2
Change machine name without a reboot?
Systemd service files are generally coming with packages. This means these
files can be overwritten by some system update if this updates also your
Samba packages (note: I never had nor tested that behaviour with Samba
packages, but it happens for other packages).
2016-02-23 8:39 GMT+01:00 L.P.H. van Belle <belle at bazuin.nl>:
> Uh... just add :
>
> netbios name = PC_NAME
>
2013 Jul 27
0
Triggering a reread
The docs say that sending SIGHUP to smbd triggers an immediate reread of the
configuration. There's generally more than one instance of smbd running,
though. Can I send the signal to any one, or is there one in particular that
handles it, or must I send it to all of them? More to the point, my embedded
system stores a single process ID in /var/run/smbd.pid; will signalling that
reliable
2013 Jul 24
0
Where is the tdbsam database?
I've added Samba 3.6.8 to my Gumstix build, and I'd like to include a single
Samba user and password as part of the initial image. Can I do that by
manually adding the user to the TDB database, and then copying the resulting
file into my build machine and including it in the build? If so, where is
that file normally? (The few locations I've found mentions of via Google
didn't have
2015 Jun 03
2
Windows-8 & SMB encryption
Hi
Nagendra here I have existing a samba-3 installation which has a smb
encrypt as mandatory
i.e : smb encrypt* =* mandatory
I am trying to connect to this machine's share with windows & I am getting
the following error on the windows 8 client
System error 5 has occurred.
Access is denied.
But I use the same client machine to access another windows-8 machine with
SMB encryption I am
2013 Jun 07
2
Microsoft Hyper-V over SMB 3.0
We have a project about Microsoft Hyper-V by using our storage. We want to
use Samba to share our storage to Hyper-V.
And we know from Microsoft homepage hyper-v(windows 2012) only support
smb3.0 protocol, but right now the newest version of Samba don?t? fully
support SMB3.0 protocol. I tried the version of Samba4.0.6, Samba3.6.9,
but both failed to create virtual hosts using Hyper-V.
2014 Jul 30
2
Fwd: SMB question
Hi, I sent you an email but now when I read it again, it looks like there
were some mistakes in it... Please ignore that and address only the
following message:
Hi,
I don't know if this is the right place to ask, but I really couldn't find
it anywhere on the web and if you could only provide me with a quick hint,
it would be really helpful!
I'm experiencing the following problem
2012 Jan 20
8
The Recycled PIDs Fix
** Low Priority **
Hi Volker,
This is regarding your fix on recycled PIDs. I am an NCP developer from Novell and we use libsmbsharemodes library
from Samba for Cross Protocols Locks between NCP, Samba and others. I have few queries regarding your fix.
In your fix, you have added a new field called 'unique_id' in the server_id structure
and we need to pass this in our call to samba
2012 Nov 27
6
CTDB / Samba / GFS2 - Performance - with Picture Link
Hello,
maybe there is someone they can help and answer a question why i get these network screen on my ctdb clusters. I have two ctdb clusters. One physical and one in a vmware enviroment.
So when i transfer any files (copy) in a samba share so i get such network curves with performance breaks. I dont see that the transfer will stop but why is that so? can i change anything or does anybody know
2008 Aug 18
4
samba 3.2.2 ?
Hai,
maybe it's a bit early to ask, but is there a date when 3.2.2
wil be released.
thanx.
Louis
2011 Mar 03
5
Sharing a caching NFS mount with samba?
I am trying to set up a caching link between two points, that can be shared
with windows and *nix. In both locations, I have linux-based servers with
data, which have caching NFS mounts (that is, mount -t nfs -o fsc, with
cachefilesd). These mounts are working correctly and I have tested the
cache locally to much success.
What I have not been able to get working is sharing those mounts with
2011 Aug 16
4
Failed join operations
I'm running a PDC on Samba 3.60. Just freshly upgraded it from Samba
3.028a with the purpose of supporting Windows 7. However though all
the existing users and computers are running fine, I'm stumped trying
to join a new Windows 7 machine to it. I have applied the
DomainCompatibility registry fix.
When I try to join a Windows 7 workstation I will get this message :
The join operation