Package: smbldap-tools Version: 0.9.4-1 Severity: important Hi there!
/usr/share/doc/smbldap-tools/examples/smbldap.conf.gz contains: --8<---------------cut here---------------start------------->8--- # Domain name the Samba server is in charged. # If not defined, parameter is taking from smb.conf configuration file # Ex: sambaDomain="IDEALX-NT" sambaDomain="DOMSMB" --8<---------------cut here---------------end--------------->8--- Nevertheless, it seems sambaDomain must be defined in smbldap.conf: ===== mantissa:~# smbldap-populate -k 0 Populating LDAP directory for domain PCA ($SID) (using builtin directory structure) adding new entry: dc=pca,dc=it [...] adding new entry: sambaDomainName=sambaDomain,dc=pca,dc=it failed to add entry: attribute 'sambaNextRid' not allowed at \ /usr/sbin/smbldap-populate line 499, <GEN1> line 237. Please provide a password for the domain root: [...] mantissa:~# smbldap-useradd -a -m -c "Admin" Administrator Error looking for next uid in \ sambaDomainName=sambaDomain,dc=pca,dc=it:No such object at \ /usr/share/perl5/smbldap_tools.pm line 1071. mantissa:~# ===== The error is even more clear on squeeze (0.9.5-1): ===== adding new entry: sambaDomainName=sambaDomain,dc=pca,dc=it failed to add entry: attribute 'sambaDomainName' not allowed at \ /usr/sbin/smbldap-populate line 498, <GEN1> line 236. ===== If I set sambaDomain in smbldap.conf, everything is fine. However, I would like to configure my default Samba configuration in one single place, i.e. smb.conf. Thx, bye, Gismo / Luca -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) 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+b1 NIST SHA-1 message digest algorith ii libio-socket-ssl-perl 1.16-1+lenny1 Perl module implementing object or ii libnet-ldap-perl 1:0.36-1 A Client interface to LDAP servers ii libunicode-maputf8-perl 1.11-2 Perl module for conversing between ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction smbldap-tools recommends no packages. smbldap-tools suggests no packages. -- no debconf information
pgpBDuUNVQVhP.pgp
Description: PGP signature