search for: session_info

Displaying 20 results from an estimated 81 matches for "session_info".

2013 Nov 21
1
CONNECTION_REFUSED
...in samba.log (loglevel 2). While this happens getent passwd shows no domain users, but everyone could reach all of the shares. Any idea what could cause this kind of error messages? [2013/11/21 15:53:15.736390, 1] ../source3/smbd/sesssetup.c:276(reply_sesssetup_and_X_spnego) Failed to generate session_info (user and group token) for session setup: NT_STATUS_CONNECTION_REFUSED [2013/11/21 15:53:15.802120, 1] ../source3/smbd/sesssetup.c:276(reply_sesssetup_and_X_spnego) Failed to generate session_info (user and group token) for session setup: NT_STATUS_CONNECTION_REFUSED [2013/11/21 15:53:15.883661,...
2020 Jul 09
1
DC replications of FreeBSD samba-4.10.15
...lp, use_ntvfs=use_ntvfs) File "/usr/local/lib/python3.7/site-packages/samba/provision/__init__.py", line 1735, in setsysvolacl _setntacl(sysvol) File "/usr/local/lib/python3.7/site-packages/samba/provision/__init__.py", line 1732, in _setntacl service=SYSVOL_SERVICE, session_info=session_info) File "/usr/local/lib/python3.7/site-packages/samba/ntacls.py", line 232, in setntacl service=service, session_info=session_info) However, when I check the acls on smb4-2 I see this: [root at smb4-2 ~ (master)]# getfacl /var/db/samba4/sysvol # file: /var/db/samba4/sy...
2015 Jan 15
3
Samba4 Android port and Python auth modules
...d nmb daemons fire up and appear to operate correctly, at least as good as Samba3. However, when trying to use samba-tool to create/list users, etc. I run into the following: ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module' object has no attribute 'session_info' Which I interpret to mean that the session_info attribute is not present in samba.dcerpc.auth, but it is. I am a Python and Samba novice, but it appears that samba.auth is overshadowing samba.dcerpc.auth, or vice-versa. When I run python interactively, I can import both modules, but I only se...
2014 Nov 26
3
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...nd this is used to check version specifications given in the Imports field when a namespace is loaded" But some toy (locally built and loaded) examples seem to show that while the Depends versions are checked, the Imports version constraints are not (on Windows 64, running R3.1.2, see full session_info later). My tests (package2 imports package1) use implicit loading (via the package1::fun1() idiom) so I have worked back to try get a minimal example of what's causing me problems. I have tried loadNamespace('package2', versionCheck = list (op = ">=", version = pack...
2019 Sep 13
3
Clussicupgrade tdbsam Unable to load modules for /var/lib/samba/private/secrets.ldb
..."/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2262, in provision backend_credentials=provision_backend.credentials, lp=lp) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1015, in setup_secretsdb secrets_ldb = Ldb(path, session_info=session_info, lp=lp) File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 115, in __init__ self.connect(url, flags, options)
2014 Nov 27
2
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...fications given in the Imports field > when a namespace is loaded" > > > > But some toy (locally built and loaded) examples seem to show that > while the Depends versions are checked, the Imports version > constraints are not (on Windows 64, running R3.1.2, see full session_info later). > > > > My tests (package2 imports package1) use implicit loading (via the > package1::fun1() idiom) so I have worked back to try get a minimal > example of what's causing me problems. I have tried According to what you have written, that should have failed. So...
2014 Nov 26
0
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...ecifications given in the Imports field when a > namespace is loaded" > > > > But some toy (locally built and loaded) examples seem to show that while the > Depends versions are checked, the Imports version constraints are not (on > Windows 64, running R3.1.2, see full session_info later). > > > > My tests (package2 imports package1) use implicit loading (via the > package1::fun1() idiom) so I have worked back to try get a minimal example > of what's causing me problems. I have tried According to what you have written, that should have failed. So i...
2019 Apr 13
2
ntacl sysvolreset - errors / patch?
.../samba/provision/__init__.py", line 1590, in set_dir_acl setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", line 230, in setntacl service=service, session_info=session_info) I found someone else's patch which I think would help me greatly, but this seems to be targeted against 4.6.1. https://forge.univention.org/bugzilla/show_bug.cgi?id=38217 Before I spend too much time looking into this - is any "resume on error" functionality present in...
2014 Nov 27
2
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...>> when a namespace is loaded" >> >> >> >> But some toy (locally built and loaded) examples seem to show that >> while the Depends versions are checked, the Imports version >> constraints are not (on Windows 64, running R3.1.2, see full >> session_info > later). >> >> >> >> My tests (package2 imports package1) use implicit loading (via the >> package1::fun1() idiom) so I have worked back to try get a minimal >> example of what's causing me problems. I have tried > > According to what you have w...
2014 Nov 27
0
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...orts field >> when a namespace is loaded" >> >> >> >> But some toy (locally built and loaded) examples seem to show that >> while the Depends versions are checked, the Imports version >> constraints are not (on Windows 64, running R3.1.2, see full session_info > later). >> >> >> >> My tests (package2 imports package1) use implicit loading (via the >> package1::fun1() idiom) so I have worked back to try get a minimal >> example of what's causing me problems. I have tried > > According to what you have w...
2019 Jul 18
2
Syncing sysvol -> samba-tool ntacl sysvolreset?
.../samba/provision/__init__.py", line 1599, in set_dir_acl setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) File "/usr/local/samba/lib/python3.4/site-packages/samba/ntacls.py", line 232, in setntacl service=service, session_info=session_info) HTH! J -- "If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein
2014 Dec 11
2
DNS backend on samba4 nt4 style
...ck (most recent call last):* * File "/usr/sbin/samba_upgradedns", line 259, in <module>* * ldbs = get_ldbs(paths, creds, system_session(), lp)* * File "/usr/lib/python2.7/dist-packages/samba/upgradehelpers.py", line 140, in get_ldbs* * ldbs.sam = SamDB(paths.samdb, session_info=session, credentials=creds, lp=lp, options=["modules:samba_dsdb"])* * File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 56, in __init__* * options=options)* * File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in __init__* * self.co...
2014 Nov 27
0
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...is loaded" >>> >>> >>> >>> But some toy (locally built and loaded) examples seem to show that >>> while the Depends versions are checked, the Imports version >>> constraints are not (on Windows 64, running R3.1.2, see full >>> session_info >> later). >>> >>> >>> >>> My tests (package2 imports package1) use implicit loading (via the >>> package1::fun1() idiom) so I have worked back to try get a minimal >>> example of what's causing me problems. I have tried >> &g...
2014 Nov 27
1
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
...is loaded" >>> >>> >>> >>> But some toy (locally built and loaded) examples seem to show that >>> while the Depends versions are checked, the Imports version >>> constraints are not (on Windows 64, running R3.1.2, see full >>> session_info >> later). >>> >>> >>> >>> My tests (package2 imports package1) use implicit loading (via the >>> package1::fun1() idiom) so I have worked back to try get a minimal >>> example of what's causing me problems. I have tried >> &g...
2018 Feb 14
2
getpwuid failed for single user on single file share
...n adfs02 it says: [2018/02/14 18:51:29.614082, 1] ../source3/auth/token_util.c:430(add_local_groups) SID S-1-5-21-456140246-2344957557-3140247660-1174 -> getpwuid(10026) failed [2018/02/14 18:51:29.614128, 1] ../source3/smbd/sesssetup.c:282(reply_sesssetup_and_X_spnego) Failed to generate session_info (user and group token) for session setup: NT_STATUS_UNSUCCESSFUL > Does 'getent passwd brokenuser' produce any output when run on 'adfs02' > ? root at adfs02:~# getent passwd brokenuser brokenuser:*:10026:10000::/home/brokenuser:/bin/sh > Have you tried changing the pass...
2014 May 02
2
Auth fail getpwuid(3000007) failed
...6-1534516595-1102 -> getpwuid(3000007) failed [2014/05/02 10:29:40.931654, 3] ../source3/auth/token_util.c:316(create_local_nt_token_from_info3) Failed to finalize nt token [2014/05/02 10:29:40.931677, 1] ../source3/smbd/sesssetup.c:276(reply_sesssetup_and_X_spnego) Failed to generate session_info (user and group token) for session setup: NT_STATUS_UNSUCCESSFUL [...] What's wrong here?! Any hint is geartfully appreciated ;) Kind Regards
2015 Jan 15
0
Samba4 Android port and Python auth modules
...ons fire up and appear to operate correctly, at least as good as Samba3. However, when trying to use samba-tool to create/list users, etc. I run into the following: > > ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module' object has no attribute 'session_info' > > Which I interpret to mean that the session_info attribute is not present in samba.dcerpc.auth, but it is. I am a Python and Samba novice, but it appears that samba.auth is overshadowing samba.dcerpc.auth, or vice-versa. When I run python interactively, I can import both modules, but...
2015 Dec 28
0
Wrong interface on AD Provisioning
...). >> >> >> Regards, >> Marc > > That's what I was looking for. Thanks. > Hi Marc, if, as you say, you need to remove everything before reprovisioning, why are there these lines in the provisioning code (/samba/provision/__init__.py): def provision(logger, session_info, smbconf=None, """Provision samba4 :note: caution, this wipes all existing data! """ And: def setup_samdb_partitions(samdb_path, logger, lp, session_info, """Setup the partitions for the SAM database. Alternatively, provisi...
2017 Jan 30
1
/usr/lib/x86_64-linux-gnu/samba/ldb : No such file or directory
...e) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2121, in provision backend_credentials=provision_backend.credentials, lp=lp) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 957, in setup_secretsdb secrets_ldb = Ldb(path, session_info=session_info, lp=lp) File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 115, in __init__ self.connect(url, flags, options) Any idea? Help? F. La @universidad_uci es Fidel. Los jóvenes no fallaremos. #HastaSiempreComandante #HastalaVictoriaSiempre
2019 Sep 13
0
Clussicupgrade tdbsam Unable to load modules for /var/lib/samba/private/secrets.ldb
.../dist-packages/samba/provision/__init__.py", > line 2262, in provision > backend_credentials=provision_backend.credentials, lp=lp) > File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", > line 1015, in setup_secretsdb > secrets_ldb = Ldb(path, session_info=session_info, lp=lp) > File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 115, > in __init__ > self.connect(url, flags, options) > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/m...