|
| |||||||||
| Tags: add, content, objectclass, posixaccount |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| AD how to add 'posixAccount' to an user's objectClass content
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 |
|
#2
| |||
| |||
| Re: AD how to add 'posixAccount' to an user's objectClass content
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/libr...90(VS.85).aspx [2] http://msdn.microsoft.com/en-us/libr...(PROT.13).aspx "hkuhn" <hkuhn.44omba@DoNotSpam.com> wrote in message news:hkuhn.44omba@DoNotSpam.com... > > 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: AD how to add 'posixAccount' to an user's objectClass content > > http://forums.techarena.in > |
|
#3
| |||
| |||
| Re: AD how to add 'posixAccount' to an user's objectClass content
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...user-s-objectC |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "AD how to add 'posixAccount' to an user's objectClass content" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Content blocker blocks content on certain sites with Opera | GiveNTake | Technology & Internet | 5 | 21-06-2011 08:30 AM |
| ADAM and ExtensibleEntry objectclass | mori7 | Active Directory | 1 | 22-05-2011 04:25 AM |
| Remove an attribute from a objectClass | Pman | Active Directory | 3 | 07-07-2009 06:51 PM |
| Add new objectclass to all users | matvrix | Active Directory | 4 | 15-10-2008 10:38 AM |
| WirelessHD(TM) Announces Publication of Wireless DTCP Content Protection Specification for High Definition Content | Jerome | Web News & Trends | 1 | 27-08-2008 02:21 PM |