pdb_nisplus

Andrew Bartlett abartlet at pcug.org.au
Wed May 8 06:04:02 GMT 2002


Toomas Soome wrote:
> 
> basically this is because there is no %variable expansion done after
> fetching data from name service.
> 
> when the pdb_nisplus was written, to start discussion if such expansion
> should be done in pdb_ module or outside of it and as some other modules
> did not implement it, I left it out as well.
> 
> I think, there was some discussion about this issue in samba-technical and
> if I remember correctly, the conclusion was that if we do want to provide
> compatibility with MS in future, then we should not support useing
> %variables in name service....  but this means also that such variables
> should be expanded before storing them into nis+/ldap/... hm...

Theyway it is done is that defaults expand, and don't store (a flag is
set).  This way
for pdb_ldap and pdb_tdb, you get the 'desired' behaviour for most
cases, and allow
 backends to store values in specific cases.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba-technical mailing list