TIve que modificar apenas:

Outra coisa e se estas linhas estao no seu smb.conf
unix password sync  = yes
passwd program = /usr/local/sbin/smbldap-passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*all*authentication*tokens*updated*
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
delete user script = /usr/local/sbin/smbldap-userdel "%u"
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/local/sbin/smbldap-groupdel "%g"
add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u"
"%g"
set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
ldap passwd sync = yes


On Tue, May 13, 2008 at 9:28 AM, ThOLOko <[EMAIL PROTECTED]> wrote:

> Mais um erro:
>
> jaspion# smbldap-populate
> Populating LDAP directory for domain THOLOKO
> (S-1-5-21-1910108243-2733814246-771523084)
> (using builtin directory structure)
>
> entry dc=tholoko,dc=ass already exist.
> entry ou=People,dc=tholoko,dc=ass already exist.
> entry ou=Group,dc=tholoko,dc=ass already exist.
> entry ou=Computers,dc=tholoko,dc=ass already exist.
> entry ou=Idmap,dc=tholoko,dc=ass already exist.
> entry uid=root,ou=People,dc=tholoko,dc=ass already exist.
> entry uid=nobody,ou=People,dc=tholoko,dc=ass already exist.
> entry cn=Domain Admins,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Domain Users,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Domain Guests,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Domain Computers,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Administrators,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Account Operators,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Print Operators,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Backup Operators,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=Replicators,ou=Group,dc=tholoko,dc=ass already exist.
> entry cn=NextFreeUnixId,dc=tholoko,dc=ass already exist. Updating it...
>
> Please provide a password for the domain root:
> Changing UNIX password for root
> New password:
> Retype new password:
> Failed to modify UNIX password: attribute 'shadowLastChange' not allowed
> at /usr/local/sbin/smbldap-passwd line 285, <STDIN> line 2.
>
>
>
>
> On Tue, May 13, 2008 at 9:23 AM, Giancarlo Rubio <[EMAIL PROTECTED]>
> wrote:
>
> > >
> > >  [2008/05/13 08:32:56, 0]
> > groupdb/mapping.c:pdb_create_builtin_alias(739)
> > >   pdb_create_builtin_alias: Could not add group mapping entry for
> > alias 545
> > >  (NT_STATUS_GROUP_EXISTS)
> > >  [2008/05/13 08:32:56, 0] auth/auth_util.c:create_builtin_users(758)
> > >   create_builtin_users: Failed to create Users
> > >  [2008/05/13 08:32:57, 0] rpc_server/srv_netlog_nt.c:get_md4pw(242)
> > >   get_md4pw: Workstation JIBAN$: no account in domain
> >
> > Vc tem crtza que essa maquina logou no dominio???
> > Faca esta query para verificar se esta maquina foi cadastrada.
> > #ldapsearch -x -b ou=dominio,dc=com,dc=br
> >
> > Outra coisa e se estas linhas estao no seu smb.conf
> > unix password sync  = yes
> > passwd program = /usr/local/sbin/smbldap-passwd %u
> > passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> > *all*authentication*tokens*updated*
> > add user script = /usr/local/sbin/smbldap-useradd -m "%u"
> > delete user script = /usr/local/sbin/smbldap-userdel "%u"
> > add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
> > add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
> > delete group script = /usr/local/sbin/smbldap-groupdel "%g"
> > add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
> > delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u"
> > "%g"
> > set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
> > ldap passwd sync = yes
> >
> > --
> > Giancarlo Rubio
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
>
>
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Responder a