Package: smbldap-tools
Version: 0.9.4-1
Severity: important

Several sources of documentation suggest using the scripts in the form:
> add machine script = /usr/sbin/smbldap-useradd -w "%u"

...this does not work with my current versions, I instead get unknown user 
errors
from Windows when adding machines and so forth. The samba log contains:
> passdb/pdb_interface.c:pdb_default_create_user(336) _samr_create_user: Running
> the command `/usr/sbin/smbldap-useradd -w "<machine name removed>$"' gave 9

...and no machine account is forthcoming.

Removing the quotes makes everything work correctly, as long as the argument has
no spaces, obviously.

I'm not sure at which point in the chain the fault lies, but I feel documenting
this workaround here is a good a place to start as any.

-- System Information: Debian Release: 5.0
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbldap-tools depends on:
ii  libcrypt-smbhash-perl         0.12-2     generate LM/NT hash of a password 
ii  libdigest-sha1-perl           2.11-2     NIST SHA-1 message digest algorith
ii  libio-socket-ssl-perl         1.02-1.1   Perl module implementing object or
ii  libnet-ldap-perl              1:0.34-1.1 A Client interface to LDAP servers
ii  libunicode-maputf8-perl       1.11-2     Perl module for conversing between
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 

smbldap-tools recommends no packages.

smbldap-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to