[Samba] Programatically Modifying Users

Gerald (Jerry) Carter jerry at samba.org
Thu Aug 4 00:36:14 GMT 2005


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

Nigel Rantor wrote:

> So, I can't find anything on SAMR rpc on the samba site, 
> is this a very new bit of the project? Any good resources
> where I can find out more about it or is just talking
> to the samba-tech list first the way to go?

Start by looking at the Samba code.  The samr pipe is used
for managing user and group accounts.  For example, connect
to a Samba server with usrmgr.exe and watch the traffic using
ethereal.

> I have seen jCIFS, although in it's current state it 
> only (AFAICT) supports the access of remote SMB shares. I
> haven't yet contacted the devs to see what else is in the
> works though or what it would take to add.

I just verified this week that Mike is working on rpc support
(hey Mike! :-)) but has some more work to do on it before
the feature is available in a release.

> Aye, already have been looking at it. One of my other 
> issues at the moment is the GPL issues. Since the samba
> project has not been designed to have bits of it used by other
> code I need to ensure that whatever I do won't violate the
> GPL. The project I'm working on is not OSS at all, let alone GPL.

Sorry.   Can't use any Samba code in that case.  Are we
talking about a Unix/Linux application here ?  or a Windows
management tool for Samba?  You would write your client
on Win32 pretty easy since the API calls are already there.
If you are working on Unix, your only hope is to write your
own dce/rpc library or maybe find one that is useable
under a license sompatiable with your work.

Note that the Samba4 IDL files (not the actual code or
pidl itseld) are available for use under more liberal
license.  You could write your own IDL compiler and use those.




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

iD8DBQFC8WL+IR7qMdg1EfYRAiZWAKCNjRQB23Zn7lgEKH6rC+UiraOulgCgzJ4c
atOZx0IY1nTUbcwPVdBX38w=
=1rlt
-----END PGP SIGNATURE-----


More information about the samba mailing list