Displaying 20 results from an estimated 700 matches similar to: "Programatically Modifying Users"
2012 Mar 19
1
Receiving async directory change notifications from a Windows Server host on a Linux client
Hello everyone,
I need a way to programatically monitor a remote SMB share (hosted on a
Windows server) for new files, in an asynchronous (inotify-like) way from a
Linux machine. The directory I'd be monitoring might have a large number of
files, so I'd like to avoid constant polling. I'm open to just about
anything, from parsing smbclient stdout, to writing my own little C wrapper
2005 Dec 20
1
Remote Command Execution using jarapac,jcifs.etc.
Hi,
I need to install windows services remotely from linux. Given that the
windows server is running with minimum credentials. On reading hte previous
mails, I found that it is possible using jarapac, midlc, jcifs etc.
So I started with jcifs. I am able to transfer a file(service) from linux to
windows using jcifs API. Now I want to start that service. First I tried
with installing midlc
2004 Oct 11
2
Legal questions with jCIFS 0.8.2
I work for IBM and our developers have used jCIFS 0.8.2 in our product. We
are now going through legal approval and have some questions.
If people submit code changes to your product, do you find out if the
submitter has the right to distribute the code? If so, do they need to
sign any kind of statement?
I couldn't find version 0.8.2 on your web site. The legal question is
2006 Jan 22
4
SeBackupPrivilege
We're using Samba 3.0.21a-1 on a CentOS 4.2 server (kernel
2.6.9-22.0.2.ELsmp); everything works more or less fine,
it's functioning as the PDC with an OpenLDAP back end (setup
essentially straight from the Idealx.org playbook), etc.
We're trying to mount Windows shares to back them up, and
getting "permission denied" errors when trying to read
certain files from those
2010 Sep 11
1
'programatically' list or call objects for use in a function?
Esteemed R users and developers,
How does one 'programatically' list or call objects for use in a function?
For example, i thought i could do something better than this:
save(A.cwb, B.cwb, C.cwb, D.cwb, E.cwb, F.cwb, file="afile.RData")
with something like these-
prfxs <- c("A", "B", "C", "D", "E", "F") #**
2006 Oct 04
1
Re: Programatically checking if we''re in a domU or dom0
> Personally, I use the following command in a
> startup script to check if we''re in a privileged
> domain:
>
> grep -qsE ''^control_d$'' /proc/xen/capabilities
Hi Andrew,
thanks for your tip.
Now I can easily determine wether I''m running
on a modified kernel or not (by checking for
the presence of /proc/xen).
However, once I''ve found
2006 Oct 05
0
Re: Programatically checking if we''re in a domU or dom0
Thanks for your answers...
But IMHO it''s hacky and error-prone to rely
on the name of the host to determine
if it''s a domU or a dom0 (or an unmodified
kernel) :(
I don''t like that much neither changing
the name of the kernel :-/
I need to be able to determine, as a
normal user (that is: non-root), if I''m
running in a domU or not (I can already
tell if
2007 May 14
3
install opt-samba-base on aix 5.3
I am trying to install samba 3.0.24 on aix 5.3. I have downlaoded the binaries
from samba.org and I am using the directions found at:
http://us4.samba.org/samba/ftp/Binary_Packages/AIX/
The directions dont specify installing the base. WHen I try to install the
pware 3.0.24, it fails due to required packages missing.
I do not see a way to get opt-samba-base installed.
Included below is the
2002 Jul 31
3
Samba and CIFS question
> Hi all,
> Is samba implments CIFS.
> I thought CIFS is based on SMB
> am assuming SMB is opensource protocol
> Just wondering if am running samba 2.2.5 does it mean am running CIFS
> also what version of CIFS?
> when i sniffing SMB packets which commands should i be looking at CIFS or
SMB
>
> thanks in advance
2005 Mar 03
3
Mounting directories below share level
>From my investigations, and searching the archives, it seems that smbfs can
only mount shares, and not directories under the share
i.e.
smbmount //host/share /mnt works
smbmount //host/share/directory /mnt doesn't work
Our W2K3 server has user home directories in a tree where there are no user
rights to the next node up the tree (level1), which is the directory on the
share,
i.e.
2013 Feb 06
1
NTLMv2 with win2003 AD question
Hi
Thanks in advance.
I know my question below is not really related with samba but I'm really confused, and you guys are expert on windows authentication,
I really hope you have patience to read this and I'll appreciate any of your help.
I learned a lot from this post http://lists.samba.org/archive/jcifs/2008-October/008227.html.
I know that a "man in the middle" technique,
2007 Mar 05
3
programatically stopping acts_as_ferret drb server
I need a way to kill the ferret_server drb process programatically, so I
can start/stop it as part of the capistrano deployment process.
This should be as simple as adding some sort of stop method to
ActsAsFerret::Remote::Server. I was just messing around and was able to
do it by modifying method_missing to look for the :stop method and then
calling DRb.thread.exit -- this is not good enough for
2003 Sep 16
4
openbsd-compat/inet_ntoa.h missing from 3.7p1?
On IRIX 6.5:
cc -Wl,-woff,84 -Wl,-woff,85 -woff 1429 -O2
-I/opt/TWWfsw/tcpwrap/include -I. -I.. -I. -I./..
-I/opt/TWWfsw/libopenssl097s/include -I/opt/TWWfsw/zlib11s/include
-DHAVE_CONFIG_H -c inet_ntoa.c
cc-1035 cc: WARNING File = /usr/include/stdint.h, Line = 5
#error directive: This header file is to be used only for c99 mode
compilations
#error This header file is to be used
2011 Nov 01
4
building a subscript programatically
Hi,
On ocasion, you need to subscript an array that has an arbitrary
(ie. not known in advance) number of dimensions. How do you deal with
these situations?
It appears that it is not possible use a list as an index, for
instance this fails:
> x <- array(NA, c(2,2,2))
> x[list(TRUE,TRUE,2)]
Error in x[list(TRUE, TRUE, 2)] : invalid subscript type 'list'
The only way I know is
2002 Sep 12
1
Re: VFS Virus Scanner idea...
Chris;
I am not personally aware of any open source solutions for server based
virus protection and detection on LINUX, but I have used a commercial
product from Trend called Server Protect. More information on it is
available at http://www.trendmicro.com/products/splinux/
Additionally, their Interscan Virus Wall is an excellent product for
scanning E-Mail, Proxy Traffic, and FTP Traffic
2008 Jun 14
1
How can I create a ntlm-hash with Java
Hi
i would like to create all my LDAP-Entries with a Java servlet. The only
thing that stops me are the ntlm hashes (sambaLMPassword and
sambaNTPassword). Can anybody tell me if there are any Java sources that
create these values from a cleartext password or where in the samba
sources they are calculated so I can port the algorithm to java? I
searched the net for jacifs, which I heard should
2016 Oct 07
2
android tuning
Hi all :-)
happens that: on 10/100 network wireless clients runs 9/10Mb/s transfer
speed (from/to samba 4 file server).
While android clients (3 samsung S6 and 2 samsung S7) runs not over
3/Mb/s... :-/
Only tuning I've is:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=262144
SO_RCVBUF=262144
but no differences if I remove that line
android clients runs 9/10Mb/s using FTP
2005 Apr 14
1
utmp update for bsd systems (try 2)
re
i have posted this before but received no response...
is there anybod reading on this address?
cu
----- Forwarded message (env-from mickey) -----
re
this is a patch against samba-2.2.12p0 and adds support
for updating utmp on bsds. code similarly ripped from
openbsd's ftpd (;
cu
--
paranoic mickey (my employers have changed but, the name has remained)
--- utmp.c Thu Aug 12
2002 Jun 28
1
Re: multiple wins server entries
remember this?
On Sun, Jul 22, 2001 at 11:23:59PM -0500, Christopher R. Hertel wrote:
> The 'wins server' parameter will take a comma separated list of
> addresses or
> names, but at present it will only use the first. The code is there to
> allow Samba to fail over to the second, etc. if connections to the first
> start to time out (indicating that the first WINS server
2003 Feb 24
2
Recovery from Domain/WINS Outage - Didn't work well
We're using Samba 2.2.5 and 2.2.7 in SECURITY=DOMAIN mode.
This morning we lost contact with our PDC, and for about 2 hours, users were unable to logon. After chasing this down, we determined that we were also unable to contact the WINS server defined in
smb.conf. Our backup WINS server was available, but it seems Samba only supports one WINS server in smb.conf, so this didn't help