search for: samba_tool

Displaying 20 results from an estimated 22 matches for "samba_tool".

2015 Nov 30
2
restarting samba using a cron job on Debian
...ve failure(s). Last success @ Wed Nov 18 18:48:07 2015 CET Restarting samba fixes the issue for an unpredictable time. Sometimes hours, sometimes many weeks. So I wrote a script to restart samba in this case: #!/bin/bash # # Check if samba replication broke down and restart samba in this case # SAMBA_TOOL=/usr/bin/samba-tool SED=/bin/sed MAIL=/usr/bin/mail RM=/bin/rm MKTMP=/bin/mktemp FAIL=`$SAMBA_TOOL drs showrepl | $SED -n "/^\s*[1-9][0-9]* consecutive failure(s)\.$/p"` if [[ -n "$FAIL" ]]; then TMP=$($MKTMP) $SAMBA_TOOL drs showrepl > "$TMP" echo &quot...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...nk: samba/tests/s3passdb.py -> python/samba/tests/s3passdb.py symlink: samba/tests/s3registry.py -> python/samba/tests/s3registry.py symlink: samba/tests/s3windb.py -> python/samba/tests/s3windb.py symlink: samba/tests/samba3sam.py -> python/samba/tests/samba3sam.py symlink: samba/tests/samba_tool/__init__.py -> python/samba/tests/samba_tool/__init__.py symlink: samba/tests/samba_tool/base.py -> python/samba/tests/samba_tool/base.py symlink: samba/tests/samba_tool/computer.py -> python/samba/tests/samba_tool/computer.py symlink: samba/tests/samba_tool/demote.py -> python/samba/te...
2015 Nov 30
2
restarting samba using a cron job on Debian
...g samba fixes the issue for an unpredictable time. Sometimes >> hours, sometimes many weeks. So I wrote a script to restart samba in >> this case: >> >> #!/bin/bash >> # >> # Check if samba replication broke down and restart samba in this case >> # >> SAMBA_TOOL=/usr/bin/samba-tool >> SED=/bin/sed >> MAIL=/usr/bin/mail >> RM=/bin/rm >> MKTMP=/bin/mktemp >> >> FAIL=`$SAMBA_TOOL drs showrepl | $SED -n "/^\s*[1-9][0-9]* consecutive >> failure(s)\.$/p"` >> >> if [[ -n "$FAIL" ]]; then &g...
2015 Nov 30
0
restarting samba using a cron job on Debian
...7 2015 CET > > Restarting samba fixes the issue for an unpredictable time. Sometimes > hours, sometimes many weeks. So I wrote a script to restart samba in > this case: > > #!/bin/bash > # > # Check if samba replication broke down and restart samba in this case > # > SAMBA_TOOL=/usr/bin/samba-tool > SED=/bin/sed > MAIL=/usr/bin/mail > RM=/bin/rm > MKTMP=/bin/mktemp > > FAIL=`$SAMBA_TOOL drs showrepl | $SED -n "/^\s*[1-9][0-9]* consecutive > failure(s)\.$/p"` > > if [[ -n "$FAIL" ]]; then > TMP=$($MKTMP) > $SAMBA_TO...
2015 Nov 30
0
restarting samba using a cron job on Debian
...npredictable time. Sometimes >>> hours, sometimes many weeks. So I wrote a script to restart samba in >>> this case: >>> >>> #!/bin/bash >>> # >>> # Check if samba replication broke down and restart samba in this case >>> # >>> SAMBA_TOOL=/usr/bin/samba-tool >>> SED=/bin/sed >>> MAIL=/usr/bin/mail >>> RM=/bin/rm >>> MKTMP=/bin/mktemp >>> >>> FAIL=`$SAMBA_TOOL drs showrepl | $SED -n "/^\s*[1-9][0-9]* consecutive >>> failure(s)\.$/p"` >>> >>> if...
2019 Sep 28
2
Compile samba github code and flash the build binary to embedded device
On 28/09/2019 15:39, Hock Leong Ang via samba wrote: > Hi All, > May I have some advise on this issue? > Thank you. > > On Fri, 27 Sep 2019 at 10:55, Hock Leong Ang <anghockleong501 at gmail.com> > wrote: > >> Hi Sir/Madam/Miss, >> >> I am a firmware engineer. I would like to implement file sharing between >> embedded device and android phone/ios
2015 Nov 30
3
restarting samba using a cron job on Debian
...;>>> hours, sometimes many weeks. So I wrote a script to restart samba in >>>> this case: >>>> >>>> #!/bin/bash >>>> # >>>> # Check if samba replication broke down and restart samba in this case >>>> # >>>> SAMBA_TOOL=/usr/bin/samba-tool >>>> SED=/bin/sed >>>> MAIL=/usr/bin/mail >>>> RM=/bin/rm >>>> MKTMP=/bin/mktemp >>>> >>>> FAIL=`$SAMBA_TOOL drs showrepl | $SED -n "/^\s*[1-9][0-9]* consecutive >>>> failure(s)\.$/p"`...
2019 Sep 30
3
Compile samba github code and flash the build binary to embedded device
.../site-packages/samba/samba3 >> 16 samba/lib/python3.4/site-packages/samba/tests/dns_forwarder_helpers >> 60 samba/lib/python3.4/site-packages/samba/tests/blackbox >> 48 samba/lib/python3.4/site-packages/samba/tests/emulate >> 352 samba/lib/python3.4/site-packages/samba/tests/samba_tool >> 492 samba/lib/python3.4/site-packages/samba/tests/dcerpc >> 48 samba/lib/python3.4/site-packages/samba/tests/kcc >> 2096 samba/lib/python3.4/site-packages/samba/tests >> 420 samba/lib/python3.4/site-packages/samba/__pycache__ >> 8 samba/lib/python3.4/site-packages/s...
2019 Sep 30
0
Compile samba github code and flash the build binary to embedded device
...ba/lib/python3.4/site-packages/samba/samba3 > 16 samba/lib/python3.4/site-packages/samba/tests/dns_forwarder_helpers > 60 samba/lib/python3.4/site-packages/samba/tests/blackbox > 48 samba/lib/python3.4/site-packages/samba/tests/emulate > 352 samba/lib/python3.4/site-packages/samba/tests/samba_tool > 492 samba/lib/python3.4/site-packages/samba/tests/dcerpc > 48 samba/lib/python3.4/site-packages/samba/tests/kcc > 2096 samba/lib/python3.4/site-packages/samba/tests > 420 samba/lib/python3.4/site-packages/samba/__pycache__ > 8 samba/lib/python3.4/site-packages/samba/web_server >...
2019 Oct 02
0
Compile samba github code and flash the build binary to embedded device
...amba/samba3 >>> 16 samba/lib/python3.4/site-packages/samba/tests/dns_forwarder_helpers >>> 60 samba/lib/python3.4/site-packages/samba/tests/blackbox >>> 48 samba/lib/python3.4/site-packages/samba/tests/emulate >>> 352 samba/lib/python3.4/site-packages/samba/tests/samba_tool >>> 492 samba/lib/python3.4/site-packages/samba/tests/dcerpc >>> 48 samba/lib/python3.4/site-packages/samba/tests/kcc >>> 2096 samba/lib/python3.4/site-packages/samba/tests >>> 420 samba/lib/python3.4/site-packages/samba/__pycache__ >>> 8 samba/lib/pytho...
2018 Apr 04
2
How to change Domain password as normal user?
...domain password for the user, "neither of them have anything to do > with AD" and hence apparently do not reset the exipriation day. So, > I've now tried: > > samba-tool user password -U $USER --ipaddress=192.168.0.2 The relevant line in my yad script looks like this: ${SAMBA_TOOL} user password ${NEWPASS} ${IPADDRESS} -U ${USERNAME} ${OLDPASS} > > and that works and does reset the expiration count so that my > rpcclient query returns 90 days. I can also use the AD/DC host name > instead of the IP address. > > I'm using this as a $HOME/.kde/Autostart...
2012 Apr 03
0
Won't execute LOGON.CMD?
This seems like such an easy thing, I must be missing something obvious... :-( I'm working on migrating a domain from S2 to S4 and running the samba_tool script. All my users are coming across fine (though I'm not sure why all the old system accounts like "ssh" and "daemon" and "halt" are getting created... another issue). I am using a FreeNAS appliance for my file sharing, which is also working quite nicely. I...
2012 Apr 04
0
Won't execute LOGON.CMD? *SOLVED*
...ministering WINDOWS! Sheesh! ;-) On Tue, Apr 3, 2012 at 12:23 PM, Charles Tryon <charles.tryon at gmail.com>wrote: > > This seems like such an easy thing, I must be missing something obvious... > :-( > > I'm working on migrating a domain from S2 to S4 and running the samba_tool > script. All my users are coming across fine (though I'm not sure why all > the old system accounts like "ssh" and "daemon" and "halt" are getting > created... another issue). I am using a FreeNAS appliance for my file > sharing, which is also workin...
2012 Apr 09
0
samba Digest, Vol 112, Issue 3
...gmail.com> To: Samba list <samba at lists.samba.org> Cc: Date: Tue, 3 Apr 2012 12:23:54 -0400 Subject: [Samba] Won't execute LOGON.CMD? This seems like such an easy thing, I must be missing something obvious... :-( I'm working on migrating a domain from S2 to S4 and running the samba_tool script. All my users are coming across fine (though I'm not sure why all the old system accounts like "ssh" and "daemon" and "halt" are getting created... another issue). I am using a FreeNAS appliance for my file sharing, which is also working quite nicely. I...
2017 Jul 04
0
[PATCH] samba-tool: Easily edit a users object in AD V2 with test
...get: > > > > > > > > On branch master > > > > Your branch is ahead of 'origin/master' by 1 commit. > > > > (use "git push" to publish your local commits) > > > > Untracked files: > > > > python/samba/tests/samba_tool/edit.sh > > > > > > > > nothing added to commit but untracked files present > > > > > > > > I don't think I should run 'git push' as, from reading the > > > > manpage, it looks like this will try to create 'edit.sh' i...
2016 Dec 07
0
[Announce] Samba 4.5.2 Available for Download
...t; * BUG 10297: s3:smbd: Only pass UCF_PREP_CREATEFILE to filename_convert() if we may create a new file. o Mathieu Parent <math.parent at gmail.com> * BUG 12371: ctdb-scripts: Fix Debian init in samba eventscript. o Garming Sam <garming at catalyst.net.nz> * BUG 9954: samba_tool/fsmo: Allocate RID Set when seizing RID manager. * BUG 10882: s4-auth: Don't check for NULL saltPrincipal if it doesn't need it. * BUG 12297: upgradeprovision: Remove objectCategory from constructed attrs. * BUG 12385: collect_tombstones: Allow links to recycled objects to be...
2016 Dec 07
0
[Announce] Samba 4.5.2 Available for Download
...t; * BUG 10297: s3:smbd: Only pass UCF_PREP_CREATEFILE to filename_convert() if we may create a new file. o Mathieu Parent <math.parent at gmail.com> * BUG 12371: ctdb-scripts: Fix Debian init in samba eventscript. o Garming Sam <garming at catalyst.net.nz> * BUG 9954: samba_tool/fsmo: Allocate RID Set when seizing RID manager. * BUG 10882: s4-auth: Don't check for NULL saltPrincipal if it doesn't need it. * BUG 12297: upgradeprovision: Remove objectCategory from constructed attrs. * BUG 12385: collect_tombstones: Allow links to recycled objects to be...
2005 Apr 01
2
INTERNAL ERROR
Hi all I have got a samba-3.0.13 (hot off the press) PDC running here that also works as a print server printig via cups-1.1.23. As a backend I use openldap-2.2.11 What I get in my log files is what you see below. It seems this only happens when the user prints a *.pdf file. The message shows up once in a while, definetly not for every print job that gets submitted. Printing of those *.pdf
2018 Apr 04
0
How to change Domain password as normal user?
...ither of them have anything to do > > with AD" and hence apparently do not reset the exipriation day. So, > > I've now tried: > > > > samba-tool user password -U $USER --ipaddress=192.168.0.2 > > The relevant line in my yad script looks like this: > > ${SAMBA_TOOL} user password ${NEWPASS} ${IPADDRESS} -U ${USERNAME} > ${OLDPASS} > > > > > and that works and does reset the expiration count so that my > > rpcclient query returns 90 days. I can also use the AD/DC host name > > instead of the IP address. > > > > I'...
2017 Jun 06
3
How to update the root hints for bind DLZ
On Tue, 6 Jun 2017 16:12:11 +0200 Torsten Kurbad via samba <samba at lists.samba.org> wrote: > Am Tue, 6 Jun 2017 12:23:24 +0100 > schrieb Rowland Penny <rpenny at samba.org>: > > > On Tue, 6 Jun 2017 13:06:42 +0200 > > Marcel de Reuver via samba <samba at lists.samba.org> wrote: > > > > > A quick search on Google gives: http://www.unixfu