Displaying 20 results from an estimated 38 matches for "uid_to_sid".
Did you mean:
gid_to_sid
2018 Aug 24
3
Samba fileserver member corrupt smb.ldb after joining 4.8.4 Samba DC
...-1-0 <12210>
gid 100513 -> sid S-1-5-21-3981408749-3007518722-157077061-513
canonicalise_acl: Access ace entries before arrange :
And this is the output when it won't work:
Opening cache file at /var/cache/samba/gencache.tdb
Opening cache file at /var/run/samba/gencache_notrans.tdb
uid_to_sid: winbind failed to find a sid for uid 0
Attempting to register passdb backend smbpasswd
So it seems that winbind isn't able to find a matching group for the uid 0
(root). Why is this the case?
wbinfo --uid-info=0 show on both systems the same output:
failed to call wbcGetpwuid: WBC_ERR_DOMA...
2003 Oct 18
1
'passwd chat' for Debian Woody password sync
...urrent_groups: user is in 2 groups: 1000, 108
[2003/10/18 11:08:40, 3] smbd/sec_ctx.c:pop_sec_ctx(421)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/10/18 11:08:40, 3] smbd/sec_ctx.c:get_current_groups(162)
get_current_groups: user is in 2 groups: 1000, 108
[2003/10/18 11:08:40, 10] smbd/uid.c:uid_to_sid(569)
uid_to_sid: local 1000 -> S-1-5-21-2542762088-1498583555-2696612650-3000
[2003/10/18 11:08:40, 10] smbd/uid.c:gid_to_sid(597)
gid_to_sid: local 1000 -> S-1-5-21-2542762088-1498583555-2696612650-3001
[2003/10/18 11:08:40, 10] smbd/uid.c:gid_to_sid(597)
gid_to_sid: local 108 -> S-1-5...
2018 Aug 25
2
Samba fileserver member corrupt smb.ldb after joining 4.8.4 Samba DC
On Fri, 24 Aug 2018 23:53:14 +0200
Waishon <waishon009 at gmail.com> wrote:
> Hi again,
>
> sorry for spaming ;)
>
> wbinfo -U shows on the second machine only:
> root at FS/# wbinfo -U 0
> failed to call wbcUidToSid: WBC_ERR_DOMAIN_NOT_FOUND
> Could not convert uid 0 to sid
>
> On the other machine it returns the correct SID.
>
> Maybe that's a
2014 Sep 19
1
Samba 4.1.11 crashes sporadically
...at
/usr/local/lib/libpdb.so.0
#8 0x80322f40a <init_samu_from_buffer+186> at /usr/local/lib/libpdb.so.0
#9 0x803224105 <pdb_tdbsam_init+1637> at /usr/local/lib/libpdb.so.0
#10 0x803246411 <make_pdb_method+9281> at /usr/local/lib/libpdb.so.0
#11 0x803242880 <pdb_uid_to_sid+48> at /usr/local/lib/libpdb.so.0
#12 0x80323a01e <uid_to_sid+574> at /usr/local/lib/libpdb.so.0
#13 0x803239f24 <uid_to_sid+324> at /usr/local/lib/libpdb.so.0
#14 0x8150107a7 <smb_fget_nt_acl_nfs4+1479> at
/usr/local/lib/shared-modules/vfs/zfsacl.so
#15 0x8150...
2015 Apr 18
2
Samba 4 slow write
Hi all,
On Thu, Apr 16, 2015 at 03:00:49PM -0700, Jeremy Allison wrote:
> On Thu, Apr 16, 2015 at 08:42:48PM +0200, Ervin Heged?s wrote:
> > Dear Samba users,
> >
> > here is an Ubuntu 14.04, with Samba 4 (4.1.6), and LDAP (slapd
> > 2.4.31). The config came from a previous system (Debian Squeezy),
> > which had been crashed (HW error - on this new machine,
2004 Sep 20
0
Samba Errors
...r smbd[8525]: #3 smbd [0x80b3432]
Sep 21 07:40:51 server smbd[8525]: #4 smbd [0x80b3452]
Sep 21 07:40:51 server smbd[8525]: #5 smbd(pop_sec_ctx+0xf4) [0x80b3c64]
Sep 21 07:40:51 server smbd[8525]: #6 smbd(unbecome_root+0xb)
[0x80ad84b]
Sep 21 07:40:51 server smbd[8525]: #7 smbd(local_uid_to_sid+0x10b)
[0x816c26b]
Sep 21 07:40:51 server smbd[8525]: #8 smbd(uid_to_sid+0x10a) [0x817194a]
Sep 21 07:40:51 server smbd[8525]: #9 smbd [0x80b8a6f]
Sep 21 07:40:51 server smbd[8525]: #10 smbd(get_nt_acl+0x28a)
[0x80bc06a]
Sep 21 07:40:51 server smbd[8525]: #11 smbd [0x8095045]
Sep 21 07:...
2007 Jan 24
1
Dreamweaver access errors with Samba 3.0.23d
...amba/sbin/smbd [0x80e54a0]
#6 /usr/local/samba/sbin/smbd(pop_sec_ctx+0x13f) [0x80e5d2d]
#7 /usr/local/samba/sbin/smbd(unbecome_root+0xb) [0x80db843]
#8 /usr/local/samba/sbin/smbd [0x82055db]
#9 /usr/local/samba/sbin/smbd(pdb_uid_to_rid+0x25) [0x8204f7c]
#10 /usr/local/samba/sbin/smbd(uid_to_sid+0x10a) [0x820a7d5]
#11 /usr/local/samba/sbin/smbd [0x80ebee8]
#12 /usr/local/samba/sbin/smbd(get_nt_acl+0x386) [0x80f0c88]
#13 /usr/local/samba/sbin/smbd(vfswrap_fget_nt_acl+0x17) [0x80e98e7]
#14 /usr/local/samba/sbin/smbd [0x80b273b]
#15 /usr/local/samba/sbin/smbd [0x80b4b36]
#16...
2008 Aug 29
1
panic actions on samba 3.2.2 (also)
...adfba885] #17
/lib64/libc.so.6(getpwuid+0x6f) [0x2aaaadfba1ef] #18
/usr/local/sbin/smbd(sys_getpwuid+0x9) [0x5555557c6e17] #19
/usr/local/sbin/smbd [0x5555557861a3] #20 /usr/local/sbin/smbd
[0x5555557863c4] #21 /usr/local/sbin/smbd(pdb_uid_to_rid+0x28)
[0x55555578764f] #22 /usr/local/sbin/smbd(uid_to_sid+0x1bf)
[0x55555578bcd8] #23 /usr/local/sbin/smbd [0x55555564faa5] #24
/usr/local/sbin/smbd [0x555555652483] #25
/usr/local/sbin/smbd(posix_get_nt_acl+0x3dc) [0x5555556533a2] #26
/usr/local/sbin/smbd(posix_fget_nt_acl+0xd6) [0x5555556534b0] #27
/usr/local/sbin/smbd [0x555555668c78] #28
/usr/lo...
2006 Jul 28
1
Problem with guest account samba 3.0.23a (smbd wont start)
...user [root] count=0
[2006/07/28 09:58:14, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/28 09:58:14, 5]
passdb/pdb_interface.c:pdb_default_uid_to_rid(1217)
pdb_default_uid_to_rid: Did not find user root (0)
[2006/07/28 09:58:14, 10] passdb/lookup_sid.c:uid_to_sid(1083)
uid_to_sid: local 0 -> S-1-22-1-0
[2006/07/28 09:58:14, 5] lib/smbldap.c:smbldap_search_ext(1179)
smbldap_search_ext: base => [ou=groupes,dc=corman,dc=be], filter =>
[(&(objectClass=sambaGroupMapping)(gidNumber=0))], scope => [2]
[2006/07/28 09:58:15, 4] passdb/pdb_ldap.c...
2015 Apr 20
0
Samba 4 slow write
...l
smbd_check_access_rights
1.22% libc-2.6.1.so [.] __getegid
|
--- __getegid
uwrap_getegid
assert_gid
set_unix_security_ctx
set_sec_ctx
set_root_sec_ctx
smbd_become_root
become_root
pdb_default_uid_to_sid
pdb_uid_to_sid
legacy_uid_to_sid
uid_to_sid
create_file_sids
posix_get_nt_acl_common
posix_get_nt_acl
vfswrap_get_nt_acl
smb_vfs_call_get_nt_acl
smbd_check_access_rights?
--
Regards,
Jones Syue | ???
*QNAP* S...
2018 Aug 25
0
Samba fileserver member corrupt smb.ldb after joining 4.8.4 Samba DC
...visioned before 4.8.x and only upgraded. Mhh
The user.map contains:
!root = SCHULE\\Administrator
Have you tested the following:
When running "samba ntacl get -D 10" onto a file with the permissions chown
root:root, chmod 777, I get the stacktrace with the error in the above
debug logs:
uid_to_sid: winbind failed to find a sid for uid 0
When checking the same command against another file with the permissions
chown "SAMDOM\\Administrator":"SAMDOM\\Administrator", chmod 777 I get the
expected ntacl output without any crash.
Maybe you can check if you're able to reprod...
2015 Apr 23
3
Samba 4 slow write
On Thu, Apr 23, 2015 at 06:05:42PM +0800, Jones Syue wrote:
> Hello Ervin,
>
> The in-memory cache lookup could be added back into
> samba-4.1.6 by applying the attached patch,
> if it could be compiled with Louis how-to steps,
Patch didn't make it to the list. Can you point
to a URL or ftp site containing the patch ?
2018 Aug 24
0
Samba fileserver member corrupt smb.ldb after joining 4.8.4 Samba DC
...-1-5-21-3981408749-3007518722-157077061-513
> canonicalise_acl: Access ace entries before arrange :
>
> And this is the output when it won't work:
>
> Opening cache file at /var/cache/samba/gencache.tdb
>
> Opening cache file at /var/run/samba/gencache_notrans.tdb
>
> uid_to_sid: winbind failed to find a sid for uid 0
>
> Attempting to register passdb backend smbpasswd
>
> So it seems that winbind isn't able to find a matching group for the uid 0
> (root). Why is this the case?
>
> wbinfo --uid-info=0 show on both systems the same output:
>
>...
2003 Dec 09
1
S3 domain member shares won't authorize secondary groups, only for W98
Hi list,
After kudos, time comes again with problems.
This time, still on the same setup as before :
- Linux PDC with ldapsam, ran by RH9, OpenLDAP 2.0.27 (stock RH9
RPM+Solaris RootDSE patch), Samba 3.0.1rc1 recompiled from SRPM ;
- Linux BDC is the same ;
The PDC and BDC are working Ok, so I won't include the smb.conf from these.
- Solaris 9 domain member (jersey) gets Posix accounts
2015 May 29
3
Samba 4 slow write
...t; perhaps will match new features or something new.
> Loop Michael too,
> if could help review and comment that will be great help,
> thank you.
OK, this functionality got moved into idmap_cache_find_XXXX()
functions which allow smbd to look directly into the
winbindd idmap cache via the uid_to_sid(), gid_to_sid(),
sid_to_uid(), sid_to_gid() and sids_to_unixids() functions.
These functions explicitly look inside the gencache
tdb used for all generic caching (with expiry time)
inside Samba, so this should be pretty efficient.
Does this extra layer of in-memory caching really
make such a diff...
2016 Nov 10
4
Clients can't write to group-writable files
Hello,
Really stumped on this issue. I have samba 4.4.7 running on a new
server. Users cannot write to files to which they have write permissions
via group.
Example:
Here's the local filesystem on the samba server. I'm logged in as jmalone
: jmalone at canis; cd /home/www.nrao.edu/content/logs/
: jmalone at canis; ls -l
total 4
-rw-rw-r-- 1 jmalone nraoweb 0 Nov 10 10:02
2010 Feb 24
0
[Announce] Samba 3.4.6 Available for Download
...######
Changes since 3.4.5
-------------------
o Michael Adam <obnox at samba.org>
* Make idmap cache persistent for "ldapsam:trusted".
* Also fill the memcache with sid<->id mappings in ldapsam_sid_to_id() not
only the persistent idmap cache.
* Shortcut uid_to_sid when "ldapsam:trusted = yes".
o Jeremy Allison <jra at samba.org>
* BUG 6557: Fix vfs_full_audit.
* BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
* BUG 7067: Fix failing of smbd to respond to a read or a write caused by
Linux asynchronous IO (aio).
* BUG 7...
2010 Feb 24
0
[Announce] Samba 3.4.6 Available for Download
...######
Changes since 3.4.5
-------------------
o Michael Adam <obnox at samba.org>
* Make idmap cache persistent for "ldapsam:trusted".
* Also fill the memcache with sid<->id mappings in ldapsam_sid_to_id() not
only the persistent idmap cache.
* Shortcut uid_to_sid when "ldapsam:trusted = yes".
o Jeremy Allison <jra at samba.org>
* BUG 6557: Fix vfs_full_audit.
* BUG 7063: Fix core dump on Ubuntu 8.04 64 bit.
* BUG 7067: Fix failing of smbd to respond to a read or a write caused by
Linux asynchronous IO (aio).
* BUG 7...
2016 Nov 14
0
Clients can't write to group-writable files - plea for help
...32:30.009702, 10, pid=9336, effective(2310, 2049),
real(2310, 0), class=acls] ../source3/smbd/posix_a
cls.c:3558(posix_get_nt_acl)
posix_get_nt_acl: called for file logs/foobar
[2016/11/14 11:32:30.009753, 10, pid=9336, effective(2310, 2049),
real(2310, 0)] ../source3/passdb/lookup_sid.c:1251
(uid_to_sid)
uid 12477 -> sid S-1-22-1-12477
[2016/11/14 11:32:30.009784, 10, pid=9336, effective(2310, 2049),
real(2310, 0)] ../source3/passdb/lookup_sid.c:1300
(gid_to_sid)
gid 9006 -> sid S-1-22-2-9006
[2016/11/14 11:32:30.009811, 10, pid=9336, effective(2310, 2049),
real(2310, 0), class=acls]...
2018 Aug 24
2
Samba fileserver member corrupt smb.ldb after joining 4.8.4 Samba DC
On Fri, 24 Aug 2018 22:06:01 +0200
Waishon <waishon009 at gmail.com> wrote:
> Hi,
>
> thanks for your suggestions. Do you think this is causes the
> stacktrace above? . I just added "REALM" as a placeholder and it
> worked on a DC that was provisioned using Samba 4.7.3 and upgraded
> afterwards to Samba 4.8.4 absolutely fine with this config and the
> command