svn commit: samba r23452 - in branches/SAMBA_3_0_26/source: . registry utils

obnox at samba.org obnox at samba.org
Tue Jun 12 23:04:40 GMT 2007


Author: obnox
Date: 2007-06-12 23:04:38 +0000 (Tue, 12 Jun 2007)
New Revision: 23452

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23452

Log:
Merge r22135 and r22496 from 3_0:

* Refactor the code in registry/ essentially by moving functions
  around and creating a new reg_frontend_hilvl.c to minimize the
  linker dependencies for parts of the registry code. 
  
  This initial refactoring allows to link registry code to e.g. "bin/net"

* Add the "net conf" utility: It gives convenient local acces to the 
  HKLM\Software\Samba\smconf key in the registry, where the samba
  registry shares are stored.

* make reg_enumvalue return WERR_NO_MORE_ITEMS instead of                             
  WERR_BAD_FILE when all items have been successfully enumerated.                       
  Besides seeming the reasonable code to return,                                        
  this is what I have seen from w2k3, w2k, wxp. (r22496)

Michael


Added:
   branches/SAMBA_3_0_26/source/registry/reg_frontend_hilvl.c
   branches/SAMBA_3_0_26/source/utils/net_conf.c
Modified:
   branches/SAMBA_3_0_26/source/Makefile.in
   branches/SAMBA_3_0_26/source/registry/reg_api.c
   branches/SAMBA_3_0_26/source/registry/reg_frontend.c
   branches/SAMBA_3_0_26/source/utils/net.c
   branches/SAMBA_3_0_26/source/utils/net.h


Changeset:
Sorry, the patch is too large (2007 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23452


More information about the samba-cvs mailing list