Lines Matching refs:replace
78 $entry->replace( 'objectClass' => [add_to_tab(\@objectClass,'shadowAccount')] );
104 $entry->replace( 'objectClass' => [del_from_tab(\@objectClass,$Options{'d'})] );
110 $entry->replace( 'objectclass' => [add_to_tab(\@objectClass,'sambaSamAccount')] );
129 $entry->replace( 'sambaSID' => $user_sid );
174 $entry->replace( 'objectClass' => \@objectClass );
176 $entry->replace( 'uid' => $user );
182 $entry->replace( 'cn' => $cn );
188 $entry->replace( 'sn' => $sn );
192 ($pwd) and $entry->replace( 'userPassword' => "{crypt}" . $pwd );
193 ($uid ne "") and $entry->replace( 'uidNumber' => $uid );
194 ($gid ne "") and $entry->replace( 'gidNumber' => $gid );
195 ($gecos) and $entry->replace( 'gecos' => $gecos );
196 ($homedir) and $entry->replace( 'homeDirectory' => $homedir );
197 ($shell) and $entry->replace( 'loginShell' => $shell );
211 $entry->replace( 'objectClass' => [add_to_tab(\@objectClass,'shadowAccount')] );
213 $entry->replace( 'uid' => $user );
214 ($pwd) and $entry->replace( 'userPassword' => "{crypt}" . $pwd );
215 ($lastchg) and $entry->replace( 'shadowLastChange' => $lastchg );
216 ($min) and $entry->replace( 'shadowMin' => $min );
217 ($max) and $entry->replace( 'shadowMax' => $max );
218 ($warn) and $entry->replace( 'shadowWarning' => $warn );
219 ($inactive) and $entry->replace( 'shadowInactive' => $inactive );
220 ($expire) and $entry->replace( 'shadowExpire' => $expire );
221 ($flag) and $entry->replace( 'shadowFlag' => $flag );