+
    4Ssi€  ã                   ód   € ^ RI Ht ^ RIHtHt ^ RIHt ^ RIH	t	H
t
Ht ^ RIHt  ! R R]	4      tR# )é    N)ÚdsdbÚldb)Úsystem_session)ÚCommandÚCommandErrorÚOption)ÚSamDBc            	       ó¤   a € ] tR t^t o RtRt]! RRR]RRR7      .tR	R
.t	R]
P                  R]
P                  R]
P                  /tRR ltRtV tR# )Úcmd_user_movea—  Move a user to an organizational unit/container.

This command moves a user account into the specified organizational unit
or container.
The username specified on the command is the sAMAccountName.
The name of the organizational unit or container can be specified as a
full DN or without the domainDN component.

The command may be run from the root userid or another authorized userid.

The -H or --URL= option can be used to execute the command against a remote
server.

Example1:
samba-tool user move User1 'OU=OrgUnit,DC=samdom,DC=example,DC=com' \
    -H ldap://samba.samdom.example.com -U administrator

Example1 shows how to move a user User1 into the 'OrgUnit' organizational
unit on a remote LDAP server.

The -H parameter is used to specify the remote target server.

Example2:
samba-tool user move User1 CN=Users

Example2 shows how to move a user User1 back into the CN=Users container
on the local server.
z*%prog <username> <new_parent_dn> [options]z-Hz--URLz%LDB URL for database or target serverÚURLÚH)ÚhelpÚtypeÚmetavarÚdestÚusernameÚnew_parent_dnÚ	sambaoptsÚcredoptsÚversionoptsNc                ó–  € VP                  4       pVP                  VR R7      p\        V\        4       W‡R7      p	\        P
                  ! W™P                  4       4      p
R\        P                  \        P                  ! V4      3,          p V	P                  V
V\        P                  R7      pV^ ,          P                  p T	P                  T4      p\        P
                  ! T	\#        T4      4      pTP%                  \'        T4      ^,
          4       TP)                  T4        T	P+                  TT4       T P,                  P/                  R
T: RT: R24       R#   \         d    \        RT,          4      hi ; i  \          d   p\        RT: RT: 24      hRp?ii ; i  \          d   p\        R	T,          T4      hRp?ii ; i)T)Úfallback_machine)ÚurlÚsession_infoÚcredentialsÚlpz)(&(sAMAccountType=%d)(sAMAccountName=%s)))ÚbaseÚ
expressionÚscopezUnable to find user "%s"zInvalid new_parent_dn "z": NzFailed to move user "%s"zMoved user "z" into "z"
)Úget_loadparmÚget_credentialsr	   r   r   ÚDnÚ	domain_dnr   ÚATYPE_NORMAL_ACCOUNTÚbinary_encodeÚsearchÚSCOPE_SUBTREEÚdnÚ
IndexErrorr   Únormalize_dn_in_domainÚ	ExceptionÚstrÚremove_base_componentsÚlenÚadd_baseÚrenameÚoutfÚwrite)Úselfr   r   r   r   r   r   r   ÚcredsÚsamdbr#   ÚfilterÚresÚuser_dnÚfull_new_parent_dnÚeÚfull_new_user_dns   &&&&&&&          Ú8/usr/lib/python3/dist-packages/samba/netcmd/user/move.pyÚrunÚcmd_user_move.runI   sŸ  € à×#Ñ#Ó%ˆØ×(Ñ(¨¸dÐ(ÓCˆÜ˜!¬.Ó*:Ø"'ô0ˆä—F’F˜5§/¡/Ó"3Ó4ˆ	à=Ü×,Ñ,¬c×.?Ò.?ÀÓ.IÐJõKˆð	HØ—,‘, IØ*0Ü%(×%6Ñ%6ð ó 8ˆCð ˜!•f—i‘iˆGð	3Ø!&×!=Ñ!=¸mÓ!LÐô
 Ÿ6š6 %¬¨W«Ó6ÐØ×/Ñ/´°G³¸qÕ0@ÔAØ×!Ñ!Ð"4Ô5ð	IØ�L‰L˜Ð"2Ô3ð 	�	‰	�ŠÛ!Ó#5ð7ö 	8øô# ô 	HÜÐ9¸XÕFÓGÐGð	Hûô
 ô 	3ÝÛ -ªqð 2ó 3ð 3ûð	3ûô ô 	IÜÐ9¸HÕDÀaÓHÐHûð	Iús<   Â5E ÃE? Ä&F% ÅE<Å?F"Æ
FÆF"Æ%GÆ0GÇG© )NNNN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úsynopsisr   r,   Útakes_optionsÚ
takes_argsÚoptionsÚSambaOptionsÚCredentialsOptionsÚVersionOptionsÚtakes_optiongroupsr=   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r<   r   r      so   ø‡ € ñð: <€Hñ 	ˆt�WÐ#JØ ¨Sô	2ð€Mð
 ˜oÐ.€Jà�W×)Ñ)Ø�G×.Ñ.Ø�w×-Ñ-ðÐ÷!8ò !8ó    r   )Úsamba.getoptÚgetoptrH   Úsambar   r   Ú
samba.authr   Úsamba.netcmdr   r   r   Úsamba.samdbr	   r   r?   rP   r<   Ú<module>rW      s'   ðõ, ß Ý %ß 6Ñ 6Ý ôM8�Gö M8rP   