Displaying 12 results from an estimated 12 matches for "metavar".
Did you mean:
metavars
2019 Sep 12
1
[libnbd PATCH] nbdsh: Support -u as synonym for --connect
...ll():
epilog=epilog)
parser.add_argument ('-b', '--base-allocation', action='store_true',
help='request the "base:allocation" meta context')
- parser.add_argument ('--connect', metavar='URI',
+ parser.add_argument ('-u', '--connect', metavar='URI',
help="connect to NBD URI")
parser.add_argument ('-c', '--command', action='append',
help="run a command&...
2012 Aug 01
2
[LLVMdev] [RFC] New command line parsing/generating framework for clang and lld.
...enderMatch is used to capture
// values and assign them identifiers. When Render is printed, these values
// are inserted into it in the marked locations.
string Render = render;
dag RenderMatch = rendermatch;
// The meta-variable name of each value.
list<string> ValueMetavars;
// The list of valid prefixes for this Option. The parser will check if
// Prefixes[i] + Name is a prefix of a potential Option for each prefix in
// Prefixes.
list<string> Prefixes = prefixes;
// The name of this Option without any prefixes or postfixes. This is what...
2019 Apr 06
2
"00002020: Operation unavailable without authentication" using python-ldap
Hello,
I'm writing in regards to this issue I opened on GitHub:
https://github.com/python-ldap/python-ldap/issues/275
I am able to successfully use ldapsearch to query my Samba 4.9.4-Debian DC:
ldapsearch -LLL -Y GSSAPI -H ldap://samba-dc.ad.example.com -b
"dc=ad,dc=example,dc=com" "(objectClass=user)" "sAMAccountName"
However, when I try to use python-ldap I
2012 Aug 09
0
[LLVMdev] [RFC] New command line parsing/generating framework for clang and lld.
...// values and assign them identifiers. When Render is printed, these values
> // are inserted into it in the marked locations.
> string Render = render;
> dag RenderMatch = rendermatch;
>
> // The meta-variable name of each value.
> list<string> ValueMetavars;
>
> // The list of valid prefixes for this Option. The parser will check if
> // Prefixes[i] + Name is a prefix of a potential Option for each prefix in
> // Prefixes.
> list<string> Prefixes = prefixes;
>
> // The name of this Option without any pre...
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...to
list users:
class cmd_user_list(Command):
"""List all users."""
synopsis = "%prog [options]"
takes_options = [
Option("-H", "--URL", help="LDB URL for database or target server", type=str,
metavar="URL", dest="H"),
]
takes_optiongroups = {
"sambaopts": options.SambaOptions,
"credopts": options.CredentialsOptions,
"versionopts": options.VersionOptions,
}
def run(self, sambaopts=None, credopts=None, ver...
2017 Jan 30
0
classic upgrade fails with 4.6-test
...ns = [
Option("--use-ntvfs", help="Use NTVFS for the fileserver (default = no)",
action="store_true"),
Option("--use-xattrs", type="choice", choices=["yes","no","auto"],
metavar="[yes|no|auto]",
help="Define if we should use the native fs capabilities or a tdb file for "
"storing attributes likes ntacl when --use-ntvfs is set. "
"auto tries to make an inteligent guess based on the user right...
2017 Jan 29
0
classic upgrade fails with 4.6-test
...ptions = [
Option("--use-ntvfs", help="Use NTVFS for the fileserver (default = no)",
action="store_true"),
Option("--use-xattrs", type="choice", choices=["yes","no","auto"],
metavar="[yes|no|auto]",
help="Define if we should use the native fs capabilities or a tdb file for "
"storing attributes likes ntacl when --use-ntvfs is set. "
"auto tries to make an inteligent guess based on the user rights a...
2019 Sep 12
2
[libnbd PATCH] nbdsh: Add -b option to simplify h.block_status
...tion,
epilog=epilog)
+ parser.add_argument ('-b', '--base-allocation', action='store_true',
+ help='request the "base:allocation" meta context')
parser.add_argument ('--connect', metavar='URI',
help="connect to NBD URI")
parser.add_argument ('-c', '--command', action='append',
@@ -52,6 +54,8 @@ exit() or Ctrl-D # Quit the shell
help (nbd) # Display documentation
...
2017 Jan 29
3
classic upgrade fails with 4.6-test
On Sun, Jan 29, 2017 at 4:54 PM, Rowland Penny <rpenny at samba.org> wrote:
> When you built Samba, did you use the '--with-ntvfs-fileserver' or
> '--enable-selftest' options with configure ?
>
I used '--without-ntvfs-fileserver'.
2017 Jan 30
2
classic upgrade fails with 4.6-test
On Mon, 2017-01-30 at 08:42 +0000, Rowland Penny wrote:
> On Mon, 30 Jan 2017 15:44:15 +1300
> Andrew Bartlett <abartlet at samba.org> wrote:
>
> > On Sun, 2017-01-29 at 22:43 +0000, Rowland Penny via samba wrote:
> > > On Sun, 29 Jan 2017 17:07:39 -0500
> > > Sonic <sonicsmith at gmail.com> wrote:
> > >
> > > > On Sun, Jan 29,
2019 Sep 12
1
[libnbd PATCH v2] nbdsh: Prefer --uri over --connect
...,10 @@ def shell():
epilog=epilog)
parser.add_argument ('--base-allocation', action='store_true',
help='request the "base:allocation" meta context')
- parser.add_argument ('--connect', metavar='URI',
+ parser.add_argument ('-u', '--uri',
help="connect to NBD URI")
+ # For back-compat, provide --connect as an undocumented synonym to --uri
+ parser.add_argument ('--connect', dest='uri', help=argparse.SUPPR...
2019 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...mmand):
> """List all users."""
>
> synopsis = "%prog [options]"
>
> takes_options = [
> Option("-H", "--URL", help="LDB URL for database or target
> server", type=str,
> metavar="URL", dest="H"),
> ]
>
> takes_optiongroups = {
> "sambaopts": options.SambaOptions,
> "credopts": options.CredentialsOptions,
> "versionopts": options.VersionOptions,
> }
>
> def r...