equal
deleted
inserted
replaced
287 |
287 |
288 ls -l |
288 ls -l |
289 ls -lR uid=mahlon |
289 ls -lR uid=mahlon |
290 list uid=m* |
290 list uid=m* |
291 |
291 |
292 In 'verbose' mode, descriptions are listed as well, if they exist. |
292 In 'long' mode, descriptions are listed as well, if they exist. |
293 There are also some 'sane' long listings for common objectClass types. |
293 There are some default 'long listing' mappings for common objectClass |
294 You can actually specify your own in your .shelldap.rc, like so: |
294 types. You can additionally specify your own mappings in your |
|
295 .shelldap.rc, like so: |
295 |
296 |
296 ... |
297 ... |
297 descmaps: |
298 descmaps: |
298 objectClass: attributename |
299 objectClass: attributename |
299 posixAccount: gecos |
300 posixAccount: gecos |
300 posixGroup: gidNumber |
301 posixGroup: gidNumber |
301 ipHost: ipHostNumber |
302 ipHost: ipHostNumber |
302 puppetClient: puppetclass |
|
303 |
303 |
304 =item B<mkdir> |
304 =item B<mkdir> |
305 |
305 |
306 Creates a new entry. The type of object created depends on |
306 Creates a new entry. The type of object created depends on |
307 the naming attribute given, and defaults to 'organizationalUnit' |
307 the naming attribute given, and defaults to 'organizationalUnit' |
526 print "Would you like to cache your connection information? [Y/n]: "; |
526 print "Would you like to cache your connection information? [Y/n]: "; |
527 chomp( my $response = <STDIN> ); |
527 chomp( my $response = <STDIN> ); |
528 unless ( $response =~ /^n/i ) { |
528 unless ( $response =~ /^n/i ) { |
529 YAML::Syck::DumpFile( $conf->{'confpath'}, $conf ); |
529 YAML::Syck::DumpFile( $conf->{'confpath'}, $conf ); |
530 chmod 0600, $conf->{'confpath'}; |
530 chmod 0600, $conf->{'confpath'}; |
531 print "Connection info cached.\n"; |
531 print "Connection info cached to $conf->{'confpath'}.\n"; |
532 } |
532 } |
533 } |
533 } |
534 |
534 |
535 $self->{'ldap'} = $ldap; |
535 $self->{'ldap'} = $ldap; |
536 return $ldap; |
536 return $ldap; |