David, thanks for your reply.

I followed the steps described in your mail. After the first 
/etc/init.d/ebox restart, eth0 lost it's (static!) IP and my SSH 
connection was terminated. I had to run /etc/init.d/networking restart 
from the machine itself to get things back to normal. After that, I 
followed the rest of the steps on the machines itself without any 
problems.

Samba is now working again, but the 'Software management'-page still 
displays version .100 for all modules, except .101 for the ntp module. Is 
this a bug?

Thanks, regards,

Matthijs




"David Meireles | InforChannel, Lda." <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07/10/2008 12:56 PM
Please respond to
[EMAIL PROTECTED]; Please respond to
eBox users <[email protected]>


To
eBox users <[email protected]>
cc

Subject
Re: [Ebox-user] multiple problems after update






Disable all eBox modules on the module configuration page. Apply all 
changes and after that, via SSH, run:

aptitude clean
aptitude autoclean
aptitude forget-new
ebox-software
/etc/init.d/ebox restart
aptitude update
aptitude dist-upgrade
ebox-software

Then get back to the module configuration page, enable the modules you 
want and check if it works now.


- 

Melhores Cumprimentos,
David Meireles

InforChannel - Soluções Informáticas, Lda.



Qui, 2008-07-10 às 12:11 +0200, [EMAIL PROTECTED] 
escreveu:

Hi, 

After adding the Ebox PPA repository to my sources.list and running 
aptitude update / safe-upgrade, most packages were updated to version 
.101, some to .102 and a few to .103. However, when I look at the 
'Software management' page in Ebox, all the modules still appear to be at 
version .100, except for the NTP module, which is at version .101 
(allthough it was at that version before the update). I rebooted the 
machine (had to because of a kernel upgrade, .18 -> .19), but this made no 
difference. I checked aptitude for the version numbers of the installed 
Ebox packages, but none of them have version .100 anymore. 

Worse, after the update, Samba fails to start. Looking at 
/var/log/samba/smbd shows the following: 

[2008/07/10 11:18:05, 1] lib/smbldap_util.c:add_new_domain_info(216) 
  add_new_domain_info: failed to add domain dn= 
sambaDomainName=TSI,dc=ebox with: Invalid DN syntax 
          invalid DN 
[2008/07/10 11:18:05, 0] 
lib/smbldap_util.c:smbldap_search_domain_info(286) 
  smbldap_search_domain_info: Adding domain info for TSI failed with 
NT_STATUS_UNSUCCESSFUL 

Check my /etc/samba/smb.conf below. 
My initial install is from the customized Ebox Ubuntu Hardy CD. 

Any idea what's wrong and how I should fix this? 

Thanks, 

Matthijs 



My smb.conf: 

[global] 
 unix charset = LOCALE 
 workgroup = TSI 
 netbios name = EBOX-SMB3 
 server string = EBox Samba Server 
 enable privileges = yes 
 interfaces = eth0,lo 
 bind interfaces only = Yes 
 passdb backend = ldapsam:ldapi://%2fvar%2frun%2fslapd%2fldapi 
 log level = 1 
 syslog = 0 
 log file = /var/log/samba/%m 
 max log size = 50 
 smb ports = 137 138 139 445 
 name resolve order = wins bcast hosts 
 time server = Yes 
 printcap name = CUPS 
 wins support = Yes 
 ldap suffix = dc=ebox 
 ldap machine suffix = ou=Computers 
 ldap user suffix =   
 ldap group suffix = 
 ldap idmap suffix = ou=Idmap 
 ldap admin dn = cn=admin,dc=ebox 
 map acl inherit = Yes 
 printing = cups 

 encrypt passwords = Yes 
 obey pam restrictions = No 
 ldap passwd sync = Yes 
 mangling method = hash2 

 logon script = logon.bat 
 logon drive = H: 
 logon home = 
 logon path = "" 

 domain logons = Yes 
 os level = 65 
 preferred master = Yes 
 domain master = Yes 
 add user script = /usr/sbin/smbldap-useradd -m "%u" 
 ldap delete dn = Yes 
 add machine script = /usr/sbin/smbldap-useradd -w "%u" 
 add group script = /usr/sbin/smbldap-groupadd -p "%g" 
 add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" 
 delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" 
 set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" 

 [netlogon] 
        path = /home/samba/netlogon/ 
        browseable = No 
        read only = yes 

 [profiles] 
        path = /home/samba/profiles 
        read only = no 
        create mask = 0600 
        directory mask = 0700 
        browseable = No 
        guest ok = Yes 
        profile acls = yes 
        csc policy = disable 
        valid users = %U 
        admin users = @"Domain Admins" 


[homes] 
 comment = Home Directories 
 valid users = %S 
 read only = No 
 browseable = No 



[ebox-internal-backups] 
 path = /var/lib/ebox/conf//backups 
 read only = No 
 valid users = @"Domain Admins" 
 admin users = @"Domain Admins" 
 force group = ebox 
 force user = ebox 
 browseable = Yes 

_______________________________________________
Ebox-user mailing list
[email protected]
https://lists.warp.es/mailman/listinfo/ebox-user
_______________________________________________
Ebox-user mailing list
[email protected]
https://lists.warp.es/mailman/listinfo/ebox-user
_______________________________________________
Ebox-user mailing list
[email protected]
https://lists.warp.es/mailman/listinfo/ebox-user

Responder a