Displaying 4 results from an estimated 4 matches for "sidtoid".
Did you mean:
sid2xid
2013 Feb 13
1
tdb2 idmap script issue
...h the idmap : script mapping method when
using tdb2.
Basically - my idmap script behaves like this:
#idmap.sh IDTOSID GID 123456
SID:S-blah-blah-blah
as one would hope, and as per the requirements in the idmap_tdb2 man
page. Similarly, it'll return UID:123545 or GID:1234356 in response to
SIDTOID S-blah-blah-blah
This all works well when calling the script directly, but when running
it through winbind I was getting:
# wbinfo -G 12345
Could not convert gid 12345 to sid
despite the fact that this would return fine:
# idmap.sh IDTOSID 12345
SID:S-blah-blah-blah
However, going the other w...
2023 Mar 10
1
AD Functional Level vs very old SaMBa member server
...planning to
use TDB2 with a script which I've already written:
[root at fs3 samba]# ./idmap.sh IDTOSID UID 1301
SID:S-1-5-21-1632654815-303659134-1628659390-1950
[root at fs3 samba]# ./idmap.sh IDTOSID GID 198
SID:S-1-5-21-1632654815-303659134-1628659390-3247
[root at fs3 samba]# ./idmap.sh SIDTOID
S-1-5-21-1632654815-303659134-1628659390-1950
UID:1301
[root at fs3 samba]# ./idmap.sh SIDTOID
S-1-5-21-1632654815-303659134-1628659390-3247
UID:198
It periodically collects UIDs and GID's from the ancient SaMBa, and
collects SIDs with wbinfo. I hope it will ensure UIDs ang GIDs to be equal
t...
2019 Jul 08
2
WBC_ERR_DOMAIN_NOT_FOUND error with RFC2307
...you are going to get
lots of questions about this as people transition to EL 7 or 8 with 6 going
EOL).
Regards,
Ryan
#! /bin/bash
printf "%s: %s\n" "$(date '+%Y-%m-%d %H:%M:%S')" "$*" >>
/var/log/samba/idmap_script.bash.log
if [ "$1" == "SIDTOID" ] ; then
unset _NO_WINBINDD
username="$(<<< "$(wbinfo -s "$2")" cut -d ' ' -f 1 | cut -d "$(wbinfo
--separator)" -f 2)"
_NO_WINBINDD=1
printf "\t'%s' => '%s'\n" "$2" "$username" &...
2019 Jul 05
2
WBC_ERR_DOMAIN_NOT_FOUND error with RFC2307
On Fri, Jul 5, 2019 at 2:32 PM Rowland penny via samba <
samba at lists.samba.org> wrote:
> On 05/07/2019 18:50, Ryan via samba wrote:
> > On Thu, Jul 4, 2019 at 4:49 PM Rowland penny via samba <
> > samba at lists.samba.org> wrote:
> >
> >> On 04/07/2019 21:25, Ryan via samba wrote:
> >>> I am still trying to configure Samba to authenticate