search for: session_info

Displaying 20 results from an estimated 90 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)
2024 Jun 11
1
SeDiskOperatorPrivilege_Privilege
...ects using a root account (i.e. uid == 0) or has the SeDiskOperatorPrivilege. Scripts defined in the delete share command parameter are executed as root. Looks like it is still checked (in master) in: _srvsvc_NetShareSetInfo() is_disk_op = security_token_has_privilege( session_info->security_token, SEC_PRIV_DISK_OPERATOR); /* fail out now if you are not root and not a disk op */ if (session_info->unix_token->uid != sec_initial_uid() && !is_disk_op) { DEBUG(2,("_srvsvc_NetShareSetInfo: uid %u doesn't have the &quot...
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...
2024 Jun 11
1
SeDiskOperatorPrivilege_Privilege
On Tue, 11 Jun 2024 15:52:45 +0100 Luis Peromarta via samba <samba at lists.samba.org> wrote: > Again, my exact same experience. > > LP > On Jun 11, 2024 at 14:58 +0100, Bailey Allison via samba > <samba at lists.samba.org>, wrote: > > Hey Rowland, > > > > Just wanted to say you are 100% correct, and it does (seemingly) > > nothing, at least
2024 Jun 11
1
SeDiskOperatorPrivilege_Privilege
...he > SeDiskOperatorPrivilege. Scripts defined in the delete share command > parameter are executed as root. > > > Looks like it is still checked (in master) in: > > _srvsvc_NetShareSetInfo() > > is_disk_op = security_token_has_privilege( > session_info->security_token, > SEC_PRIV_DISK_OPERATOR); > > /* fail out now if you are not root and not a disk op */ > > if (session_info->unix_token->uid != sec_initial_uid() && > !is_disk_op) { DEBUG(2,("_srvsvc_NetShareSetInfo: uid %u doesn't h...
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...
2024 Oct 12
2
samba-tool domain backup offline fails.
...^^^^^^^^^^ File "/usr/lib/python3/dist-packages/samba/netcmd/domain/backup.py", line 1219, in run backup_offline(paths.sysvol, sysvol_tar, paths.smbconf, dom_sid) File "/usr/lib/python3/dist-packages/samba/ntacls.py", line 583, in backup_offline smbd.create_file(dst, session_info, service) I don't Python, and all I could think of was to check the sysvol permissions and, just in case, reset them according to https://wiki.samba.org/index.php/Sysvolreset. Same result. Kinda out of ideas here.... and, as usually, any help is appreciated.
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