Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: RE: [ActiveDir] Server_Info='00000523: SysErr: DSID-031A0FB2, problem 22 (Invalid argument), data 0.
Prev Next
You are not authorized to post a reply.

AuthorMessages
listmailUser is Offline

Posts:824

09/26/2005 10:40 AM  
It is in the create code. The OS that it must assign SIDs to users,
computers, etc. It may be hardcoded to the existence of that attribute as a
mandatory attribute for the class or it could just be for certain fixed
clases. I have never tested it by creating another class with objectSID as a
required attribute.

The Security Descriptor item is for all creates. Any objct that doesn't have
a security descriptor specified in the ldap_add will automatically have the
defaultSD inserted from the schema for the appropriate class.

joe



-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Francis Ouellet
Sent: Friday, August 05, 2005 10:43 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] Server_Info='00000523: SysErr: DSID-031A0FB2,
problem 22 (Invalid argument), data 0.

Thanks for the FYI joe, much appreciated. What is the process that slaps on
the defaultsid and ntsecuritydescriptor? Is this a validation that AD does
when an object is created since it can't rely on the schema?

Thanks,
Francis

-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joe
Sent: August 4, 2005 7:30 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] Server_Info='00000523: SysErr: DSID-031A0FB2,
problem 22 (Invalid argument), data 0.

FYI

If nTSecurityDescriptor isn't specified, the system will insert the
defaultSD from the schema for the objectclass.

objectSid can't be specified, the system will set it to what it wants to set
it to.

The issue is definitely with the sAMAccountName attribute.

I admit the first two can be a bit confusing. Even though the schema says
something is mandatory, AD may not actually require you to specify it. This
makes the schema less than a perfect source of info for AD for determining
what you need for new objects as well as what you can and can't do. Other
examples are length of sAMAccountName and the fact that even though the
schema says description is multivalued, it actually is single values on
certain SAM objects. There are other examples. It means your programs have
to have special hard coded routines for certain pieces or you have to
maintain in your head certain special rules for special things.



-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Francis Ouellet
Sent: Thursday, August 04, 2005 12:55 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] Server_Info='00000523: SysErr: DSID-031A0FB2,
problem 22 (Invalid argument), data 0.

I'm not a pro but could it be related to mandatory attributes missing?
I'm thinking maybe "nTSecurityDescriptor" and "objectSid". Although I could
be way off if AD actually populates those attributes when the object is
created ;)

Just thinking out loud here....

-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Mayuresh Kshirsagar
Sent: August 4, 2005 1:41 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: [ActiveDir] Server_Info='00000523: SysErr: DSID-031A0FB2, problem
22 (Invalid argument), data 0.

Hi All,

I am using a meta directory to push mailbox users into active directory.
I am stuck with the following:

The adding of user entries to AD fails with the above error. The kind of
entry that the meta directory is trying to add is as follows:

ADD 'cn=ZZZGGG,OU=test,DC=gepurbsres01,DC=net'
dn: cn=ZZZGGG,OU=test,DC=gepurbsres01,DC=net
objectClass: person
objectClass: organizationalPerson
objectClass: user
userAccountControl: 544
DisplayName: ZZZGGG, ANGUS
cn: ZZZGGG, ANGUS
givenName: ANGUS
sn: ZZZGGG
sAMAccountName: ZZZGGG, ANGUS-Test
ADD Result Server_Info='00000523: SysErr: DSID-031A0FB2, problem 22 (Invalid
argument), data 0.'

Any clue as to how can I solve this problem?

Thanks and Regards,
Mayuresh.

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > RE: [ActiveDir] Server_Info='00000523: SysErr: DSID-031A0FB2, problem 22 (Invalid argument), data 0.



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:cajoe64
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:5291

People OnlinePeople Online:
VisitorsVisitors:45
MembersMembers:0
TotalTotal:45

Online NowOnline Now:

Ads

Copyright 2012 ActiveDir.org
Terms Of Use