Displaying 20 results from an estimated 28 matches for "add_script".
2003 Jan 20
1
LDAP PDC, net rpc vampire
still digging at this:
[2003/01/20 14:26:38, 2] passdb/pdb_ldap.c:ldapsam_connect_system(421)
ldap_connect_system: succesful connection to the LDAP server
[2003/01/20 14:26:38, 4] passdb/pdb_ldap.c:ldapsam_open(472)
The LDAP server is succesful connected
[2003/01/20 14:26:38, 4] passdb/pdb_ldap.c:ldapsam_getsampwnam(1573)
We don't find this user [Administrator] count=0
[2003/01/20
1998 Jul 02
1
Synchronize Unix/SMB passwords with 'synchpasswd'
...y
# revisions you make.
#
# I take no responsibility for any "adverse" behavior of
# this script. USE AT YOUR OWN RISK !!
#
#
# Modify these definitions to match your site's installation, and
# your preferences.
#
$smb_passwd = "/usr/local/samba/private/smbpasswd"
$add_script = "/usr/local/samba/bin/addtosmbpass"
$private_dir = "/usr/local/samba/bin/private"
$system_id = 99; # Remove user ID's below this value from SMB
#
# Let's go...
#
use Text::ParseWords; # For the 'quotewords' function
chdir($private_dir);
#
# Scan through...
2005 Mar 14
2
Questions about 3.0.12rc1
Hello!
Before this post, i'm send 3 problems in 3.0.11
I'm compiled 3.0.12rc1 and found next:
1) Settings primary group .... problem solved, but question to developer
You append to mapping.c in smb_set_primary_group
ret = smbrun(add_script,NULL);
flush_pwnam_cache();
^^^^^^^^^^^^^^^^^^^^
But not check ret code .....if my script exit in code != 0, i'm change
primary group ... ( script "set primary group" still needed ? )
2) Next in this code is winbind, but debug message string have code
DEBUG(3,("smb_d...
2004 Sep 24
1
Re: Samba 3.0.3 on FC2: windows machine cannot join domain
...formation, however, the source
code suggests that this advice is perhaps suspect.
The particular module that handles automatic account creation is in
~samba/source/rpc_server/srv_samr_nt.c and specifically at line 2253.
Here is the very line that does the parameter substitution:
all_string_sub(add_script, "%u", account, sizeof(add_script));
As you can see, it is the "%u" parameter that is being substituted. Maybe I am
reading this incorrectly? However, I have performed many hundreds of
installations and have always used the "%u" parameter - and it has worked.
Given...
2004 Sep 23
0
Re: Samba 3.0.3 on FC2: windows machine cannot join domain
...formation, however, the source
code suggests that this advice is perhaps suspect.
The particular module that handles automatic account creation is in
~samba/source/rpc_server/srv_samr_nt.c and specifically at line 2253.
Here is the very line that does the parameter substitution:
all_string_sub(add_script, "%u", account, sizeof(add_script));
As you can see, it is the "%u" parameter that is being substituted. Maybe I am
reading this incorrectly? However, I have performed many hundreds of
installations and have always used the "%u" parameter - and it has worked.
Given...
2003 Jan 21
2
sort-of fix for net rpc vampire account creation
...source/utils/net_rpc_samsync.c,v
retrieving revision 1.16
diff -a -u -r1.16 net_rpc_samsync.c
--- source/utils/net_rpc_samsync.c 20 Dec 2002 20:23:06 -0000 1.16
+++ source/utils/net_rpc_samsync.c 21 Jan 2003 12:13:36 -0000
@@ -318,6 +318,24 @@
add_ret = smbrun(add_script,NULL);
DEBUG(1,("fetch_account: Running the command `%s' "
"gave %d\n", add_script, add_ret));
+ } else {
+ /* Need to add the user by other means */
+ int local_flags = LO...
2012 Apr 11
1
[PATCH] sysprep: align the help message
...sed when
the C<script> operation is enabled and one or more scripts
@@ -143,7 +143,7 @@ B<Note:> C<scriptdir> B<must> be an absolute path.
If I<--scriptdir> is not specified then a temporary mountpoint
will be created.";
- ("--script", Arg.String add_script, "script Script or program to run on guest"),
+ ("--script", Arg.String add_script, "script\tScript or program to run on guest"),
"\
Run the named C<script> (a shell script or program) against the
guest. The script can be any program on the host....
2004 Sep 23
1
Re: Samba 3.0.3 on FC2: windows machine cannot join domain
After, oh, six months of attempts here and there to read everyone's
experiences with Samba/LDAP and inability for a windows 2000/XP machine
to join the domain, I finally discovered what was not working properly.
In my smb.conf I put:
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
As instructed by many How-to's and Idealx. However, I thought to myself,
%m
2012 Apr 06
2
[PATCH] virt-sysprep:add logging feature
...));
[]
| _ -> []
diff --git a/sysprep/sysprep_operation_script.ml b/sysprep/sysprep_operation_script.ml
index 977d41f..65b23c6 100644
--- a/sysprep/sysprep_operation_script.ml
+++ b/sysprep/sysprep_operation_script.ml
@@ -35,7 +35,7 @@ let set_scriptdir dir =
let scripts = ref []
let add_script script = scripts := script :: !scripts
-let rec script_perform (g : Guestfs.guestfs) root =
+let rec script_perform (g : Guestfs.guestfs) root show_log =
let scripts = List.rev !scripts in
if scripts <> [] then (
(* Create a temporary directory? *)
diff --git a/sysprep/sysprep_op...
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...od_description = s_"\
The mount point (an empty directory on the host) used when
@@ -142,7 +143,7 @@ If I<--scriptdir> is not specified then a temporary mountpoint
will be created."
};
- { extra_argspec = [ "--script" ], Getopt.String (s_"script", add_script), s_"Script or program to run on guest";
+ { extra_argspec = [ L"script" ], Getopt.String (s_"script", add_script), s_"Script or program to run on guest";
extra_pod_argval = Some "SCRIPT";
extra_pod_description = s_"\
Ru...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2:
- Further fixes to Getopt int parsing.
- Completed the L/S changes.
- Fixed the test suite so it passes now. Also we don't need the
special-case tests for 64 bit arch.
Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4:
- Pushed the first patch upstream since it was ACKed.
- Prevent use of M except for the special virt-v2v options.
- Sort the options after added --help etc.
- Make corresponding fixes to the tests.
Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3:
- Add M variant and test it.
Rich.
2016 Jul 07
12
[PATCH v3 0/8] v2v: Move Curl wrapper to mllib and more.
v2 -> v3:
- Changes to the Curl API suggested by Pino.
2016 Jul 07
9
[PATCH v2 0/8] v2v: Move Curl wrapper to mllib and use it for virt-builder (and more).
v1 -> v2:
- Fixed the bug with precedence of if / @.
- Add some imperative list operators inspired by Perl, and use those
for constructing the Curl arguments, and more.
Rich.
2017 Nov 21
2
[PATCH v3 0/2] common/mlstdutils: Extend the List module.
v2 -> v3:
- Renamed List.assoc_ -> List.assoc_lbl.
- Rebased on top of current master branch.
Rich.
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...od_description = s_"\
> The mount point (an empty directory on the host) used when
> @@ -142,7 +142,7 @@ If I<--scriptdir> is not specified then a temporary mountpoint
> will be created."
> };
>
> - { extra_argspec = "--script", Arg.String add_script, s_"script" ^ " " ^ s_"Script or program to run on guest";
> + { extra_argspec = [ "--script" ], Getopt.String (s_"script", add_script), s_"Script or program to run on guest";
> extra_pod_argval = Some "SCRIPT"...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...IPTDIR";
extra_pod_description = s_"\
The mount point (an empty directory on the host) used when
@@ -142,7 +142,7 @@ If I<--scriptdir> is not specified then a temporary mountpoint
will be created."
};
- { extra_argspec = "--script", Arg.String add_script, s_"script" ^ " " ^ s_"Script or program to run on guest";
+ { extra_argspec = [ "--script" ], Getopt.String (s_"script", add_script), s_"Script or program to run on guest";
extra_pod_argval = Some "SCRIPT";...
2014 Jan 21
1
[PATCH 1/2] sysprep: Update comments.
---
sysprep/sysprep_operation.mli | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation.mli b/sysprep/sysprep_operation.mli
index 61dde72..eb89db4 100644
--- a/sysprep/sysprep_operation.mli
+++ b/sysprep/sysprep_operation.mli
@@ -16,14 +16,16 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*)
-(** Structure used to describe sysprep
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...IPTDIR";
extra_pod_description = s_"\
The mount point (an empty directory on the host) used when
@@ -142,7 +142,7 @@ If I<--scriptdir> is not specified then a temporary mountpoint
will be created."
};
- { extra_argspec = "--script", Arg.String add_script, s_"script" ^ " " ^ s_"Script or program to run on guest";
+ { extra_argspec = [ "--script" ], Getopt.String (s_"script", add_script), s_"Script or program to run on guest";
extra_pod_argval = Some "SCRIPT";...