may want to check if this is uncommented in your smbldap-useradd.pl file

if (!$with_smbpasswd) {

# (jtournier)

# Objectclass sambaSAMAccount is now added directly by samba when joigning
the domain (for samba3)

if (!add_samba_machine_mkntpwd($userName, $userUidNumber)) {

die "$0: error while adding samba account\n";

}

} else {

if (!add_samba_machine($userName)) {

die "$0: error while adding samba account\n";

}

"Carl Weiss" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> you were so close.  It's a combination of the two.
>  /usr/local/bin/smbldap-useradd.pl -a -w computerName
>
> from smb.conf
> add machine script = /usr/local/bin/smbldap-useradd.pl -a -w "%m"
>
> -=Carl=-
>
> "J B Bell" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > -- 
> > 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
>



-- 
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