search for: smbcontrol

Displaying 20 results from an estimated 368 matches for "smbcontrol".

2009 Jan 06
2
smbcontrol smbd ping also answered by nmbd and winbindd
Hello, with samba-3.0.x an "smbcontrol smbd ping" was answered by all running smbd processes. With samba-3.2.x it is now *also* answered by nmbd and winbindd: [root@cs00 ~]# smbcontrol -V Version 3.2.5 [root@cs00 ~]# for i in `smbcontrol -t 1 winbindd ping | grep PONG | awk '{ print $4}'` ; do pstree -p | grep $i ; done...
2015 Sep 08
2
Please Help!!! smbcontrol close-share
Hello to everybody in the list. I want to close a samba share using a command that can be executed when i need it or scheduled with at/cron. I found that 'smbcontrol close-share' command supposed to do that, but when i try to run command it doesn't work. sudo smbcontrol smbd close-share My_Share It returns the following: Ignoring unknown parameter "use client drivers" WARNING: [printers] service MUST be p...
2018 Jun 21
3
hosts allow option is not applaying without restart smbd
On Thu, 21 Jun 2018 19:17:14 +0700 Vladimir Eltsov via samba <samba at lists.samba.org> wrote: > Hello. > > I have read man smbcontrol. > > I wrote in start message: > > > I have tried: > > systemctl reload smbd.service > > killall -1 smbd > > pkill -HUP smbd Forget 'systemctl reload' Forget 'killall' Forget 'pkill' > > smbcontrol smbd reload-config This is the on...
2018 Feb 23
2
smbcontrol reload & close-share not working like previous version
...revious version and I don't know what is wrong right now. As you know, restarting SMBD affects other shares. This is dirty way to an easy job. When I try to destroy a share I follow these steps: 1- Edit smb.conf "delete include line" 2- Delete samba share conf (what is included) 3- smbcontrol smbd close-share 4- smbcontrol all reload-config or "systemctl reload smbd" 5- zfs destroy dataset This steps not working anymore because user still won't disconnect share until service restart. When I close a share I need to take out users from the share because when they still use...
2018 Jun 21
2
hosts allow option is not applaying without restart smbd
On Thu, 21 Jun 2018 09:54:06 +0200 john doe via samba <samba at lists.samba.org> wrote: > Bottom posting > > On 6/21/2018 9:38 AM, adam_xu--- via samba wrote: > > Hi, Rowland, I have the same issue too. I can't find any useful > > info after I ran 'man smbcontrol', could you give us a clearer > > answer. Thanks. > > > > > > > > Yours Adam > > > > From: Rowland Penny via samba > > Date: 2018-06-20 17:40 > > To: samba > > Subject: Re: [Samba] hosts allow option is not applaying without &gt...
2015 Sep 08
1
Please Help!!! smbcontrol close-share
...f the command were running correctly the workstation would not be able to access the share. Is there other way to do this? I can try. Carlos On Sep/08/2015 12:08 PM, Marc Muehlfeld wrote: > Hello Carlos, > > Am 08.09.2015 um 17:42 schrieb Carlos R.P.Evertsz: >> I found that 'smbcontrol close-share' command supposed to do that, but >> when i try to run command it doesn't work. >> >> sudo smbcontrol smbd close-share My_Share > Have you read the manpage of smbcontrol? "close-share" just closes all > connections to a share, without...
2011 Sep 09
3
After a few time lost access to the Samba server (server samba - a member of the AD Win2k3)
...binfo-u, wbinfo-g, wbinfo-t, getent passwd domain_user_name, net ads info - work out without any problems. Time synchronized by cron every hour command "net time set", so that option with the divergence time is irrelevant. The moment was lost access to the server - I have done "smbcontrol smbd debug 3". When you try to access the server at debug level 3 log gets the following (attachment log.scan2). At debug level 3, with logout and login the user gets the following log (attachment log.scan2-login). In these logs are very interesting line: ===========bash================...
2014 Mar 13
1
smbcontrol smbd reload-config or service smbd reload doesn't reload include files
Hi, I noticed that smbcontrol smbd reload-config or service smbd reload doesn't reload include files. Is there anyway to get a reload to reload files that have been included from the main smb.conf ? Otherwise it only looks like restart works, but that causes connections to reset, even in a ctdb/clustered environment . The o...
2018 Jun 21
2
hosts allow option is not applaying without restart smbd
Hi, Rowland, I have the same issue too. I can't find any useful info after I ran 'man smbcontrol', could you give us a clearer answer. Thanks. Yours Adam From: Rowland Penny via samba Date: 2018-06-20 17:40 To: samba Subject: Re: [Samba] hosts allow option is not applaying without restart smbd On Wed, 20 Jun 2018 16:22:36 +0700 Vladimir Eltsov via samba <samba at lists.samba.org&g...
2015 Sep 08
0
Please Help!!! smbcontrol close-share
Hello Carlos, Am 08.09.2015 um 17:42 schrieb Carlos R.P.Evertsz: > I found that 'smbcontrol close-share' command supposed to do that, but > when i try to run command it doesn't work. > > sudo smbcontrol smbd close-share My_Share Have you read the manpage of smbcontrol? "close-share" just closes all connections to a share, without affecting other clien...
2016 Sep 22
0
Does the command line "smbcontrol ALL reload-config" force a connected share to flush parameter ?
Hi all: Thanks for your attention. I have a question about smbcontrol. A user has read and write access to a share and already connected to the share, then I delete the user from the write list in smb.conf and reload the config (use the command line "smbcontrol ALL reload-config" ), but it doesn't work, the user still has read and write access to the s...
2020 May 25
1
log.samba missing rotation
Can you try this and adjust the path's in it. #/etc/logrotate.d/samba /var/log/samba/log.smbd { weekly missingok rotate 7 postrotate [ ! -x /usr/bin/smbcontrol ] || [ ! -f /run/samba/smbd.pid ] || /usr/bin/smbcontrol smbd reload-config endscript compress delaycompress notifempty } /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate [ ! -x /usr/bin/smbcontrol ] || [...
2010 Jul 21
0
smbcontrol -d 3 smbd reload-config permission denied message.
Hi, I was attempting to make some changes to the file specified on the username map parameter. I then assumed that I needed to refresh the smbd options for this to take effect. I issued smbcontrol -d 3 smbd reload-config but the changes did not happen. In the trace output, I see the following messages:- csm1:/opt/pware64/lib #smbcontrol -d 3 smbd reload-config lp_load_ex: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/...
2020 Feb 18
6
samba AD DC eats memory
...sion is 4.11.6. Some more info (if needed): [root at vm-dc3 ~]# wbinfo -u | wc -l 62 [root at vm-dc3 ~]# wbinfo -g | wc -l 78 > Which sub-process is eating the memory? I was trying to determine that w/o success. Looks like all Samba processes do that. > Can you get a talloc dump using 'smbcontrol $PID pool-usage' for > whichever PID is leaking the memory? Not sure which one is _leaking_ the memory, so I took the one which ate memory more than the others (by "ps auxw"). Please, find the report here: https://www.dropbox.com/s/76qdq1x89brmib0/samba.1520.pool-usage.txt.gz?dl=0...
2003 Dec 09
2
smbcontrol
All, I want to be able to disconnect a user from a samba share. I'm using Samba 2.2.8a on Solaris 8. If I'm reading OReilly correctly, I should be able to use smbcontrol with the SMBD process id of the user who has the share mounted. Here's an example: ascmdev nguyenal tcmsdev 5654 orton (158.184.58.145) Tue Dec 9 14:14:10 2003 burkharr burkharr other 26688 le15970 (158.184.88.151) Mon Dec 8 08:08:55 2003 wangg wangg other...
2013 Aug 29
1
wrong record for connetcting share
HI! I have some question about smbcontrol reload-config ,please explain it to me.Thanks! Connecting samba share by windows,and modify the smb.conf(EX?modify the share record rw to ro). After that,execute smbcontrol -d 10 all reload-config. But it doesn't work on the samba connecting ,it's also the old record. How to let...
2015 May 27
0
strange smbcontrol errors
Hello everyone I'm using samba4 on centos7. If I run *smbcontrol all reload-config* I get the following errors: Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Does anyone know what they mean and how can I fix them? Many thanks Yanni
2001 Oct 13
0
Does "--with-profile" create "smbcontrol" executable?
I just noticed that I don't have an installed "smbcontrol" executable. Is this because I built Samba v2.2.1a without the "--with-profile" config option? Thanks.
2016 Mar 23
3
Starting & Stopping Samba (smb.conf modifications)
Hello, If I make a change to the smb.conf file. Can I simply invoke 'smbcontrol all reload-config', or must I kill all samba services and restart them? -- -James
2003 Dec 04
1
connection.tdb difference IP vs. NetBIOS name
Hello all, I am having a problem with Samba 3.0.0 (I have actually tested this with 3.0.1pre3, and seem to have the same problem). I am trying to add a new message to smbcontrol. I have put the code into smbcontrol.c, and I can deliver messages to the samba processes (using the command line: ./smbcontrol smbd <mymsg>). The problem is that messages get delivered to the Samba processes differently depending on whether I am connecting to them by IP address, or by...