Sergio Talens-Oliag a écrit :
El Tue, Nov 15, 2005 at 12:27:36PM +0100, Yann Forget va escriure:
Package: smbldap-tools
Version: 0.8.7-4
Severity: normal
File: /usr/sbin/smbldap-usershow
Hi,
I got two Perl errors while using smbldap-usershow:
# smbldap-usershow user
Use of uninitialized value in numeric eq (==) at
/usr/share/perl5/smbldap_tools.pm line 207.
Argument "" isn't numeric in addition (+) at
/usr/share/perl5/Net/LDAP.pm line 405, <DATA> line 283.
This does not give too much information:
- Does this bug show also on the latest version of the package?
Yes, see the other bug report I made (#339314).
This can probably be marked as duplicate.
- Are you sure that the problem is not on your configuration?
I think my configuration is right.
# cat /etc/smbldap-tools/smbldap.conf
masterLDAP="10.0.0.13"
masterPort="389"
verify="require"
suffix="dc=domain,dc=com"
usersdn="ou=Users,${suffix}"
computersdn="ou=Computers,${suffix}"
groupsdn="ou=Groups,${suffix}"
idmapdn="ou=Idmap,${suffix}"
hash_encrypt="SSHA"
userLoginShell="/bin/bash"
userHome="/home/%U"
userSmbHome="\\FILESERVER\data\home\%U"
userProfile="\\FILESERVER\data\profiles\%U"
userScript="%U"
mailDomain="domain.com"
SID="S-1-5-21-262522846-3168611610-2442770698"
sambaUnixIdPooldn="sambaDomainName=DOMAIN,${suffix}"
# Default mode used for user homeDirectory
userHomeDirectoryMode="770"
==========================================
# cat /etc/smbldap-tools/smbldap_bind.conf
masterDN="cn=admin,dc=domain,dc=com"
masterPw="xxxxxxxxxxxxxx"
The messages are not clear and probably the program must be more robust, but
the first message seems related to the fact that you don't have the ldapTLS
value defined on the configuration file (the latest version of the package
works OK if you don't define it, but the sarge version don't).
Thanks,
Yann
--
Network & System Engineer
Goelaan SA, Switzerland
Tel. +41-22-960 98 20
Fax +41-22-960 98 21
http://www.goelaan.ch
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]