Sponsored Content
Top Forums UNIX for Advanced & Expert Users ldapsearch to find netgroups which a user belongs to Post 302475343 by jalite19 on Sunday 28th of November 2010 07:19:38 AM
Old 11-28-2010
ldapsearch to find netgroups which a user belongs to

how to use ldapsearch to find all the netgroups a user belongs to? It's Solaris.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

which file belongs to which directory

let I executed the following command: ls -lrt mdase mvfile test | grep '\.xml' the output is : -rw-r--r-- 1 surjya other 0 Sep 23 16:25 sample.xml -rw-r--r-- 1 surjya other 0 Oct 5 16:11 tst2.xml -rw-r--r-- 1 surjya other 0 Oct 5 16:12 test3.xml... (1 Reply)
Discussion started by: surjyap
1 Replies

2. Shell Programming and Scripting

Finding the group to which a user belongs

Is there any command to find to which group u ser belongs (3 Replies)
Discussion started by: radhika03
3 Replies

3. Shell Programming and Scripting

How to check if a user belongs to a group (KSH)?

Hi all, How can I check if a particular user id belongs to a group? (ie. how to check if the current user `whoami` is part of the a certain group? do i use the group name of group id?) Thanks in advance (2 Replies)
Discussion started by: rockysfr
2 Replies

4. AIX

/home belongs to a user?

While doing a "little" clean up job, i noticed something weird... A ls -altr of my / showed this: drwxr-xr-x 1549 johcham grands 102400 Jan 28 13:13 home How can a user become the owner / modify the group of my /home??? any thoughts? Can i chown this back to bin:bin (i think that... (2 Replies)
Discussion started by: Stephan
2 Replies

5. AIX

ldapsearch to find DN for a user

How can I do a ldapsearch to find a DN for a user when I know the exact cn for that user out of active directory. I have tried several different commands (hundreds) but need the -b with the full dn to perform the search using ldapsearch from AIX. I am trying to find the OU for a user and the... (3 Replies)
Discussion started by: cchart3
3 Replies

6. Shell Programming and Scripting

How to find DL Owner info using ldapsearch?

Currently i have following syntax: ldapsearch -D "CN=..,OU=..,OU=All Businesses,DC=..,DC=..,DC=.." -w .. -h .. -p .. -b "OU=All Businesses,DC=..,DC=..,DC=.." "managedObjects=$DL_NAME_CN" employeeNumber givenName sn -S employeeNumber -x which gives me following info: "requesting:... (0 Replies)
Discussion started by: arsenghani
0 Replies

7. Linux

Quota issue on user belongs to multiple Group

I have setup a group quota for better disk usage. What i am doing is to setup a quota with Samba share. I created user1,user2 and group project1 which belongs to /home/project1 dir. Quota is implemented on project1 group to write 100 MB on this share and This is working fine if a user1 and user2... (3 Replies)
Discussion started by: sunnysthakur
3 Replies

8. Red Hat

Find out which eth or device belongs to interface "port 1 PCI 4"

Hi, I´ve given only this info to configure a network interface : "port 1 PCI 4" I´ve been searching for any kind of relationship in the system which allow me to find the etc that must be configured... Please, could anybody help me? rhxx:#/root# lspci |grep -i "PCI BRIDGE" 00:01.0 PCI... (0 Replies)
Discussion started by: pabloli150
0 Replies

9. Shell Programming and Scripting

LDAPSEARCH Return NULL User Attributes

Using ldapsearch to return entries from OID for specific attributes. However, if an attribute is null the field value is not returned. Is there anyway to force ldap to return field names in all cases? LDAP: ldapsearch -T -v -h aaaaa -p 111 -D "cn=orcladmin" -w "xxxx" -L -b... (0 Replies)
Discussion started by: u20sr
0 Replies

10. What is on Your Mind?

Does anyone know what technology this logo belongs to?

It came in a template full of techy-related stickers for laptop (like Docker, K8s, BigData, RHEL, AWS, etc) but I have no clue what it represents. Any idea? https://i.imgur.com/7ILp105.png Thanks. (7 Replies)
Discussion started by: verdepollo
7 Replies
tcpdchk(1)						      General Commands Manual							tcpdchk(1)

NAME
tcpdchk - check tcp wrapper configuration SYNOPSYS
inet_conf] DESCRIPTION
examines the tcp wrapper configuration and reports all potential and real problems it can encounter. The command examines the access con- trol files (by default, these are and and compares the entries in these files against entries in the configuration file. reports the following types of problems: non-existent pathnames, services that appear in access control rules but are not controlled by services that should not be wrapped, non-existent host names or non-internet address forms, occurrences of host aliases instead of official host names, hosts with a name/address conflict, inappropriate use of wildcard patterns, inappropriate use of NIS netgroups or references to non-existent NIS netgroups, references to non-existent options, invalid arguments to options. Wherever possible, provides a helpful suggestion to fix the problem. Options The following options are supported by If no options are specified, then it uses the default location of the files. Report access control rules that permit access without an explicit keyword. Examine the and files in the current directory instead of the default ones. Specify this option when is unable to find your configuration file, or when you suspect that is using the wrong file. inet_conf is the path name of the con- figuration file whose entries you want to examine. Display the contents of each access control rule. Daemon lists, client lists, shell commands and options are shown in a printable format. The display helps you find any discrepancies between what you want and what understands for the access control rules. AUTHOR
Wietse Venema (wietse@wzv.win.tue.nl), Department of Mathematics and Computing Science, Eindhoven University of Technology Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands FILES
The default locations of the access control tables are: (daemon, client) pairs that are granted access. (daemon, client) pairs that are denied access. SEE ALSO
tcpdmatch(1), explains what would do in specific cases. inetd.conf(4), format of the control file. hosts_access(5), format of the access control tables. hosts_options(5), format of the language extensions. tcpdchk(1)
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy