-Hide system accounts from listclusterusers output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
08ca4627af
commit
9b0e28df5d
@ -164,7 +164,7 @@ sub list_user_accounts { #provide enough data to construct an /etc/passwd lookin
|
||||
$domain_components =~ s/^/dc=/;
|
||||
my @searchcmd = qw/ldapsearch -H /;
|
||||
push @searchcmd,"ldaps://$directoryserver","-b",$domain_components;
|
||||
push @searchcmd,qw/(&(objectClass=user)(!(objectClass=computer))) sAMAccountName unixHomeDirectory uidNumber gidNumber cn loginShell/;
|
||||
push @searchcmd,qw/(&(&(objectClass=user)(!(objectClass=computer)))(!(isCriticalSystemObject=TRUE))) sAMAccountName unixHomeDirectory uidNumber gidNumber cn loginShell/;
|
||||
my $searchout;
|
||||
my $searchin;
|
||||
my $searcherr = gensym;
|
||||
|
Loading…
Reference in New Issue
Block a user