[Samba] winbind net join password

sergio.conrad sergio.conrad at laposte.net
Mon May 16 00:26:19 MDT 2011





> Message du 16/05/11 08:19
> De : "sergio.conrad" 
> A : sergio.conrad at laposte.net
> Copie à : 
> Objet : 
>
> Hello everybody...
> 
> I am using winbind for joining Linux machine to Windows Active Directory (version Fedora 14)
> I use authconfig for generating configuration's files
> 
> Everything is working perfectly
> 
> For joining the Windows domain , I use
> /usr/bin/net join -w domain -S -Uadministrateur
> Enter administrateur's password
> 
> AND now the question...
> I am planning to use Symantec Ghost to clone the system to 60 others machines
> I do have a bash script for configuring host's name and configuration network
> 
> I am planning to write a second script for joining domain...
> But 
> /usr/bin/net join -w domain -S -Uadministrateur%password simply don' t work
> 
> [2011/05/16 08:05:54.292827, 0] passdb/secrets.c:73(secrets_init)
Failed to open /var/lib/samba/private/secrets.tdb
Failed to join domain: Unable to open secrets database
ADS join did not work, falling back to RPC...
[2011/05/16 08:05:54.349910, 0] passdb/secrets.c:73(secrets_init)
Failed to open /var/lib/samba/private/secrets.tdb
[2011/05/16 08:05:54.349985, 0] utils/net_rpc.c:368(rpc_oldjoin_internals)
error storing domain sid for domain
Could not connect to server server.domain
The username or password was not correct.
Connection failed: NT_STATUS_LOGON_FAILURE

How could i write this script ?

Thanks to everybody ...
> 
> 
> 
> Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
> Je crée ma boîte mail www.laposte.net
> 

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net



More information about the samba mailing list