search for: wbclookupnam

Displaying 17 results from an estimated 17 matches for "wbclookupnam".

Did you mean: wbclookupname
2016 Oct 01
1
samba4 wbinfo failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND.
...ot add neither not even see info on them, look at this: [root at dc1 ~]# wbinfo -u [root at dc1 ~]# wbinfo -g [root at dc1 ~]# wbinfo --all-domains BUILTIN VERDERA [root at dc1 ~]# wbinfo --trusted-domains BUILTIN VERDERA [root at dc1 ~]# wbinfo --name-to-sid Administrator failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name Administrator [root at dc1 ~]# wbinfo -i Administrator failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND Could not get info for user Administrator And here goes my relevant files: [[smb.conf]] # Global parameters [global] workgroup = VE...
2017 Nov 06
2
Failed to find domain 'NT AUTHORITY'
...> > A DC has no concept of 'NT AUTHORITY': > > root at dc1:~# wbinfo --sid-to-name S-1-5-18 > failed to call wbcLookupSid: WBC_ERR_DOMAIN_NOT_FOUND > Could not lookup sid S-1-5-18 > root at dc1:~# wbinfo --name-to-sid='NT Authority\SYSTEM' > failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND > Could not lookup name NT Authority\SYSTEM > my DC works different [root at apamfs2 ~]# wbinfo --sid-to-name S-1-5-18 NT AUTHORITY\SYSTEM 5 [root at apamfs2 ~]# wbinfo --name-to-sid='NT Authority\SYSTEM' failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_F...
2017 Nov 06
2
Failed to find domain 'NT AUTHORITY'
Il 06/11/2017 16:17, Rowland Penny via samba ha scritto: > On Mon, 6 Nov 2017 15:27:13 +0100 > Giuseppe Arvati via samba <samba at lists.samba.org> wrote: > >> Hello, >> I recently set up a new software to backup samba share. >> This software ( https://github.com/borgbackup/borg ) run on file >> server as root cron script during the night and save file on
2017 Jan 24
4
Security Principals, and SID's mapping bug
Hai, Does anyone know more if this is adressed or point me to the bug report? There should be one, but i cant find it. Im finding the following again, tested with samba 4.4.5, now samba 4.5.3. These reports go back to the year 2013. I searched in my mail samba folder for S-1-5-18 The problem. I create a "computer" Scheduled task. Now this task MUST run as : SYSTEM (S-1-5-18)
2015 Dec 01
2
Problems with authentication in Samba4
...erly. But I think there is a problem with winbind (perhaps winbind separator), because when I put ^ as separator, how in Domain^Users, the error message appeared: root at proxy:~# *echo "bacci Domain^Users" | /usr/lib/squid3/wbinfo_group.pl <http://wbinfo_group.pl>* failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name Domain^Users failed to call wbcStringToSid: WBC_ERR_INVALID_PARAM Could not convert sid to gid ERR But, when I put %20 as separator, how in Domain%20Users, the authentication is OK. root at proxy:~# *echo "bacci Domain%20Users" | /usr/li...
2017 Nov 06
0
Failed to find domain 'NT AUTHORITY'
...t of 'NT AUTHORITY': > > > > root at dc1:~# wbinfo --sid-to-name S-1-5-18 > > failed to call wbcLookupSid: WBC_ERR_DOMAIN_NOT_FOUND > > Could not lookup sid S-1-5-18 > > root at dc1:~# wbinfo --name-to-sid='NT Authority\SYSTEM' > > failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND > > Could not lookup name NT Authority\SYSTEM > > > > my DC works different > > [root at apamfs2 ~]# wbinfo --sid-to-name S-1-5-18 > NT AUTHORITY\SYSTEM 5 > [root at apamfs2 ~]# wbinfo --name-to-sid='NT Authority\SYSTEM' > faile...
2014 Sep 18
1
Added user can't login to the domain!
...user is shown on the "Active Directory Users and Computers" snap-in but when that user wants to log in to his computer, the error comes that this user is not recognised! When I check those users using: # /usr/local/samba/bin/wbinfo --name-to-sid AAAA this error is shown: failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name AAAA Please note that this happens sometimes not always! Sncerely E. Alaei
2020 Oct 10
2
Lookup sid with libsmbclient (invoked from c# on mono)
> Hello, > > I'm trying to resolve SID from a linux using a program written in c# > running under mono. > > I already know the Windows API LookupSID ( > https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-lookupaccountsida) > and its underlying raw RPC call ( >
2011 Oct 27
1
Samba4 and problem with winbind
...domain groups > wbinfo --own-domain : is ok and return the name of domain (SAMDOM) > wbinfo -m : failed to call wbcListTrusts: WBC_ERR_DOMAIN_NOT_FOUND Could not list trusted domains > wbinfo --name-to-sid herve (user created by "samba-tool user add herve") failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name herve The two last commands are taken from the WIKI "Step1 : Adding user into Samba 4 Active Directory" Does anyone have suggestions ? _/etc/resolv.conf _ domain example.com search samdom.example.com nameserver <pdc ip> _/etc/nss...
2015 Mar 20
2
Access to shares is denied after upgrading from 3.6.3 (openSUSE 12.1) to 4.1.17 (openSUSE 13.2)
...wuid(10938) failed > platon:~ # wbinfo -s S-1-5-21-2807186310-4085009417-2666197100-1000 > PLATON\root 1 This only happens when smbusers contains the mapping to root. In my opinion, it should use the SID for unix user root. Let's see: > platon:~ # wbinfo -n root > failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND > Could not lookup name root > platon:~ # wbinfo -U 0 > S-1-5-21-4224351836-719640785-1152632845-1000 > platon:~ # wbinfo -s S-1-5-21-4224351836-719640785-1152632845-1000 > failed to call wbcLookupSid: WBC_ERR_DOMAIN_NOT_FOUND > Could not lookup sid S-...
2016 May 15
0
Problems authenticating after upgrade to sernet-samba 4.3.9-24
...tup is having some issues under the new version. Would appreciate some help troubleshooting. It seems like we are close, since the trust relationship between our Samba servers and the AD service looks OK. But winbind fails like this: ------ [root at mako-nsd4 ~]# wbinfo -n jsmith failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name jsmith ------ However, this all seems OK to my (inexperienced) eye: ------ [root at mako-nsd4 samba]# wbinfo -t checking the trust secret for domain MYEDU via RPC calls succeeded [root at mako-nsd4 samba]# net ads testjoin Join is OK [root at mak...
2017 Nov 06
0
Failed to find domain 'NT AUTHORITY'
...t run a backup system that relies on IDs A DC has no concept of 'NT AUTHORITY': root at dc1:~# wbinfo --sid-to-name S-1-5-18 failed to call wbcLookupSid: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup sid S-1-5-18 root at dc1:~# wbinfo --name-to-sid='NT Authority\SYSTEM' failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND Could not lookup name NT Authority\SYSTEM But a Unix domain member does: rowland at devstation:~$ wbinfo --sid-to-name S-1-5-18 NT Authority\SYSTEM 5 wbinfo --name-to-sid=NT Authority\\SYSTEM 5 rowland at devstation:~$ wbinfo --name-to-sid='NT Authority\SYSTEM'...
2019 Oct 10
1
how to automatically create the home directory
> -----Original Message----- > From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland penny via samba > Sent: 10 October 2019 13:33 > To: sambalist > Subject: Re: [Samba] how to automatically create the home directory > > On 10/10/2019 13:02, Mason Schmitt wrote: > > > > > There's fourth way, which is what is normally used in a >
2020 Oct 12
3
Lookup sid with libsmbclient (invoked from c# on mono)
...D from a remote Linux client I believe you > will have to authenticate to the server. Assuming the client is joined > to the domain and has winbind running, you can use libwbclient > > > https://gitlab.com/samba-team/devel/samba/blob/master/nsswitch/libwbclient/wbclient.h > > * wbcLookupName() will do domain/name => SID > * wbcLookupSid() will do SID => domain/name > > If you are not joined or don't have the winbind daemon configured and > running, I guess there might be a solution by passing credentials, > doing NTLM authentication and some direct RPC calls,...
2015 Mar 20
0
Access to shares is denied after upgrading from 3.6.3 (openSUSE 12.1) to 4.1.17 (openSUSE 13.2)
...have now, mapping ordinary users to 'root' is not a good idea. > > In my opinion, it should use the SID for unix user root. Let's see: > 'root' shouldn't have a SID, 'Administrator' does though. >> platon:~ # wbinfo -n root >> failed to call wbcLookupName: WBC_ERR_DOMAIN_NOT_FOUND >> Could not lookup name root > Yes, that happens on my DC, because 'root' is a Unix user. >> platon:~ # wbinfo -U 0 >> S-1-5-21-4224351836-719640785-1152632845-1000 > This shouldn't happen, on my DC : root at dc01:~# wbinfo -U 0 S-...
2015 Mar 20
2
Access to shares is denied after upgrading from 3.6.3 (openSUSE 12.1) to 4.1.17 (openSUSE 13.2)
Hi Rowland, Am 20.03.2015 um 10:33 schrieb Rowland Penny: >>> ---8<---8<---8<---8<---8<---8<--- smb.conf >>> ---8<---8<---8<---8<---8<---8<--- >>> >>> # smb.conf is the main Samba configuration file. You find a full >>> commented >>> # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
2012 Nov 11
0
ANNOUNCE: cifs-utils release 5.8 is ready for download
...en back to a SID is just weird. It also doesn't seem to work correctly. Instead, look for a '\\' in the string. If there isn't one then try to convert it directly to a SID. If there is a '\\' or the direct-to-SID conversion didn't work, then use wbcLookupName to do the conversion directly to a SID instead. Also, fix the error handling. These routines return a wbcErr, so we should use their macros to check whether it worked or not. Signed-off-by: Jeff Layton <jlayton at samba.org> commit 034a4baa9f3d496a19dbe3eb46d51cf8ef3ad...