[cifs-protocol] RID Allocation behaviour

John Dunning johndun at microsoft.com
Thu Jan 7 08:26:15 MST 2010

Hello Andrew,
   Thank you for your question. I had meant to respond to this yesterday but somehow didn’t get to it. One of my colleagues will be contacting you soon to assist with this matter.

John Dunning
Senior Escalation Engineer Microsoft Corporation US-CSS DSC PROTOCOL TEAM
Email: johndun at microsoft.com

-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at samba.org] 
Sent: Tuesday, January 05, 2010 6:05 PM
To: Interoperability Documentation Help
Cc: pfif at tridgell.net; cifs-protocol at samba.org; Andrew Tridgell
Subject: RID Allocation behaviour


Tridge and I are working on Samba4's implementation of the distributed RID allocation. 

We are unclear on a number of aspects of the expected behaviour, particularly when the RID manager is not the DC adding users.

I'll describe this in terms of the 'RID manager DC' and the 'remote DC'

For example:

It appears that the Remote DC is responsible for updating the ridNextRID attribute, but rather than storing the next RID, it appears to store the last allocated RID.  The actual remote DC allocation process for RIDs appears undocumented.

It appears the RID Manager DC is responsible for updating the rIDAllocationPool for each DC, and the rIDAvailablePool.  We think the remote DC is responsible for ridPreviousAllocationPool and allocates RIDs from that pool, but this is only described in the schema doc.  

Any light you can shed on this process would be most appreciated.


Andrew Bartlett
Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

More information about the cifs-protocol mailing list