storing our machine account name in secrets.tdb

simo idra at samba.org
Tue Mar 13 16:16:46 GMT 2007


On Tue, 2007-03-13 at 16:35 +0100, Volker Lendecke wrote:
> Hi!
> 
> I need to solve the problem where winbind fails if it got a
> different hostname via dhcp and no 'netbios name' is set in
> smb.conf.
> 
> I'm going to solve it by also storing the account name we
> joined as in secrets.tdb and modify
> secrets_fetch_machine_password() to also return that account
> name.
> 
> To me this seems the logical way to do it, as the machine
> password and the account name can really be seen as one
> unit. We need to provide a "net rpc/ads rename account"
> command that does everything necessary then. (I vaguely
> remember there is already something like that around, I
> need to modify it appropriately.)
> 
> Any serious concerns around?

Great!
I really like this.
Any plan to return a warning if the netbios name is different?
Or do you just want to decouple winbindd from the main samba
configuration ?

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list