I'm not able to add machine account(specifically Samba member servers) to my Samba 3.0 Domain. When I try to run 'net rpc join' and provide the root credentials, I get 'NT_STATUS_NO_SUCH_USER' in the output. My domain database is in LDAP and root is a local unix user. I know auth works, because 'net rpc info' works. It seems there's a problem mapping between the domain admin SID and the root user. I tried the instructions on this page - http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html#id2609879 and while they produce no errors, they don't resolve the problem. I've been fighting with this for some time and it's likely I have made some sort of error in the directory or the associated files. I'm not sure how to go about troubleshooting this next, though - where to begin?
On Tue, Oct 27, 2009 at 10:19 PM, jeff sacksteder <jsacksteder at gmail.com> wrote:> I'm not able to add machine account(specifically Samba member servers) > to my Samba 3.0 Domain. When I try to run 'net rpc join' and provide > the root credentials, I get 'NT_STATUS_NO_SUCH_USER' in the output. My > domain database is in LDAP and root is a local unix user. I know auth > works, because 'net rpc info' works. It seems there's a problem > mapping between the domain admin SID and the root user. I tried the > instructions on this page - > http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html#id2609879 > and while they produce no errors, they don't resolve the problem. > > I've been fighting with this for some time and it's likely I have made > some sort of error in the directory or the associated files. I'm not > sure how to go about troubleshooting this next, though - where to > begin? >Are you using nscd? If so consult this thread: http://groups.google.com/group/mailing.unix.samba/browse_thread/thread/2af49f5afbefc828/fa21ad9d11f65c33?#fa21ad9d11f65c33 John
---------- Forwarded message ---------- From: jeff sacksteder <jsacksteder at gmail.com> Date: Wed, Oct 28, 2009 at 2:12 PM Subject: Re: [Samba] Trouble adding machine accounts To: John Drescher <drescherjm at gmail.com> No, I don't think so. The Domain Controller and member servers are both pretty standard Centos5.3 installs. I also have dns on a dd-wrt appliance, but I don't know if that's relevant. On Tue, Oct 27, 2009 at 10:55 PM, John Drescher <drescherjm at gmail.com> wrote:> On Tue, Oct 27, 2009 at 10:19 PM, jeff sacksteder <jsacksteder at gmail.com> wrote: >> I'm not able to add machine account(specifically Samba member servers) >> to my Samba 3.0 Domain. When I try to run 'net rpc join' and provide >> the root credentials, I get 'NT_STATUS_NO_SUCH_USER' in the output. My >> domain database is in LDAP and root is a local unix user. I know auth >> works, because 'net rpc info' works. It seems there's a problem >> mapping between the domain admin SID and the root user. I tried the >> instructions on this page - >> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html#id2609879 >> and while they produce no errors, they don't resolve the problem. >> >> I've been fighting with this for some time and it's likely I have made >> some sort of error in the directory or the associated files. I'm not >> sure how to go about troubleshooting this next, though - where to >> begin? >> > Are you using nscd? > > If so consult this thread: > > http://groups.google.com/group/mailing.unix.samba/browse_thread/thread/2af49f5afbefc828/fa21ad9d11f65c33?#fa21ad9d11f65c33 > > John >-- John M. Drescher