[Samba] Re: machine accounts aren't added properlywithsmbldap-useradd.pl + ldap backend

Carl Weiss trash at carlweiss.com
Thu Oct 16 00:11:22 GMT 2003


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" <trash at carlweiss.com> wrote in message
news:bmkien$277$1 at sea.gmane.org...
> 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" <jbbell at octigabay.com> wrote in message
> news:1066242344.29155.27.camel at dogen...
> > -- 
> > 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