Try use smbpasswd -a pippo

---------------------------------------------------
Emerson Henrique Kfuri Pereira

Divis�o de Atendimento e Consultoria
CECOM - Reitoria - UFMG
Telefone: 34994009
---------------------------------------------------


                                                                       
             Umberto Zanatta                                           
             <[EMAIL PROTECTED]                                         
             ia.treviso.it>                                           Para
             Enviado Por:              [EMAIL PROTECTED]           
             samba-bounces+dav                                          cc
             [EMAIL PROTECTED]                                       
             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

Reply via email to