[Samba] Argument createcomputer does not work in net rpc join

Gerald (Jerry) Carter jerry at samba.org
Mon Aug 20 11:55:09 GMT 2007


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

Raj Pagaku wrote:
> Jerry,
> 
> Thanks for your response.  Any specific reason why 'net 
> rpc join' doesn't support it?

Because 'net rpc join' is for join NT4 equivalent
domains which have no concept of OUs.

> Since we needed this functionality (customer didn't like 
> it when we said we don't support that :)), we wrote a
> small function that utilizes smbldap_xxx routines.  Specifically
> our small function utilizes the following smbldap_xxx routines:
> 
> smbldap_set_mod - to set 'cn', 'sAMAccountName', 'objectClass',
> 'userAccountControl'.
> smbldap_init - to initialize the connection with AD server
> smbldap_set_creds - set the credentials for the connection
> smbldap_add - to precreate the machine account object in the location.
> 
> Please let me know if we are doing something 
> fundamentally wrong.
> 
> I will be happy to submit the patch to samba group or 
> to anyone who requires it.

Sounds fine for your case but this should not be part
of the core net rpc jon code itself.  You are solving a
specific issue for a specific environment.




cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGyYEdIR7qMdg1EfYRAkphAJ9XxN03wUA8kSkScwB9BbhbqIOgcQCgzWdU
OGgkf+wA+73Dlhut36pm7ds=
=hxQP
-----END PGP SIGNATURE-----


More information about the samba mailing list