I am trying to populate some samba values in my LDAP based on some user information. Among other things, I have to create a 'sambaSID' for a user. It is composed of two values: the prefix which is the sambaSID of a sambaDomainName object and the suffix which is 1000 + (2* uid) oder the user.
I can see the sambaSID attribute from my sambaDomainName using ldapsearch like so:
ldapsearch -x -D {adminUser} -W -H ldap://...:389 -b $base -s sub "sambaDomainName=TRON" sambaSID
the adminUser and base are correctly provided.
Now, if I try to do the same in Java using Spring LDAP, I see all the attributes except for the SambaSID. The same behaviour happens for a LDAP group object, from which I also need the SambaSID.
As I can read any other property, I believe there is something special about the SambaSID.
Does anyone have any ideas?
Thanks in advance! DodoFXP