Jerry, Thanks for your response. Any specific reason why 'net rpc join' doesn't support it?
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. Regards Raj Pagaku > -----Original Message----- > From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 15, 2007 2:12 PM > To: Raj Pagaku > Cc: samba@lists.samba.org > Subject: Re: [Samba] Argument createcomputer does not work in net rpc join > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Raj Pagaku wrote: > > > We are using samba-3.0.25a and we want to join our > > system onto the Active Directory server in a > > specific location. The argument 'createcomputer' > > is exactly what we want and it works perfectly when we > > do a 'net ads join' but fails when we do a 'net rpc join'. > > The computer object always gets created in the > > 'Computers' folder. > > > > Looking at the code it appears that the 'net rpc join' > > doesn't support the 'createcomputer' argument. Is there a > > specific reason why it isn't supported? Are there plans to > > support the 'createcomputer' argument in the 'net rpc join' > > command in any future releases? > > No. Net rpc join does not support creating the machine in > a specific OU. That is a AD-specific operation. > > > > > 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 > > iD8DBQFGw2wcIR7qMdg1EfYRAmtwAJ9YtsnY6Gbeeo+mitxzC1Tq1sTrlgCg73jf > IJgliyyenW/LROTbAXYs+K4= > =Ibsu > -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba