search for: idmap_hash

Displaying 20 results from an estimated 70 matches for "idmap_hash".

2009 Nov 11
3
idmap_rid/idmap_hash collisions?
Is it possible for the uid/gid numbers that are generated by the idmap_rid and idmap_hash to collide if there are a large number of users or groups? I cannot seem to find any documentation on the limitations of these plugins. Before using I want to make absolutely sure that there won't be any collisions. In doing some research about Likewise Open, I see it's hashing routine c...
2009 Oct 18
2
Convert idmap_rid to idmap_hash?
I was looking through the change log of 3.3.0 and noticed that a new idmap_hash was introduced that seems to play well with trusted domains. What means are available to convert all my rids to this new hash so I can update file permissions? Thanks, Robert LeBlanc Life Sciences & Undergraduate Education Computer Support Brigham Young University
2012 Jun 04
0
idmap_hash SID mapping limit
Hello. hash_rid() in idmap_hash.c[0] has a comment saying the rid is hashed to 20 bit for supporting 100K SIDs: 66 static uint32_t hash_rid(uint32_t rid) 67 { 68 /* 20 bits for the rid which allows us to support 69 the first 100K users/groups in a domain */ 70 71 return (rid & 0x0007FFFF...
2020 Nov 10
3
Crash in 4.12.10 in
I just got an INTERNAL ERROR: Signal 11 in smbd (4.12.10) in something that sids_to_unixids() in source3/winbindd/idmap_hash/idmap_has.c calls and 3 levels down - unfortunately the stack trace doesn?t say what it is - probably optimised into inline code or something. Recently upgraded from Samba 4.12.5 to 4.12.10 (self-compiled). FreeBSD 12.2 It happened right after 10 hours since that smbd processes started so the 10...
2024 Jan 24
1
Share access permission errors after upgrade from 4.12.14
...n = Yes > workgroup = TESTLAB > fruit:nfs_aces = No > idmap config * : range = 10000-4000000000 > idmap config * : backend = hash That is what I was looking for, the default 'idmap config' is set to 'hash', which shouldn't be used. Especially as it says 'idmap_hash - DO NOT USE THIS BACKEND' at the top of 'man idmap_hash'. I can understand using it for existing systems, but not for new ones. Lets get this right (and I got it wrong last time, what do you expect, I would never use idmap_hash, it has problems and the rid backend works better), the i...
2024 Jan 11
1
Share access permission errors after upgrade from 4.12.14
...ocess better. > > Thank You, > > Is winbind running ? Are you using sssd ? To be honest, your 'idmap config' block isn't correct, you have: idmap config * : range = 10000-4000000000 idmap config * : backend = hash Lets start with the idmap backend. If you run 'man idmap_hash', the very top of that file has this: IDMAP_HASH(8) System Administration tools IDMAP_HASH(8) NAME idmap_hash - DO NOT USE THIS BACKEND Never mind that you should really only use the 'tdb' backend with the default (*) domain, the manpage itself tells you not to use...
2020 Nov 10
0
Crash in 4.12.10 in
On 10/11/2020 21:42, Peter Eriksson via samba wrote: > I just got an INTERNAL ERROR: Signal 11 in smbd (4.12.10) in something that sids_to_unixids() in source3/winbindd/idmap_hash/idmap_has.c calls and 3 levels down - unfortunately the stack trace doesn?t say what it is - probably optimised into inline code or something. > > Recently upgraded from Samba 4.12.5 to 4.12.10 (self-compiled). FreeBSD 12.2 > > It happened right after 10 hours since that smbd processes...
2020 Nov 11
1
Crash in 4.12.10 in
...nd the first match when grepping? My bad. Then it?s probably the variant found in source3/passdb/lookup_sid.c or perhaps something in source3/winbbind/idmap_ad or source3/winbindd/idmap_tdb that is causing the signal 11.. (We use idmap backends tdb & ad) - Peter > Have you read 'man idmap_hash' ? > > If you did, did you miss this at the top: > > idmap_hash - DO NOT USE THIS BACKEND > > > Please do not use idmap_hash > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https:/...
2009 Nov 14
1
'allow trusted domains = no' and sidhistory = bad
...mba properly do the reverse id resolution for the sids to the name on the new domain, that is problematic for us since we are using idmap_rid which would allow some id collisions due to the fact that there are multiple domains involved. There are a huge number of objects so I don't want to use idmap_hash or divide up the id pool within idmap_rid. Just for testing I tried using idmap_hash and it does not get rid of the errors. I'm assuming that setting 'allow trusted domains = yes' would allow resolution of those groups as long as the old domains were still available, however I cannot...
2024 Jan 24
1
Share access permission errors after upgrade from 4.12.14
On Wednesday, 24 January 2024 at 10:51, Rowland Penny via samba <samba at lists.samba.org> wrote: > I rearranged the smb.conf above and added comments: > > [global] > netbios name = Tower > server string = Media server > security = USER > workgroup = WORKGROUP > bind interfaces only = yes > interfaces = 192.168.66.10/24 127.0.0.1 > > # we don't do
2008 Dec 15
1
[ANNOUNCE] Samba 3.3.0rc2 Available for Download
...ualified name. While the new "hash" module utilizes a local file to map "short_name = QUALIFIED\name". Both user and group name mapping is supported. Please refer to the "winbind nss info" option in smb.conf(5) and to individual plugin man pages for further details. idmap_hash ========== The idmap_hash plugin provides similar support as the idmap_rid module. However, uids and gids are generated from the full domain SID using a hashing algorithm that maps the lower 19 bits from the user or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from the domain SID to...
2008 Dec 15
1
[ANNOUNCE] Samba 3.3.0rc2 Available for Download
...ualified name. While the new "hash" module utilizes a local file to map "short_name = QUALIFIED\name". Both user and group name mapping is supported. Please refer to the "winbind nss info" option in smb.conf(5) and to individual plugin man pages for further details. idmap_hash ========== The idmap_hash plugin provides similar support as the idmap_rid module. However, uids and gids are generated from the full domain SID using a hashing algorithm that maps the lower 19 bits from the user or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from the domain SID to...
2010 Dec 24
1
reducing smbd memory footprint
...--localstatedir=/var \ --with-rootsbindir=/sbin \ --with-syslog \ --with-utmp \ --with-readline \ --with-libsmbclient \ --with-winbind \ --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash \ --without-automount \ --with-ldap \ --with-ads \ --without-smbmount \ --without-dnsupdate \ --without-libtalloc \ --without-libtdb \ --without-libnetapi \...
2024 Jan 25
1
Share access permission errors after upgrade from 4.12.14
On Wednesday, 24 January 2024 at 20:45, Rowland Penny via samba <samba at lists.samba.org> wrote: > That is what I was looking for, the default 'idmap config' is set to > 'hash', which shouldn't be used. Especially as it says 'idmap_hash - DO > NOT USE THIS BACKEND' at the top of 'man idmap_hash'. I can understand > using it for existing systems, but not for new ones. > > Lets get this right (and I got it wrong last time, what do you expect, > I would never use idmap_hash, it has problems and the rid back...
2008 Oct 02
2
[ANNOUNCE] Samba 3.3.0pre2 Available for Download
...ualified name. While the new "hash" module utilizes a local file to map "short_name = QUALIFIED\name". Both user and group name mapping is supported. Please refer to the "winbind nss info" option in smb.conf(5) and to individual plugin man pages for further details. idmap_hash ========== The idmap_hash plugin provides similar support as the idmap_rid module. However, uids and gids are generated from the full domain SID using a hashing algorithm that maps the lower 19 bits from the user or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from the domain SID to...
2008 Oct 02
2
[ANNOUNCE] Samba 3.3.0pre2 Available for Download
...ualified name. While the new "hash" module utilizes a local file to map "short_name = QUALIFIED\name". Both user and group name mapping is supported. Please refer to the "winbind nss info" option in smb.conf(5) and to individual plugin man pages for further details. idmap_hash ========== The idmap_hash plugin provides similar support as the idmap_rid module. However, uids and gids are generated from the full domain SID using a hashing algorithm that maps the lower 19 bits from the user or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from the domain SID to...
2016 Apr 15
2
Debian Wheezy member server from backports to self compile
Hello, I'm unable to update my Samba from 4.1.17 to 4.4.2. I'm looking to build from tar instead. From what I gather the following should be the steps taken. ./configure --without-ad-dc -- sbindir= /usr/sbin --sysconfdir=/etc/samba/ --/usr/share/man/ make make install Am I missing something else? Thanks. -- -James
2009 Jan 27
1
[Announce] Samba 3.3.0 Available for Download
...ualified name. While the new "hash" module utilizes a local file to map "short_name = QUALIFIED\name". Both user and group name mapping is supported. Please refer to the "winbind nss info" option in smb.conf(5) and to individual plugin man pages for further details. idmap_hash ========== The idmap_hash plugin provides similar support as the idmap_rid module. However, uids and gids are generated from the full domain SID using a hashing algorithm that maps the lower 19 bits from the user or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from the domain SID to...
2009 Jan 27
1
[Announce] Samba 3.3.0 Available for Download
...ualified name. While the new "hash" module utilizes a local file to map "short_name = QUALIFIED\name". Both user and group name mapping is supported. Please refer to the "winbind nss info" option in smb.conf(5) and to individual plugin man pages for further details. idmap_hash ========== The idmap_hash plugin provides similar support as the idmap_rid module. However, uids and gids are generated from the full domain SID using a hashing algorithm that maps the lower 19 bits from the user or group RID to bits 0 - 19 in the Unix id and hashes 96 bits from the domain SID to...
2019 Nov 21
1
Samba building is broken when some libraries are specified to be built-in to binaries !
...swd \ --with-piddir=/var/run/samba \ --with-pammodulesdir=/lib/x86_64-linux-gnu/security \ --with-pam \ --with-syslog \ --with-utmp \ --with-winbind \ --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb2,vfs_dfs_samba4,auth_samba4 \ --with-automount \ --with-ldap \ --with-ads \ --with-dnsupdate \ --with-gpgme \ --libdir=/usr/lib/x86_64-linux-gnu \ --with-modulesdir=/...