[Samba] Re: Samba + LDAP
Ricardo Manuel Esteves (VI)
vi-r-esteves at ptinovacao.pt
Mon Oct 8 15:47:32 GMT 2007
Ok, lets put this better, maybe i confused some stuff...
I got my ldap server on the centos machine, lots of users configured
there, and works fine on the samba of that machine.
Then i got Fedora 7 machine, with Samba configured to authenticate from
the centos machine LDAP.
When i try to connect to the Fedora 7 samba shares with some user that
exists on the LDAP but not on the Fedora 7 system, it gives me this
error:
Examples:
Fedora 7 machine:
smbclient //127.0.0.1/util -U drocha
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
log.smbd :
[2007/10/08 16:38:23, 0] passdb/pdb_get_set.c:pdb_get_group_sid(211)
pdb_get_group_sid: Failed to find Unix account for drocha
[2007/10/08 16:38:24, 1] auth/auth_util.c:make_server_info_sam(566)
User drocha in passdb, but getpwnam() fails!
[2007/10/08 16:38:24, 0] auth/auth_sam.c:check_sam_security(352)
check_sam_security: make_server_info_sam() failed with
'NT_STATUS_NO_SUCH_USER'
CentOS 4 machine:
smbclient //127.0.0.1/util -U drocha
Password:
Domain=[VERSAOINTEGRAL] OS=[Unix] Server=[Samba 3.0.10-1.4E.12.2]
smb: \>
works fine.
On Mon, 2007-10-08 at 15:45 +0100, Ricardo Manuel Esteves (VI) wrote:
> Hi,
>
> I got samba 3.0.26a on my Fedora 7, and when i try to add users with
> smbpasswd -a username, it only works if the user exists as a linux
> user... i got a Centos 4.4 system with samba 3.0.10 and it works even
> if the user doesn't exists on the system.
>
> Can anyone explain me why this happens? is it from this new version
> (3.0.26a) or may be a problem of
> Fedora 7?
More information about the samba
mailing list