Guys, In my lab test when I run the command "net groupmap list" the result is as follows: *# net groupmap list* *Domain Admins (S-1-5-21-187220369-3628530160-3539241734-512) -> 512* *Domain Users (S-1-5-21-187220369-3628530160-3539241734-513) -> 513* *Domain Guests (S-1-5-21-187220369-3628530160-3539241734-514) -> 514* *Domain Computers (S-1-5-21-187220369-3628530160-3539241734-515) -> 515* I believe that would have to be like this: *# net groupmap list* *Domain Admins (S-1-5-21-187220369-3628530160-3539241734-512) -> Domain Admins* *Domain Users (S-1-5-21-187220369-3628530160-3539241734-513) -> Domain Users* *Domain Guests (S-1-5-21-187220369-3628530160-3539241734-514) -> Domain Guests* *Domain Computers (S-1-5-21-187220369-3628530160-3539241734-515) -> Domain Computers* Any idea what could have happened? Att. -- Elias Pereira
And now, I run the command "samba-tool user list" and the result is as follows: *# samba-tool user list* *ldb_wrap open of secrets.ldb* *Could not find machine account in secrets database: Failed to fetch machine account password from secrets.ldb: Could not find entry to match filter: '(&(flatname=POA)(objectclass=primaryDomain))' base: 'cn=Primary Domains': No such object: (null) and failed to fetch SECRETS/MACHINE_PASSWORD/POA from /var/lib/samba/private/secrets.tdb: NT_STATUS_CANT_ACCESS_DOMAIN_INFO* *ERROR(ldb): uncaught exception - ldb_search: invalid basedn '(null)'* * File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run* * return self.run(*args, **kwargs)* * File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 271, in run* * attrs=["samaccountname"])* On Mon, Dec 22, 2014 at 12:05 PM, Elias Pereira <empbilly at gmail.com> wrote:> Guys, > > In my lab test when I run the command "net groupmap list" the result is as > follows: > > *# net groupmap list* > *Domain Admins (S-1-5-21-187220369-3628530160-3539241734-512) -> 512* > *Domain Users (S-1-5-21-187220369-3628530160-3539241734-513) -> 513* > *Domain Guests (S-1-5-21-187220369-3628530160-3539241734-514) -> 514* > *Domain Computers (S-1-5-21-187220369-3628530160-3539241734-515) -> 515* > > > I believe that would have to be like this: > > *# net groupmap list* > *Domain Admins (S-1-5-21-187220369-3628530160-3539241734-512) -> Domain > Admins* > *Domain Users (S-1-5-21-187220369-3628530160-3539241734-513) -> Domain > Users* > *Domain Guests (S-1-5-21-187220369-3628530160-3539241734-514) -> Domain > Guests* > *Domain Computers (S-1-5-21-187220369-3628530160-3539241734-515) -> Domain > Computers* > > > Any idea what could have happened? > > Att. > -- > Elias Pereira >-- Elias Pereira
On 22/12/14 17:47, Elias Pereira wrote:> And now, I run the command "samba-tool user list" and the result is as > follows: > > *# samba-tool user list* > *ldb_wrap open of secrets.ldb* > *Could not find machine account in secrets database: Failed to fetch > machine account password from secrets.ldb: Could not find entry to match > filter: '(&(flatname=POA)(objectclass=primaryDomain))' base: 'cn=Primary > Domains': No such object: (null) and failed to fetch > SECRETS/MACHINE_PASSWORD/POA from /var/lib/samba/private/secrets.tdb: > NT_STATUS_CANT_ACCESS_DOMAIN_INFO* > *ERROR(ldb): uncaught exception - ldb_search: invalid basedn '(null)'* > * File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line > 175, in _run* > * return self.run(*args, **kwargs)* > * File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 271, > in run* > * attrs=["samaccountname"])* > > > > > On Mon, Dec 22, 2014 at 12:05 PM, Elias Pereira <empbilly at gmail.com> wrote: > >> Guys, >> >> In my lab test when I run the command "net groupmap list" the result is as >> follows: >> >> *# net groupmap list* >> *Domain Admins (S-1-5-21-187220369-3628530160-3539241734-512) -> 512* >> *Domain Users (S-1-5-21-187220369-3628530160-3539241734-513) -> 513* >> *Domain Guests (S-1-5-21-187220369-3628530160-3539241734-514) -> 514* >> *Domain Computers (S-1-5-21-187220369-3628530160-3539241734-515) -> 515* >> >> >> I believe that would have to be like this: >> >> *# net groupmap list* >> *Domain Admins (S-1-5-21-187220369-3628530160-3539241734-512) -> Domain >> Admins* >> *Domain Users (S-1-5-21-187220369-3628530160-3539241734-513) -> Domain >> Users* >> *Domain Guests (S-1-5-21-187220369-3628530160-3539241734-514) -> Domain >> Guests* >> *Domain Computers (S-1-5-21-187220369-3628530160-3539241734-515) -> Domain >> Computers* >> >> >> Any idea what could have happened? >> >> Att. >> -- >> Elias Pereira >> > >Hi, could you provide a bit more info, how are you running samba, what version and what is in your smb.conf. Rowland