sun ldap script


 
Thread Tools Search this Thread
Operating Systems Solaris sun ldap script
# 1  
Old 01-13-2009
sun ldap script

We use sun ldap. I have a branch with 2500 users and 20 groups (group1, group2, group3 .. etc). I need to run a script that i can run from my solaris box that will delete all users EXCEPT the users that are members of group1. Is this possible?

Thank you in advance!

Last edited by kthatch; 01-16-2009 at 04:13 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies

2. Shell Programming and Scripting

Script to extract data from Active Directory and import in Zimbra Ldap

Hello Experts, I have this specific requirment where i need to download/extract from AD (Firstname, LastName, etc) and upload the same to Ldap used by Zimbra mail server running on Suse Linux. I know how to manually do that, but that is the not the solution. I am not yet sure on how to start... (3 Replies)
Discussion started by: Siddheshk
3 Replies

3. How to Post in the The UNIX and Linux Forums

Help me, write a bash script to delete parent entry with all their child entry in LDAP UNIX server

Hi All, Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries. example: Parent is : ---------- dn: email=yogesh.kumar@wipro.com, o=wipro, o=in child is: ---------- dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies

4. UNIX for Advanced & Expert Users

something like LDAP Administrator 2011.1 "LDAP-SQL" but for the CLI

Hi I am searching a tool like "LDAP Administrator 2011.1"/ "LDAP-SQL" but for the CLI. Wish to use LDAP-SQL in scripts (non Windows GUI environment) http://ldapadministrator.com/resources/english/2011.1/images/sqlquery_large.png Softerra LDAP Administrator 2011.1 - What's New OS is... (2 Replies)
Discussion started by: slashdotweenie
2 Replies

5. Shell Programming and Scripting

Hp-UX, SUSE, and AIX LDAP User Script Help

Hi, I have been asked to create a ksh script that will search against an LDAP directory from various HP-UX, SUSE, and AIX 5.3 and 6.1 machines. The objective is to verify the boxes are successfully authenticating users from the LDAP store. This is something I've never done, and I could use... (0 Replies)
Discussion started by: tekster2
0 Replies

6. Red Hat

LDAP Script

Hello there everyone. I have a question. How can you make querys to LDAP server to get the users that hav access on a names server.I'll explain: I have a lot of servers, and I use LDAP for user authentication. What I want is to make a script that will give me on the server that I want the... (3 Replies)
Discussion started by: theboogymaster
3 Replies

7. Shell Programming and Scripting

LDAP user script

I am converting all users on all AIX systems to LDAP users. As such, I must delete the local user, and recreate the user via LDAP. When I delete the local user, all files and directories owned by the local user will revert to the UID. I need a script to find all files and directories belonging... (1 Reply)
Discussion started by: andybren
1 Replies

8. Solaris

LDAP user password reset script

Hey all, I'm looking for a script to auto-generate a password for users that forget their password. Currently, we are using a perl script (with cgi-bin) where users update their password, but would like to add to this and make it so that the users can also request a password reset and a... (1 Reply)
Discussion started by: em23
1 Replies

9. Solaris

Shell Script problem in sun 5. 9

root@ne-ocadev-1:/root/scripts>./ARC-PURGE.sh User check OK Wrong number of Parameters or no Parameter have been given. USAGE: arc_purge.sh ESPOS/FPRINT espos/fprint Please explain me what was the problem in my script? Babu (4 Replies)
Discussion started by: babu.knb
4 Replies

10. Solaris

will this script in crontab effect SUN 9??

Hi all, I work in Sun Solaris 9. I am plan to put the following script(remove90dysOldrfiles.sh) in CRONTAB for removing huge huge number of files those are older than 90 days from different directory. In the Crontab i will set the time for everymidnight it will search 90days older file and... (2 Replies)
Discussion started by: thepurple
2 Replies
Login or Register to Ask a Question
img-sun(3tk)															      img-sun(3tk)

NAME
img-sun - Img, Sun Raster Format (sun) SYNOPSIS
package require Tk package require img::sun ?1.3? image create photo ?name? ?options? DESCRIPTION
The package img::sun is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its own, via package require img::sun. Like all packages of Img it does not provide new commands, but extends the existing Tk command image so that it supports files containing raster images in the Sun Raster Format (sun). More specifically img::sun extends Tk's photo image type. The name of the new format handler is sun. This handler provides new additional configuration options. See section SUN OPTIONS for more detailed explanations. All of the above means that in a call like image create photo ?name? ?options? [1] Image data in sun format (options -data and -file) is detected automatically. [2] The format name sun is recognized by the option -format. In addition the value for the option is treated as list and may contain any of the special options listed in section SUN OPTIONS. SUPPORTED SUN TYPES
1-bit pixels: Black and White. 8-bit pixels: Grayscale or indexed. 24-bit pixels: True-color (RGB, each channel 8 bit). 32-bit pixels: True-color with alpha channel (RGBA, each channel 8 bit). List of currently supported features: Type | Read | Write | | -file | -data | -file | -data | ---------------------------------------- 1-bit | Yes | Yes | No | No | 8-bit | Yes | Yes | No | No | 24-bit | Yes | Yes | Yes | Yes | 32-bit | Yes | Yes | Yes | Yes | All images types may be either uncompressed or run-length encoded. SUN OPTIONS
The handler provides the following options: -verbose bool This option is supported for reading and writing. If set to true, additional information about the loaded/stored image is printed to stdout. Default is false. -compression type This option is supported for writing only. Set the compression mode to either none or rle. Default is rle. -matte bool This option is supported for reading and writing. If set to false, a matte (alpha) channel is ignored during reading or writing. Default is true. SEE ALSO
img-bmp, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img- window, img-xbm, img-xpm KEYWORDS
image handling, sun, tk COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com> Img 1.3 img-sun(3tk)