[Samba] pdbedit + ldap doesn't work
Umberto Zanatta
uzanatta at provincia.treviso.it
Fri May 21 15:23:30 GMT 2004
I've done it... but it's the same!
provtvlp:~ # smbpasswd -a pippo
New SMB password:
Retype new SMB password:
ldapsam_modify_entry: Failed to add user dn= uid=pippo,ou=People,
o=PROVTV with: Already exists
ldapsam_add_sam_account: failed to modify/add user with uid = pippo (dn
= uid=pippo,ou=People,o=PROVTV)
Failed to add entry for user pippo.
Failed to modify password entry for user pippo
On 21/05/2004 17:30:03, daves-jr at cecom.ufmg.br wrote:
>
>
>
>
> Try use smbpasswd -a pippo
>
> ---------------------------------------------------
> Emerson Henrique Kfuri Pereira
>
> Divisão de Atendimento e Consultoria
> CECOM - Reitoria - UFMG
> Telefone: 34994009
> ---------------------------------------------------
>
>
>
>
> Umberto Zanatta
>
> <uzanatta at provinc
>
> ia.treviso.it>
> Para
> Enviado Por: samba at lists.samba.org
>
> samba-bounces+dav
> cc
> es-jr=ufmg.br at lis
> ts.samba.org
> Assunto
> [Samba] pdbedit + ldap doesn't
> work
>
>
> 21/05/2004 12:09
>
>
>
>
>
>
>
>
>
>
>
>
>
> I have to add new user to samba; I've just upgrade the system to
> 3.0.4
> and smbldap-tools 3.0.4;
>
> # smbldap-useradd pippo
> # smblap-usershow pippo
> n: uid=pippo,ou=People,o=PROVTV
> objectClass: top,inetOrgPerson,posixAccount,shadowAccount
> cn: pippo
> sn: pippo
> uid: pippo
> uidNumber: 4000
> gidNumber: 513
> homeDirectory: /home//pippo
> loginShell: /bin/bash
> gecos: System User
> description: System User
> userPassword: {crypt}x
>
> # pdbedit -a -u pippo
> ldapsam_add_sam_account: Adding new user
> init_ldap_from_sam: Setting entry for user: pippo
> ldapsam_modify_entry: Failed to add user dn= uid=pippo,ou=People,
> o=PROVTV with: Already exists
>
> ldapsam_add_sam_account: failed to modify/add user with uid = pippo
> (dn
> = uid=pippo,ou=People,o=PROVTV)
> Unable to add user! (does it already exist?)
>
> The system's tryng to add a new uid!
>
> # smbldap-userdel pippo
> # pdbedit -a -u pippo
> Searching for:[(&(objectClass=sambaDomain)
> (sambaDomainName=PROVTVNT))]
> smbldap_open_connection: connection opened
> ldap_connect_system: succesful connection to the LDAP server
> Searching for:[(&(objectClass=sambaDomain)
> (sambaDomainName=PROVTVNT))]
> smbldap_open_connection: connection opened
> ldap_connect_system: succesful connection to the LDAP server
> could not create account to add new user pippo
>
> any idea?
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
More information about the samba
mailing list