Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Samba pdbedit -r option
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dohko
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2004
Posts: 112
Location: São Paulo - Brasil

PostPosted: Tue Sep 06, 2005 8:07 pm    Post subject: [Solved] Samba pdbedit -r option Reply with quote

Hi folks,

I'm new to using samba and I have a problem I've been looking for the answer in samba-howtos, faqs and google for the entire afternoon but really found nothing that could help me.

I'm trying to performa a very basic account management: modify a user account using pdbedit.

So far, I've been able to sucessfully create a user with pdbedit:

Code:
pdbedit -a larry


I have created a group and add user larry to it by using the net tool as the following states:
Code:

net rpc group add "SupportEngrs" -Uroot
net rpc group addmem "SupportEngrs" larry -Uroot


Doing a net rpc user info larry shows that larry is part of the SupportEngrs group.

When I issue an pdbedit -Lv larry, I get the usual output and I see that the primary group ID is something different from SupportEngrs group ID. I'd now like to change it to be SupportEngrs. So, I try:

Code:
pdbedit -r -u larry -G S-1-5-21-2494691112-2621452367-2110576117-3001


where S-1-5-21-2494691112-2621452367-2110576117-3001 is the group SID for SupportEngrs. However, nothing happens. The old data is still there unchanged as the result of this command.

I've tried to modify something a little bit more trivial (not sure if this is the best word to describe it) like the user full name using:

Code:
pdbedit -r -e smbpasswd --fullname="Larry Full Name" larry


but I've got no success.

Is there anything that I'm missing here?

Thanks a lot


Last edited by dohko on Wed Sep 07, 2005 1:57 am; edited 1 time in total
Back to top
View user's profile Send private message
dohko
Tux's lil' helper
Tux's lil' helper


Joined: 24 Sep 2004
Posts: 112
Location: São Paulo - Brasil

PostPosted: Wed Sep 07, 2005 1:57 am    Post subject: Re: Samba pdbedit -r option Reply with quote

dohko wrote:


Is there anything that I'm missing here?



Sure there was was. Here is what I found: http://lists.samba.org/archive/samba/2005-June/107092.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum