Try add this user without the "-P" attribute and check if this has created.

After try
#smbldap-usershow toto

if this command return the user config, try:

# smbldap-passwd toto



-- 

Reggards,

----------------------------------
Iarly Selbir ( Ski0s )


On Wed, Oct 29, 2008 at 4:03 PM, Michael JOLY <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I've just installed samba with ldap on a debian etch.
> I have a problem when i attempt to create a user with the command
> smbldap-useradd -a -P  -c "toto DUPONT" -u 1001 toto and to log in with it
> after.
> I obtain this error :
>
> [2008/10/29 17:35:26, 0] passdb/pdb_get_set.c:pdb_get_group_sid(164)
>  pdb_get_group_sid: Failed to find Unix account for toto
> [2008/10/29 17:35:26, 1] auth/auth_util.c:make_server_info_sam(572)
>  User toto in passdb, but getpwnam() fails!
> [2008/10/29 17:35:26, 0] auth/auth_sam.c:check_sam_security(352)
>  check_sam_security: make_server_info_sam() failed with
> 'NT_STATUS_NO_SUCH_USER'
>
> The user is created in the ldap but not in /etc/passwd.
>
> Could someone help me ?
>
> Thanks
>
> Mick
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to