I tried to go through the commands in /etc/init/nmbd.conf, and when I
tried the following lines it failed:

========
root@garfield:~# testparm -s --parameter-name='disable netbios'
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Public]"
Loaded services file OK.
ERROR: both 'wins support = true' and 'wins server = <server list>' cannot be 
set in the smb.conf file. nmbd will abort with this setting.
No
========

I did not modify anything in smb.conf, however one of the upgrades must
have done so - I have a file /etc/samba/smb.conf.ucf-dist which seems to
contain the settings as they were before.

I edited /etc/samba/smb.conf and set "wins support = no" and then re-ran
"apt-get install samba" and it worked.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/833542

Title:
  samba 2:3.5.8~dfsg-1ubuntu2.3 failed to upgrade: subprocess installed
  post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/833542/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to