Displaying 20 results from an estimated 189 matches for "listmemb".
Did you mean:
listmem
2025 Jan 21
1
differences between 'getent group GROUP1' and 'sudo samba-tool group listmembers GROUP1'
...> working on Samba 4 DC
>
> Yes, but why ?
> It isn't required for Samba to work, use 'getent group GROUPNAME'
> instead.
I don't know if my question was clear enough.?
Real example could be better explanation.
real OUTPUT of samba-tool
---
$ sudo samba-tool group listmembers 'domain users'
dns-dc21
Administrator
pali
luno
peli
misi
krbtgt
dhcpduser
masi
dns-DC22
real OUTPUT of getent group
---
$ sudo getent group 'domain users'
OFFICE\domain users:x:2000:
My problem is that both tools return different result.?
(getent group -- shows no members)...
2025 Jan 21
1
differences between 'getent group GROUP1' and 'sudo samba-tool group listmembers GROUP1'
...n Samba 4 DC
Yes, but why ?
It isn't required for Samba to work, use 'getent group GROUPNAME'
instead.
> to return list of group members to every group line, as it does for
> group in /etc/group ?
>
> I know that I cat get this under root account by?
> samba-tool group listmembers
>
> But how to get members of group under non-root account?
>
>
> Second part of question. I've read somewhre it is better way to join
> linux clients to Samba 4 domain by sssd (than by winbind) and then
> getent group
> could work correctly. Is it true?
Do not...
2025 Jan 21
1
differences between 'getent group GROUP1' and 'sudo samba-tool group listmembers GROUP1'
Hello
Thank for suggestion to config fixes. Back to my original question.
Is it possible make
getent group
working on Samba 4 DC
to return list of group members to every group line, as it does for
group in /etc/group ?
I know that I cat get this under root account by?
samba-tool group listmembers
But how to get members of group under non-root account?
Second part of question. I've read somewhre it is better way to join
linux clients to Samba 4 domain by sssd (than by winbind) and then
getent group
could work correctly. Is it true?
But it cannot be case on Samba DC, right??
I ca...
2025 Jan 20
1
differences between 'getent group GROUP1' and 'sudo samba-tool group listmembers GROUP1'
...g> wrote:
> Hello
>
> I'm confused. On new installation of Samba 4 domain I have some
> configuration problem.
>
> samba release: Version 4.19.5-Ubuntu
>
> * example for user "pali"
>
> * returns members of this group
> $ sudo samba-tool group listmembers GROUP1
> ...
> pali
> ...
>
> * no users in group?
> -- returns correct info (name, gid) except group members - it is empty
> $ getent group GROUP1
> -- EMPTY --
>
> * but "groups" shows all groups
> $ groups pali
> ... GROUP1 ...
>
> How...
2025 Jan 20
1
differences between 'getent group GROUP1' and 'sudo samba-tool group listmembers GROUP1'
Hello
I'm confused. On new installation of Samba 4 domain I have some
configuration problem.
samba release: Version 4.19.5-Ubuntu
* example for user "pali"
* returns members of this group
$ sudo samba-tool group listmembers GROUP1
...
pali
...
* no users in group?
-- returns correct info (name, gid) except group members - it is empty
$ getent group GROUP1
-- EMPTY --
* but "groups" shows all groups
$ groups pali
... GROUP1 ...
How it could be possible?
Where could I search for configuration mistake?...
2019 May 27
4
samba-tool group removemembers, not working
Because of other issues using ADUC, I tried to remove a domain member using:
> samba-tool group removemembers "Domain Computers" MARKA\$
Removed members from group Domain Computers
As shown, it say it "Removed members", but ...
> samba-tool group listmembers "Domain Computers"
:
LABRAT$
:
OHPRSSTORAGE$
MARKA$
:
COMMON$
:
listmembers still shows the computer as a member of "Domain Computers". What's up with this?
Samba Version 4.8.2
THX --Mark
2017 Oct 30
5
Listing AD group members
Hi,
Ive been trying to work out how to get wbinfo to list members of a specific
AD group, rather than list groups a specific user is in.
So far I have had no luck... In fact im not sure its possible with wbinfo.
Is there another tool which could do this?
James
--
Sent using Dekko from my Ubuntu device
2019 May 30
2
samba-tool group removemembers, not working
Actually, I do/did leave the domain in the normal Windows way. But the (former) domain member
computer still always show both in ADUC and samba-tool group listmembers "Domain Computers".
So, I normally do a 2nd step by deleting the computer with ADUC. After doing so the computer
no longer shows with samba-tool group listmembers "Domain Computers".
I was simply looking for a way to do this 2nd step with samba-tool if ADUC happens to not...
2016 Mar 18
5
classicupgrade migration issues
...====
# samba-tool user list
Administrator
dns-kwad
usernameone
usernametwo
usernamethree
krbtgt
usernamefour
Guest
usernamefive
root
==========================================
However the users and computers are listed as group members:
==========================================
# samba-tool group listmembers 'Domain Users' |wc -l
270
# samba-tool group listmembers 'Domain Computers' |wc -l
35
==========================================
It's important the I keep the same SIDs, secrets, etc. when moving to
the new AD structure from the old PDC structure.
But either I'm doing so...
2017 Dec 02
2
idamp ad/rid
Found it! :)
I thought in make a script more or less that way.
#!/bin/bash
#
GROUP=ADM
GUID=10000 # Domain Users
UID=10000 # get the next ID ?
for USER in $(samba-tool group listmembers $GROUP)
do
samba-tool user edit $USER -H ldap://samdom.example.com \
-U administrato --nis-domain=samdom \
--unix-home=/home/$USER \
--uid-number=${NEXTID} \
--login-shell=/sbin/nologin \
--gid-number=$GUID
done
Of course that script is very simple, but is a beginning....
2017 Dec 02
2
idamp ad/rid
On Sat, 2 Dec 2017 10:21:07 -0200
Elias Pereira <empbilly at gmail.com> wrote:
> Correcting! :)
>
> #!/bin/bash
> #
> GROUP=ADM
> GUID=10000 # Domain Users
> UID=10000 # get the next ID ?
>
> for USER in $(samba-tool group listmembers $GROUP)
> do
> samba-tool user edit $USER --nis-domain=samdom \
> --unix-home=/home/$USER \
> --uid-number=${NEXTID} \
> --login-shell=/sbin/nologin \
> --gid-number=$GUID
> done
>
>
> Of course that script is very simple, but is a beginning. :...
2014 Oct 15
1
Cannot add user to group in Samba AD DC
...in Samba AD DC and add user 'cas' and group 'aaa':
# samba-tool user list | grep cas
cas
# samba-tool group list | grep aaa
aaa
Now I try to add user 'cas' to group 'aaa':
# samba-tool group addmembers aaa cas -Uadministrator
Added members to group aaa
But listmembers does not show this user in group:
# samba-tool group listmembers aaa -Uadministrator
#
There is no memberOf fields in sam.ldb for user 'cas':
# LDB_MODULES_PATH=/usr/lib64/samba/ldb ldbsearch \
> -H /var/lib/samba/private/sam.ldb '(cn=cas)' \
> memberOf | grep ^membe...
2017 Oct 30
4
Listing AD group members
...come up with that option from Google, but wondered if it was
>>> only suitable if Samba was the AD controller, since that was always
>>> the context it was used in.
>>>
>>> This is the result I get.
>>>
>>> root at hostname:~# samba-tool group listmembers groupname
>>> ERROR(ldb): Failed to list members of "groupname" group -
>>> ldb_search: invalid basedn '(null)' root at hostname:~#
>>
>> Try something like this:
>>
>> root at devstation:~# samba-tool group listmembers Unix\ Admins -...
2006 Nov 17
3
Mayday ! Needing urgent help about writing results to a file
Hey listmembers,
I am desperately trying to write a data frame to a file. Not in CSV, but as they "appear" on the screen (nice, easy to read tables). I've read that the sink function is the way to go.
I have tried the following code inside a function.
sink("ABC.txt")
MyFrameA
MyFrameB...
2017 Oct 30
1
Listing AD group members
...e:
>
>> I did come up with that option from Google, but wondered if it was
>> only suitable if Samba was the AD controller, since that was always
>> the context it was used in.
>>
>> This is the result I get.
>>
>> root at hostname:~# samba-tool group listmembers groupname
>> ERROR(ldb): Failed to list members of "groupname" group -
>> ldb_search: invalid basedn '(null)' root at hostname:~#
>
> Try something like this:
>
> root at devstation:~# samba-tool group listmembers Unix\ Admins -H ldap://dc3 -d0
> ro...
2008 Mar 06
2
Logging Options
Dear Listmembers,
I tried to figure out how to get statistics not only about the amount of
mails which where sent from / to my mailusers, but also about the size
in byte (e.g. to compare with other traffic stats) for each of my users.
postfix shows me the size of sent mails per user, but afaik I cannot get
t...
2006 May 29
2
line over multiplot
Dear Listmembers,
I do have a multiplot with 1 row and 4 columns (4 scatter plots with
same x- and y-axe plotted in one row). I would like to draw a horizontal
line across the whole multiplot at a certain y-value. Unfortunately the
normal abline command stops between the plot.
I hope my problem is clear and...
2005 Aug 15
2
warning: dovecot list is being harvested
Just a warning to dovecot listmembers. The list is being harvested.
test3943395 is a unique address I created only for communication to the
dovecot list.
The following spam came from:
Received: from dial-dynamic-62-69-52-187.surfdial.murphx.net (dial-dynamic-62-69-52-187.surfdial.murphx.net
[62.69.52.187])
by sasami.ani...
2017 Dec 02
1
idamp ad/rid
....com> wrote:
> >
> > > Correcting! :)
> > >
> > > #!/bin/bash
> > > #
> > > GROUP=ADM
> > > GUID=10000 # Domain Users
> > > UID=10000 # get the next ID ?
> > >
> > > for USER in $(samba-tool group listmembers $GROUP)
> > > do
> > > samba-tool user edit $USER --nis-domain=samdom \
> > > --unix-home=/home/$USER \
> > > --uid-number=${NEXTID} \
> > > --login-shell=/sbin/nologin \
> > > --gid-number=$GUID
> > > done
> &...
2019 May 28
2
samba-tool group removemembers, not working
...ed to remove a domain member using:
> >
> >> samba-tool group removemembers "Domain Computers" MARKA\$
> > Removed members from group Domain Computers
> >
> > As shown, it say it "Removed members", but ...
> >
> >> samba-tool group listmembers "Domain Computers"
> > :
> > LABRAT$
> > :
> > OHPRSSTORAGE$
> > MARKA$
> > :
> > COMMON$
> > :
> >
> > listmembers still shows the computer as a member of "Domain Computers". What's up with this?
>
> "...