dohko Tux's lil' helper
Joined: 24 Sep 2004 Posts: 112 Location: São Paulo - Brasil
|
Posted: Tue Sep 06, 2005 8:07 pm Post subject: [Solved] Samba pdbedit -r option |
|
|
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:
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 |
|