Originally Posted by Felipe
I've joined my Linux client (CentOS 5.5) to Active Directory.
Everything woks fine, except that Active Directory deletes my computer from DNS after two weeks.
I think (no completely sure) that it's due to I register the machine dynamically. If the machine is registered manually (from console of Active Directory) the name is not deleted (the problem is that I'm not allowed to register it from console).
I could update it with net ads dns register in a cron, but is there a better way or a samba/dns configuration?
I should think that there is definitely some configuration setting in your /etc/samba/smb.conf file that should help you on this, like dns proxy
or netbios name
Out of curiosity, what does the Event Viewer on the ADC say is the reason it keeps deleting the entry? That should give you a clue as to what you may need to configure to keep your machine registered.
HTH. Let us know.