Displaying 3 results from an estimated 3 matches for "createdomaingroup".
2010 May 18
1
net sam/samba ldap: Failed to add user 'xxx' with error: Group already exists.
...up Samba with LDAP Backend. Using the Samba
toolchain to add our existing users/groups, the net command seems to get
confused about what users and groups are, if both have the same name and
are used in the same context.
Here is what I tried:
==commandline==
-> Create the Domain Group
# net sam createdomaingroup duplicate -U Administrator%pwd
Created domain group duplicate with RID 1172
-> Create the User
# net rpc user add duplicate -U Administrator%pwd
Failed to add user 'duplicate' with error: Group already exists.
Other way around, adding first user then group, similar result:
-> Creat...
2011 Feb 03
1
samba constantly creating mapping
...: *S-1-5-21-3807515285-1394671770-2144936185*
Active Directory : No
Native : No
Primary : No
As I understand I should somehow add entry for this SID in local SAM database with "net sam". But
how: with "net sam createlocalgroup" or "net sam createdomaingroup" or "net sam createbuiltingroup"?
I don't understand SAM well, please advice me how to do this.
Thanks.
--
Vladimir Vassiliev
2010 Nov 19
1
After host name change: Failed to add user ... with error: The account's primary group is invalid
...ryGroupSID and thus does not have any rights. I tried to perform the following steps:
net -U Administrator%myadminpass -I localhost rpc user add myuser
and got the error message mentioned in the subject line. Consequently, the other steps failed:
net -U Administrator%myadminpass -I localhost sam createdomaingroup grmyuser
net -U Administrator%myadminpass -I localhost sam addmem grmyuser myuser
What's the correct procedure to get the Administrator account working again after a host name/workgroup name change so that I can continue to add more users?
Thanks in advance for any hints & kind regards,...