Some troblshootings in DC/AD

本文详细阐述了在使用Active Directory时可能遇到的四个常见问题及其解决方案:设置AD用户密码时遇到的密码策略错误,AD服务重启后无法启动的问题,创建AD用户或组时的相对标识符分配错误,以及跨域身份验证失败的问题。通过本文提供的步骤和指导,可以帮助用户快速定位并解决这些问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Some troblshootings in DC/AD to save some life time...

1. Cannot set aduser password

"The password does not meet the password  policy requirements. Check the minimum password length, password  complexity and password history requirements"
Resolution: change the strong Password Policy.
    1)set in gpmc.msc-> expand the target domain edit:Default Domain Policy and navigate to:
    Computer Configuration/Windows Settings/Security Settings/Account Policies/Password Policy
    disable 'Password must meet complexity requirements'
    set 'minimum password length - 0'
    2)Then go to the command line and type:
    gpupdate /target:computer /force

2 . Active Directory Service does not start after reboot,
  1) do cmd 'netdiag /test:ldap' shows 'no such domain'/'service not started'...
  2) check log, find DS cannot start after reboot and 'netlog service is paused'
  3) start regedit and go to HKLM->system->CurrentControlSet->services->ntds->parameters and delete the key of 'DSA not writtable'
  4) damned reboot

3. Cannot create aduser/grp,
  "Cannot create the object because directory service was unable to allocate a relative identifier".
  1) test the cmd:'dcdiag /test:ridmanager /v' it may show, 'cannot contact to ridmanager' or 'less than x% rid'
  2) causes:
      1]cannot contact to ridmanager,
      2]or the ridmanager service does not work well.
  3) Resolution:
      1] check the network and service relationship between current machine and the rid master,aka,the ridmanager service provider, find its address by: cmd 'netdom query fsmo'
      2] if your dc is the one desolated from a forest, that is the local machine will not contact to the rid master you may need
      seize the rid master fsmo role to local machine:
      http://technet.microsoft.com/en-us/library/cc784077%28v=ws.10%29.aspx
      besides your may also need to seize pdc,domain naming and schema master role.
      3] check the seizure by 'netdom query fsmo', then if the rid is still 0% left, you should clean the dead replication links and do metadata cleanup for the dead info to other dc:
      http://support.microsoft.com/kb/839879
      4] always needs reboot in f**ked Windows

4. Cannot pass authentication in child domain with parent domain usr/password and vice versa.
  in the log you can find:kerberos error:
  "Decrypt integrity check failed"
  the reason is here,
  http://www.faqs.org/faqs/kerberos-faq/general/section-73.html
  you know what it says, and how to resolve it?
  If yes, please do teach me for this, much grateful of this!
  If not, follow me to rebuild the child domain:
  1) remove the child domain
  in the child domain dc machine, cmd 'dcpromo' and go on, if you fail, do 'dcpromo /forceremoval'
  2) remove the trust and metadata from the parent domain
  in the parent domain dc machine,
  1] remove trust to the child domain from 'Domain services and trusts'
  2] do metadata clean up for the child servers/domains, if fail, do the naming context cleanup  
  http://support.microsoft.com/kb/887424
  the 'domain management' subcmd here has a marvellous new name in smk2k8: 'partition management'!
  3) recreate the child domain and set the dns server of it

  create child domain:

   http://technet.microsoft.com/en-us/library/cc787706%28v=ws.10%29.aspx
  dns Settings:

  http://support.microsoft.com/kb/255248

  if you get "The source server is currently rejecting replication requests.", you shall go to the parent domain and do the cmd:
  repadmin /options servername - disable_inbound_repl
  repadmin /options servername - disable_outbound_repl
  to enable the replication.


### DC/DC转换模块的工作原理 DC/DC转换模块是一种用于将一种直流电压转换为另一种直流电压的电路装置。其核心功能在于调节和稳定输出电压,以适应不同负载需求或实现特定应用目标。以下是关于DC/DC转换模块工作原理的具体描述: #### 1. 基本组成与分类 DC/DC转换器主要分为两大类:线性稳压器(Linear Regulator)和开关稳压器(Switching Regulator)。其中,开关稳压器因其高效率而被广泛应用于现代电力电子领域。 - **线性稳压器**通过调整内部晶体管的导通程度来维持恒定的输出电压[^2]。然而,由于能量损耗较大,通常仅适用于低功率场景。 - **开关稳压器**则利用高频开关技术,在输入端和输出端之间传递能量,从而实现高效的电压转换。常见的拓扑结构包括降压型(Buck Converter)、升压型(Boost Converter)、升降压型(Buck-Boost Converter),以及反相型(Inverting Converter)等[^2]。 #### 2. 工作过程详解 无论采用何种具体拓扑形式,大多数基于开关模式工作的DC/DC转换器都遵循类似的运行机制: - 输入滤波阶段:为了减少电网干扰并平滑电流波动,会在初始环节加入电容器或其他类型的滤波单元; - 开关控制部分:这是整个系统的核心所在,由脉宽调制(PWM)控制器驱动MOSFET或者IGBT之类的半导体器件周期性地开启关闭; - 能量存储元件:当开关处于闭合状态时,储能组件(通常是电感L)会积累磁能;而在断开瞬间,则释放之前储存的能量给负载供电; - 输出整流和平滑处理:经过二极管D进行单向传导之后再经Cout进一步消除纹波成分最终得到较为纯净平稳的目标值. 下面给出一个简单的BUCK变换器模型代码表示: ```python import numpy as np def buck_converter(Vin, D, R, L, dt=0.0001): """ Simulate a basic Buck converter. Parameters: Vin (float): Input voltage [V]. D (float): Duty cycle of the switch (between 0 and 1). R (float): Load resistance [Ohm]. L (float): Inductance value [H]. dt (float): Time step size for simulation. Returns: Vout (float): Average output voltage across load resistor after transient period. """ I_L_prev = 0 # Initialize previous current through inductor to zero amps timesteps = int(1 / dt) * 5e-3 # Run simlation over five milliseconds worth steps sum_voltages = [] for _ in range(timesteps): if (_ % round((timesteps/D))) < ((timesteps*D)): v_sw = Vin # Switch ON during duty cycle portion else: v_sw = 0 # Switch OFF otherwise delta_i_l = (v_sw - I_L_prev*R)/L*dt # Calculate change in inductor current based on KVL equation i_new = I_L_prev + delta_i_l # Update new current level according updated increment amount calculated above # Note that this assumes ideal components without parasitics etc... avg_voltage = i_new*R # Compute instantaneous power delivered into resistive load at each timepoint sampled here.. # This will fluctuate around some mean depending upon operating conditions chosen earlier... sum_voltages.append(avg_voltage) I_L_prev = i_new # Store latest computed result back ready next iteration loop pass below.. return np.mean(sum_voltages[-int(len(sum_voltages)*0.9)::]) # Return average measured terminal potential difference once steady state reached approximately... print(f"Theoretical Output Voltage from Buck Converter with {round(D*100)}% Duty Cycle:") output_volts = buck_converter(12, .75, 8, .001) print(output_volts,"Volts") ``` 此脚本模拟了一个典型的降压(BUCK)转换器行为,并计算了在指定参数下的平均输出电压。 #### 3. 应用优势分析 相比传统的线性解决方案而言,这类基于PWM信号调控占空比比例关系运作方式具备诸多优点比如但不限于以下几个方面: - 高效节能——尤其是在大功率场合下表现尤为突出; - 小巧轻便易于集成设计制造工艺流程简化成本降低等诸多利好因素共同作用促使此类产品成为当前主流趋势之一[^2]; ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值