Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » add user to a group using adsi edit
add user to a group using adsi edit [message #330891] Sun, 29 November 2009 22:05 Go to next message
aconti  is currently offline aconti  United States
Messages: 113
Registered: August 2009
Senior Member
Hello I am getting this error when trying to add a user to a group...

C:\Users\Administrator>dsmod group "CN=Accounts
Group,CN=Accounts,DN=homenet,DC=
ma" -addmbr "CN=mrtest,CN=Accounts,DC=homenet,DC=ma"
dsmod failed:CN=Accounts Group,CN=Accounts,DN=homenet,DC=ma:A referral
was retur
ned from the server.

Any syntax wrong or maybe any help pls thank you


--
aconti
------------------------------------------------------------ ------------
aconti's Profile: http://forums.techarena.in/members/73272.htm
View this thread: http://forums.techarena.in/active-directory/1276763.htm

http://forums.techarena.in
Re: add user to a group using adsi edit [message #330921 is a reply to message #330891] Sun, 29 November 2009 23:45 Go to previous messageGo to next message
meiweb  is currently offline meiweb  Germany
Messages: 2225
Registered: September 2009
Senior Member
Hello aconti,

To get you correct you work with containers and not OUs according to CN=Accounts?
If this is an OU please use OU=Accounts

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> Hello I am getting this error when trying to add a user to a group...
>
> C:\Users\Administrator>dsmod group "CN=Accounts
> Group,CN=Accounts,DN=homenet,DC=
> ma" -addmbr "CN=mrtest,CN=Accounts,DC=homenet,DC=ma"
> dsmod failed:CN=Accounts Group,CN=Accounts,DN=homenet,DC=ma:A referral
> was retur
> ned from the server.
> Any syntax wrong or maybe any help pls thank you
>
> http://forums.techarena.in
>
Re: add user to a group using adsi edit [message #330954 is a reply to message #330891] Mon, 30 November 2009 01:23 Go to previous messageGo to next message
florian  is currently offline florian  Switzerland
Messages: 484
Registered: July 2009
Senior Member
Howdie!

aconti wrote:
> Hello I am getting this error when trying to add a user to a group...
>
> C:\Users\Administrator>dsmod group "CN=Accounts
> Group,CN=Accounts,DN=homenet,DC=
> ma" -addmbr "CN=mrtest,CN=Accounts,DC=homenet,DC=ma"
> dsmod failed:CN=Accounts Group,CN=Accounts,DN=homenet,DC=ma:A referral
> was retur
> ned from the server.

Is that the correct domain you specified? homenet.ma? A referral by
default is sent from the server, if it feels like it isn't responsible
for a directory partition. That may happen if the domain is spelled
incorrectly or you're trying to fetch data from the main domain and
target a child domain DC.

Cheers,
Florian
Re: add user to a group using adsi edit [message #331062 is a reply to message #330891] Mon, 30 November 2009 06:24 Go to previous messageGo to next message
pbbergs  is currently offline pbbergs  United States
Messages: 1024
Registered: July 2009
Senior Member
Easiest way for me to figure this out if I run into an error is I open up
ADSIEdit and go to an equivalent object and look at its distinguished name.
It will give you exactly what you need.

http://technet.microsoft.com/en-us/library/cc773354(WS.10).aspx

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"aconti" <aconti.42g7vc@DoNotSpam.com> wrote in message
news:aconti.42g7vc@DoNotSpam.com...
>
> Hello I am getting this error when trying to add a user to a group...
>
> C:\Users\Administrator>dsmod group "CN=Accounts
> Group,CN=Accounts,DN=homenet,DC=
> ma" -addmbr "CN=mrtest,CN=Accounts,DC=homenet,DC=ma"
> dsmod failed:CN=Accounts Group,CN=Accounts,DN=homenet,DC=ma:A referral
> was retur
> ned from the server.
>
> Any syntax wrong or maybe any help pls thank you
>
>
> --
> aconti
> ------------------------------------------------------------ ------------
> aconti's Profile: http://forums.techarena.in/members/73272.htm
> View this thread: http://forums.techarena.in/active-directory/1276763.htm
>
> http://forums.techarena.in
>
Re: add user to a group using adsi edit [message #331561 is a reply to message #331062] Mon, 30 November 2009 14:46 Go to previous messageGo to next message
aconti  is currently offline aconti  United States
Messages: 113
Registered: August 2009
Senior Member
Thank you the OU was the issue


--
aconti
------------------------------------------------------------ ------------
aconti's Profile: http://forums.techarena.in/members/73272.htm
View this thread: http://forums.techarena.in/active-directory/1276763.htm

http://forums.techarena.in
Re: add user to a group using adsi edit [message #331565 is a reply to message #331561] Mon, 30 November 2009 15:30 Go to previous message
meiweb  is currently offline meiweb  Germany
Messages: 2225
Registered: September 2009
Senior Member
Hello aconti,

Nice to hear that you found it, thanks for the feedback.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> Thank you the OU was the issue
>
> http://forums.techarena.in
>
Previous Topic:Issue with Windows 2008 Joining Windows 2003 Domain
Next Topic:ADUC v dsget inconsistentcy
Goto Forum:
  


Current Time: Tue Jan 16 04:06:19 MST 2018

Total time taken to generate the page: 0.03910 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software