search for: takes_opt

Displaying 8 results from an estimated 8 matches for "takes_opt".

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
2019 Apr 06
0
"00002020: Operation unavailable without authentication" using python-ldap
...tree? It might help if you explain just what you are trying to do ;-) Samba generally use 'ldb' to work with the AD database, for instance 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&quot...
2010 May 26
1
Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Hi all, As per Jelmer's request - in response to bug #7455 attached diff file. Please let me know what you think and if any modificationes need to be performed Regards Luk -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: newusergroupadv.diff URL:
2017 Jan 30
0
classic upgrade fails with 4.6-test
..."storing attributes likes ntacl when --use-ntvfs is set. " "auto tries to make an inteligent guess based on the user rights and system capabilities", default="auto") ] if samba.is_ntvfs_fileserver_built(): takes_options.extend(ntvfs_options) From the way I read it 'ntvfs_options' is ignored unless ntvfs has been built and it is only built if '--with-ntvfs-fileserver' or '--enable-selftest' are used with configure So, we move down the code (with '--use-ntvfs' and '--use-xat...
2017 Jan 29
0
classic upgrade fails with 4.6-test
...t; "storing attributes likes ntacl when --use-ntvfs is set. " "auto tries to make an inteligent guess based on the user rights and system capabilities", default="auto") ] if samba.is_ntvfs_fileserver_built(): takes_options.extend(ntvfs_options) def run(self, smbconf=None, targetdir=None, dbdir=None, testparm=None, quiet=False, verbose=False, use_xattrs=None, sambaopts=None, versionopts=None, dns_backend=None, use_ntvfs=False): eadb = True if use_xattrs == "yes&...
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 Apr 07
2
"00002020: Operation unavailable without authentication" using python-ldap
...you are trying to do ;-) > > Samba generally use 'ldb' to work with the AD database, for instance 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.SambaOp...