Discussion:
AD how to add 'posixAccount' to an user's objectClass content
(too old to reply)
hkuhn
2010-01-12 15:16:06 UTC
Permalink
hey all,

i've running a w2k-server with a rcf2703 schema upgrade. after updatin
one linux-client's samba to 3.4.2 getent via winbind doesn't answer wit
any uids/gids from the AD. after reading th
ldap_server/devdocs/rfc2307.txt from samba I recognized that fo
retriving all users (getpwent()) the ladp search filte
(objectClass=posixAccount) is issued.

Having a look at the objectClass content of an user, the posixAccoun
class is missing!

Trying to set the posixAccount with ldifde -i -f ... in the user'
objectClass with the following ldif failed: The server side error i
"The specified method is not supported."

dn: CN=test,OU=Domain Users,DC=...,DC=...
changetype: modify
add: objectClass
objectClass: posixAccount
-

-> error-msg: The server side error is "The specified method is no
supported."

Can anybody answer the question how add the posixAccount to the user'
objectClass Attribute?

Regards for your help.

Bye,
Henri

--
hkuh
-----------------------------------------------------------------------
hkuhn's Profile: http://forums.techarena.in/members/173434.ht
View this thread: http://forums.techarena.in/active-directory/1292405.ht

http://forums.techarena.i
Lee Flight
2010-01-13 11:22:36 UTC
Permalink
Hi,

Your ldf file looks good but unfortunately it's only good for Windows Server
2003 AD or later.


In Windows 2000 AD it is not possible to add an auxiliary class to an
instance of an object like
CN=test,OU=Domain Users,DC=...,DC=...

this is a so-called dynamic auxiliary class.[1]


In Windows 2000 AD the auxiliary class can only be added to the user class
in the schema which means that it is inherited by all instances of that
object class that you create , this is a so-called static auxiliary class.
However a static auxiliary class of an object class in Windows 2000 AD does
*not* show that auxiliary class in the objectClass attribute of any instance
of that class [2] and so a filter like
(objectClass=some-static-auxiliary-class-name) will not return a match.


I think you need Windows Server 2003 AD or later to achieve what you want or
a way in your samba configuration to map "posixAccount" to "user" as the
class used to search.

Lee Flight



[1] http://msdn.microsoft.com/en-us/library/ms676290(VS.85).aspx
[2] http://msdn.microsoft.com/en-us/library/cc223233(PROT.13).aspx
Post by hkuhn
hey all,
i've running a w2k-server with a rcf2703 schema upgrade. after updating
one linux-client's samba to 3.4.2 getent via winbind doesn't answer with
any uids/gids from the AD. after reading the
ldap_server/devdocs/rfc2307.txt from samba I recognized that for
retriving all users (getpwent()) the ladp search filter
(objectClass=posixAccount) is issued.
Having a look at the objectClass content of an user, the posixAccount
class is missing!
Trying to set the posixAccount with ldifde -i -f ... in the user's
objectClass with the following ldif failed: The server side error is
"The specified method is not supported."
dn: CN=test,OU=Domain Users,DC=...,DC=...
changetype: modify
add: objectClass
objectClass: posixAccount
-
-> error-msg: The server side error is "The specified method is not
supported."
Can anybody answer the question how add the posixAccount to the user's
objectClass Attribute?
Regards for your help.
Bye,
Henrik
--
hkuhn
------------------------------------------------------------------------
hkuhn's Profile: http://forums.techarena.in/members/173434.htm
View this thread: http://forums.techarena.in/active-directory/1292405.htm
http://forums.techarena.in
hkuhn
2010-01-13 11:46:37 UTC
Permalink
Lee
thank you very much for your expert answer. Now I know that there is know change to find a solution this way

With best reagrds
Henrik

---
frmsrcurl: http://msgroups.net/microsoft.public.windows.server.active_directory/AD-how-to-add-posixAccount-to-an-user-s-objectC
Loading...