[Samba] Users can't login on Samba+Ldap
John Du
jjohndu at gmail.com
Tue May 19 17:32:06 GMT 2009
dogbert at infinito.it wrote:
> Miguel Medalha wrote:
>
>> Based on your smb.conf, you must have the following entries in
>> /etc/ldap.conf
>>
>> nss_base_passwd ou=Users,dc=DOMAIN,dc=IT?one
>> nss_base_passwd ou=Computers,dc=DOMAIN,dc=IT?one
>> nss_base_shadow ou=Users,dc=DOMAIN,dc=IT?one
>> nss_base_group ou=Groups,dc=DOMAIN,dc=IT?one
>>
>>
>>
>
>
nss_base_passwd ou=Computers,dc=DOMAIN,dc=IT?one
should be
nss_base_hosts ou=Computers,dc=DOMAIN,dc=IT?one
> Hi,
>
> I've tried this configuration and I still have some problems.
> Trying to connect with a user created only in LDAP (smbldap-useradd) I get
> the following error in samba log:
>
> [2009/05/19 10:59:30, 0] passdb/pdb_get_set.c:pdb_get_group_sid(210)
> pdb_get_group_sid: Failed to find Unix account for utentest
> [2009/05/19 10:59:30, 0] auth/auth_sam.c:check_sam_security(355)
> check_sam_security: make_server_info_sam() failed with
> 'NT_STATUS_NO_SUCH_USER'
> [2009/05/19 10:59:30, 0] passdb/pdb_get_set.c:pdb_get_group_sid(210)
> pdb_get_group_sid: Failed to find Unix account for utentest
>
> If I try to connect with a user that exist in both the LDAP and etc/passwd
> files I cannot get it to authenticate (error user is invalid or bad
> password) but I don't get any log in the samba files
>
> I can't understand what's wrong with this installation.
>
>
>
>
>
>
>
More information about the samba
mailing list