Hi all I don't know if it's a bug on Samba, LDAP or ubuntu, but I search for many times in google and other sites, however I don't found any solution... May be any one have the same problem in the past and get help me. I install samba and LDAP on Ubuntu Server 7.04. I using smbldap-tools... However, when I reboot the system, the Ubuntu server don't work more... It's stalled on services initialize... I notice that the file nsswitch.conf on /etc, have this look: passwd: files ldap group: files ldap shadow: files When I change this lines to this: passwd: files group: files shadow: files All work fine! So, the system booting normaly... Some can help me please! Thanks -- Atenciosamente --- Gilberto Nunes MSN: gilberto@bitmix.com.br Fones: 47-3348-8020 -- Esta mensagem foi verificada pelo sistema de antiv?rus e acredita-se estar livre de perigo.
I've not seen this problem before but maybe you should do some diagnosis of your installation. So - now you've rebooted and you're up and running, edit the nsswitch.conf to put ldap back. Now try some things to test the ldap configuration. *Can you see your ldap database contents?* Can can a try raw dump of the db: slapcat You can try a query to the daemon: ldapsearch <opts to suit> and you can try a test of the nss_ldap library: getent password What do you see? 2008/6/24 Gilberto Nunes <gilberto@bitmix.com.br>:> Hi all > > I don't know if it's a bug on Samba, LDAP or ubuntu, but I search for many > times in google > and other sites, however I don't found any solution... > May be any one have the same problem in the past and get help me. > I install samba and LDAP on Ubuntu Server 7.04. > I using smbldap-tools... > However, when I reboot the system, the Ubuntu server don't work more... > It's stalled on services initialize... > I notice that the file nsswitch.conf on /etc, have this look: > > passwd: files ldap > group: files ldap > shadow: files > > > When I change this lines to this: > > passwd: files > group: files > shadow: files > > All work fine! So, the system booting normaly... > > Some can help me please! > > Thanks > > > > -- > Atenciosamente > > --- > Gilberto Nunes > MSN: gilberto@bitmix.com.br > Fones: 47-3348-8020 > > > > -- > Esta mensagem foi verificada pelo sistema de antiv?rus e > acredita-se estar livre de perigo. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
Gilberto Nunes escreveu:> I install samba and LDAP on Ubuntu Server 7.04. > I using smbldap-tools... > However, when I reboot the system, the Ubuntu server don't work more... > It's stalled on services initialize... > I notice that the file nsswitch.conf on /etc, have this look: > > passwd: files ldap > group: files ldap > shadow: files > > > When I change this lines to this: > > passwd: files > group: files > shadow: files > > All work fine! So, the system booting normaly... >It is a known bug, I found on a bugzilla somewhere. The bug consists that the booting process needs the ldap server before it gets started. So, the workaround, for now, is to have a slave ldap server which you can use at least for booting. In my /etc/ldap.conf I have: # grep host /etc/ldap.conf host 127.0.0.1 192.168.0.2 Obviously, 192.168.0.2 is another server on the network which is a slave for localhost. This way the booting process will try localhost and then 192.168.0.2 and boots ok. I am not sure even if it really needs to be a real slave, but I happen to have a real slave on my net, so I had no problem. Good luck -- Marcio Merlone