Rebuilding Ubuntu Server 8.04 Help!!
February 17, 2009 11:40 AM
Subscribe
I recently lost a raid array on a ubuntu 8.04 server forcing me to rebuild it from scratch and/or restore data from backup. (I have copies of /var, /etc, and /home) The problem is I can't seem to rebuild the server so that it works exactly the way it did before, this is killing me!! (fyi... I inherited this system). My specific problem seems to be with Samba. I'm looking for help in two different ways... help 1) either figure out how to restore this system with what I've got backed up. Or fix samba so it works. See details below:
The previous system was Ubuntu 8.04. I've got good backups of /etc /var and /home.
What I want to do is simply build a basic install of ubuntu server 8.04 and restore /etc and /var. But this fails, because I am missing packages. I don't know what packages need to be installed to make this system complete. It seems like there should be something in my backup of /var/lib/apt should be able to tell me what packages are missing, need to installed, or reinstalled.
If I can't restore the server with the strategy above, I guess I need to rebuild the thing from scratch... which is what I've been doing and leads me to my next problem: Samba, LDAP, name resolution, and/or other unknown problems....
Samba user authenticate to openldap directory on another network. I've got nss working. I can do a #getent passwd and see ldap data. I've got my secrets.tdb setup and it seems like samba can query ldap. But I'm not sure all the naming services are working. In my /var/log/samba/log.smbd I see some errors "warning: failed to create BUILTIN\Administrators group! Can Winbind allocate gids?". (smb.conf log level = 5)
anyhow, I can post whatever log files or config files that might be helpful.
Another interesting clue to what might be wrong.... I have a win2k and wink3 server that both have shares with permissions for users from the domain that the failed Samba server was advertising. On the windows servers I've added the IP address of the WINS server on the network that the LDAP server is located... now the windows servers at least show user info in the permissions dialog box for the shares. But folks still can not authenticate to these windows shares... access is denied because of invalid credentials (or something).
Any ideas?
TIA,
Dave
posted by purenitrous to computers & internet (9 comments total)
posted by ijoyner at 11:47 AM on February 17