Hi all, I have tried to write management tools for samba, but it seems there's no standard way provided by Samba to change its configuration or modify users account other than direct modify the config file and or database backend. This make many tools less portable because it depends on the backend of samba. There might be a windows rpc call (use by usrmgr.exe and svrmgr.exe), is it the 'standard' way to access samba? Thanks. -- --beast
Gerald (Jerry) Carter
2005-Jun-30 12:33 UTC
[Samba] Samba interface for administrative tools
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Beast wrote:> Hi all, > > I have tried to write management tools for samba, but it seems there's > no standard way provided by Samba to change its configuration or modify > users account other than direct modify the config file and or database > backend. This make many tools less portable because it depends on the > backend of samba. > > There might be a windows rpc call (use by usrmgr.exe and > svrmgr.exe), is it the 'standard' way to access samba?There's a lot of rpc calls available. These will get you so far. I have considered making smb.conf remotely available via the registry API but its still in the thought stage. Would that be something that people would want ? Something like [HKLM\Software\Samba.org\Configuration] [HKLM\Software\Samba.org\Configuration\global] [HKLM\Software\Samba.org\Configuration\homes] [HKLM\Software\Samba.org\Configuration\share1] ... And then editable valuename/data pairs for parameters. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCw+ZVIR7qMdg1EfYRAiBLAKCmSXnxOlGBdtCfEt1CPu9VU3K4OQCg1b8T jfUZV7aV5LBgr+cbB4lHg4I=T08R -----END PGP SIGNATURE-----