Samba automatic account creation assumes local accounts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
Bug Description
Binary package hint: samba
Samba's mksmbpasswd, called from samba postinst, should not create accounts if the passwd or shadow line of /etc/nsswitch.conf contains "ldap" (or in that case, anything other than "compat" or "files")
It tried creating hundreds of user accounts that were from LDAP.
If nsswitch.conf is using LDAP, there is a VERY HIGH CHANCE that Samba will be using LDAP as well, and therefore smbpasswd is unnecessary.
ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script killed by signal (Interrupt)
NonfreeKernelMo
Package: samba 2:3.2.3-1ubuntu3.4
SourcePackage: samba
Title: package samba 2:3.2.3-1ubuntu3.4 failed to install/upgrade: subprocess post-installation script killed by signal (Interrupt)
Uname: Linux 2.6.27-11-generic x86_64
Changed in samba (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in samba (Ubuntu): | |
assignee: | Aaron J. Zirbes (ajz) → nobody |
status: | Triaged → Fix Released |
I've created a diff file patch for the following files. Please review and test.
debian/ samba.postinst Debian/ debian- unstable/ samba.postinst Debian/ debian- sarge/samba. postinst Debian/ debian- woody/samba. postinst
packaging/
packaging/
packaging/