[Samba] Programatically Modifying Users

Gerald (Jerry) Carter jerry at samba.org
Fri Jul 29 21:53:09 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nigel Rantor wrote:
|
| - Is there a set of documentation around for the API?
| I can't seem to  find any on the samba site, the developer
| docs talk about the underlying protocols and provide
| starting points for that but I can't seem to find
| API docs.

Nope.  no api docs.  But what I would suggest is talking
to Chris Nichols on the samba-technical mailing list about
his libmsrpc work.  The better choice here in my opinion
would be to use the SAMR rpc functions and talk to smbd
directly.  you could also be doing us and the Samba
community a great service to help this mature.

| - Is there an existing set of Java JNI wrappers for
| this kind of  functionality (I know, I'm reaching now...)

Nope.  But if you follow the line of thinking above, you
might be able to use jCIFS.

| - If I just want to access the SAM database functionality
| which bits of  Samba will i need to link against (of
| course, this will be easy to find out from trial-and-error)

Our code is not currently easy to pull parts from.  but if you
choose to follow the passdb API route, then look at the Makefile
for linking pdbedit.





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.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC6qVFIR7qMdg1EfYRAi0vAJ9qNcqWLIpVnJL4AdjIXm3c7YmYKgCcDZzG
akPSLYBP+ER6EKn8VvSIE18=
=4vLl
-----END PGP SIGNATURE-----



More information about the samba mailing list