7 Frequently Asked Questions
7.1 I always have this error: "Can't locate IO/Socket/SSL.pm"
This happens when you want to use a certificate. In this case, you need to install the
IO-Socket-SSL Perl module.
7.2 I can't initialize the directory with smbldap-populate
When I want to initialize the directory using the smbldap-populate
script, I get
[root@slave sbin]# smbldap-populate.pl
Using builtin directory structure
adding new entry: dc=IDEALX,dc=COM
Can't call method "code" without a package or object reference at
/usr/local/sbin/smbldap-populate.pl line 270, <GEN1> line 2.
Answer: check the TLS configuration
-
if you don't want to use TLS support, set the /etc/smbldap-tools/smbldap.conf file
with
ldapSSL="0"
- if you want TLS support, set the /etc/smbldap-tools/smbldap.conf file with
ldapSSL="1"
and check that the directory server is configured to accept TLS connections.
7.3 I can't create a user with smbldap-useradd
When creating a new user account I get the following error message:
/usr/local/sbin/smbldap-useradd.pl: unknown group SID not set for unix group 513
Answer:
7.4 smbldap-useradd: Can't call method "get_value" on an undefined value at
/usr/local/sbin/smbldap-useradd line 154
-
does the default group defined in smbldap.conf exist
(defaultUserGid="513") ?
- does the NT "Domain Users" group mapped to a unix
group of rid 513 (see option -r of smbldap-groupadd and
smbldap-groupmod to set a rid) ?
7.5 I have the sambaSamAccount but i can't logged in
Check that the sambaPwdLastSet attribute is not null (equal to 0)
7.6 I want to create machine account on the fly, but it does
not works or I must do it twice
-
The script defined with the add machine script must not add
the sambaSAMAccount objectclass of the machine account. The
script must the only add the Posix machine account
- Check that the add machine script is present in samba
configuration file.