Hi Dhhruv,

No i don't wanna do it in this way actually ,i want a permanent 
solution to this , which means when someone joins a domain, these 2 
scripts shouldn't be needed to run.

Regards,
Sukhvinder


--- In [email protected], Dhruv Soi <[EMAIL PROTECTED]> 
wrote:
>
> If its just a matter of executing smbldap script for
> 850 times then use the following:
> 
> #start of script
> 
> read database of 850 computers here;
> for($i=1;$i<=850;$i++)
> {
> Your smbldap scripts here;
> }
> 
> print "Scripts executed successfully";
> 
> #Script ends here
> 
> Cheers!
> Dhruv
> 
> --- sukhvinder kumar <[EMAIL PROTECTED]>
> wrote:
> 
> > Thanks for ur reply Dhruv : 
> > 
> > Doubt 1 : I'm using smb-ldap scripts to manage my
> > domain controller now when i've to join a new
> > machine
> > to domain , i've have to add it using the smbldap
> > scripts.
> >        Now My requirement is that i've to rename 850
> > computers on my network , which means 850 computers
> > has to be rejoined to my domain.So can it be
> > possible
> > to join a machine to domain without using smbldap
> > scripts.
> > 
> > I don't want to use those smbldap scripts to add a
> > machine to my domain as it won't be possible for me
> > to
> > do it for 850 machines.
> > 
> > Scripts are below : 
> > ./smbldap-usermod -a computername$
> > ./smbldap-usermod -H[WUX] computername$
> > 
> > where a : add sambaSAMAccount objectclass
> >       H : sambaAcctFlags (samba account control bits
> > like '[NDHTUMWSLKI]')
> > 
> > 
> > Regards,
> > Sukhvinder 
> > 9810779609
> > 
> > 
> > 
> > --- Dhruv Soi <[EMAIL PROTECTED]> wrote:
> > 
> > > Your question seems to be little obscure and I
> > could
> > > hardly understand your present problem and future
> > > needs. 
> > > 
> > > doubt 1. When you join a computer to domain then
> > its
> > > name is automatically added to LDAP in domain
> > > controller. Not clear, what are your worries in
> > > here.
> > > 
> > > doubt 2. You started your query with samba-ldap
> > PDC
> > > and you ended up with Windows AD to shake our
> > heads.
> > > Don't know, if you are talking in context of
> > > migrating
> > > from existing M$ AD to Samba PDC or something
> > > different.
> > > 
> > > If you can elaborate this little more then
> > hopefully
> > > I
> > > could be of some help to you. 
> > > 
> > > Cheers!
> > > Dhruv
> > > 
> > > --- sukhvinder kumar <[EMAIL PROTECTED]>
> > > wrote:
> > > 
> > > > Hi,
> > > > 
> > > > I'm using samba-ldap pdc in my office.I'm using
> > > > IDX-smbldap-tools scripts to manage my users and
> > > > computers. In this enviorment when we join a
> > > machine
> > > > to our domain , we also need to add that system
> > to
> > > > our
> > > > domain controller using the IDX-smbldap-tools
> > > > scripts.
> > > > 
> > > > And in the present senario i've to change 850+
> > > users
> > > > computer names , so is there any way my which
> > i'm
> > > > able
> > > > join a machine to my domain without doing any
> > > thing
> > > > on
> > > > ther server as it's done in Windows AD.
> > > > 
> > > > 
> > > > Regards,
> > > > Sukhvinder
> > > > 
> > > > 
> > > > 
> > > >       Send a FREE SMS to your friend's mobile
> > from
> > > > Yahoo! Messenger. Get it now at
> > > > http://in.messenger.yahoo.com/
> > > > 
> > > 
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around 
> > > http://mail.yahoo.com 
> > > 
> > 
> > 
> > 
> >       Send a FREE SMS to your friend's mobile from
> > Yahoo! Messenger. Get it now at
> > http://in.messenger.yahoo.com/
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
>


Reply via email to