Sponsored Content
Full Discussion: C programming question
Top Forums Programming C programming question Post 302304142 by Aseda on Sunday 5th of April 2009 08:40:02 AM
Old 04-05-2009
Thanks, Glen.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Question about Shell Programming

First, I'd like to know if being a shell programmer considered a "real" programmer. is it?? also, I do create a lot of shell programs which includes full scripts to create users and maintaining records. ie phone records. now, I hear the programmer has to do some cleaning up after the... (3 Replies)
Discussion started by: IMPORTANT
3 Replies

2. Programming

programming question from a newbie, please help

Hi Everyone, I really hope I could get some insight from a few of you, I've been searching the net for various resources, and this board seems to be the friendliest and most helpful by far. I work for a medical research company and we use sun 4 and we have different studies that have their... (1 Reply)
Discussion started by: milenky
1 Replies

3. UNIX for Dummies Questions & Answers

programming question... sorta

i didnt wanna post this in C/C++ or Shell programming, because its neither... closest would be Shell... but anywayz, what would (in your opinion) be the easiest route in creating shell gui's?.... im not talking about XFree86 objects, but rather... like the shell setup screen, the cheezy blue popup... (2 Replies)
Discussion started by: 01000101
2 Replies

4. Shell Programming and Scripting

question about about Shell programming

1.if 2.then 3. # save the number of args and first argument in variables. 4. num_args=$# 5. id="$1" 6. echo "$id" 7. #echo "$1" > crapfile.txt 8. echo `sed 's/\*/'\*'/g' < crapfile.txt` Above is a partial code.I would like to ask: at line 1:... (1 Reply)
Discussion started by: thungmail
1 Replies

5. UNIX for Dummies Questions & Answers

Programming question

How do I create a program that will allow a user to type in a number, while the program outputs that number in words. For example, if a user types in 21, the computer would respond with twenty-one. Please allow the program to work for 0-30. How do I let the user know if a number typed in is not in... (2 Replies)
Discussion started by: lexydoll87
2 Replies

6. UNIX for Dummies Questions & Answers

General Programming Question

Experience level : New to programming in Linux. Forgive my noobiness in this context with regards to programming, language or grammar. Some Background info : I have seen a lot of programs which I use (Modo and Maya especially) which can use a command line to run the different parts of the... (2 Replies)
Discussion started by: snd321
2 Replies

7. Shell Programming and Scripting

Beginner Shell Programming Question

Hello all, I am currently try to learn the linux operating system as well as some bash programming. I have come across some online course work which has been very helpful, I have been working through some assignments and since I have no teacher to ask I have come to you experts. So the... (6 Replies)
Discussion started by: g2axiom
6 Replies

8. Shell Programming and Scripting

Plz Help Me in This question in Shell Programming

2- Write a bash shell script filestatic. The script should examine the number files in directories given as arguments (parameters) to this script. a. if one argument is given, the script should count and report the number of files in this directory. Only regular files should be counted, not... (1 Reply)
Discussion started by: tahseen_22334
1 Replies

9. Shell Programming and Scripting

More a logic than a programming question

hello, I'm a littlebit lost... i have a table of single names and combination of two names and i want a table of ALL single names with ALL combinations (also the indirect ones). - - - in reality the names are longer, not only a,b,.. and the table is tab-delimited, and the result table... (6 Replies)
Discussion started by: dietmar13
6 Replies
squid_ldap_group(8)					      System Manager's Manual					       squid_ldap_group(8)

NAME
squid_ldap_group - Squid LDAP external acl group helper SYNOPSIS
squid_ldap_group -b "base DN" -f "LDAP search filter" [options] [ldap_server_name[:port]...] DESCRIPTION
This helper allows Squid to connect to a LDAP directory to authorize users via LDAP groups. The program operates by searching with a search filter based on the users login name and requested group, and if a match is found it is determined that the user belongs to the group. -b basedn (REQUIRED) Specifies the base DN under which the groups are located. -B basedn Specifies the base DN under which the users are located (if different) -g Specifies that the first query argument sent to the helper by Squid is a extension to the basedn and will be temporarily added infront of the global basedn for this query. -f filter LDAP search filter used to search the LDAP directory for any matching group memberships. In the filter %u will be replaced by the user login name (or DN if the -F or -u options are used) and %g by the requested group name. -F filter LDAP search filter used to search the LDAP directory for any matching users. In the filter %s will be replaced by the user login name. If % is to be included literally in the filter then use %%. -u attr LDAP attribute used to construct the user DN from the login name and base dn. -s base|one|sub search scope. Defaults to 'sub'. base object only, one level below the base object or subtree below the base object -D binddn -w password The DN and password to bind as while performing searches. Required if the directory does not allow anonymous searches. As the password needs to be printed in plain text in your Squid configuration and will be sent on the command line to the helper it is strongly recommended to use a account with minimal associated privileges. This to limit the damage in case someone could get hold of a copy of your Squid configuration file or extracts the password used from a process listing. -P Use a persistent LDAP connection. Normally the LDAP connection is only open while validating a username to preserve resources at the LDAP server. This option causes the LDAP connection to be kept open, allowing it to be reused for further user validations. Recom- mended for larger installations. -R do not follow referrals -a never|always|search|find when to dereference aliases. Defaults to 'never' never dereference aliases (default), always dereference aliases, only while searching or only to find the base object -h ldapserver Specify the LDAP server to connect to -p ldapport Specify an alternate TCP port where the ldap server is listening if other than the default LDAP port 389. -S Strip NT domain name component from usernames (/ or separated) SQUID CONFIGURATION
This helper is intended to be used as a external_acl_type helper from squid.conf. external_acl_type ldap_group %LOGIN /path/to/squid_ldap_group ... acl group1 ldap_group Group1 acl group2 ldap_gorup Group2 NOTES
When constructing search filters it is strongly recommended to test the filter using ldapsearch before you attempt to use squid_ldap_group. This to verify that the filter matches what you expect. AUTHOR
This manual page was written by Henrik Nordstrom <hno@marasystems.com> squid_ldap_group is written by Flavio Pescuma <flavio@marasystems.com> and Henrik Nordstrom <hno@squid-cache.org>, based on prior work in squid_ldap_auth by Glen Newton <glen.newton@nrc.ca> KNOWN LIMITATIONS
Max 16 occurances of %s in the -u argument is supported. QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>, or to your favorite LDAP list/friend if the question is more related to LDAP than Squid. REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid- cache.org> SEE ALSO
squid_ldap_auth(8), ldapsearch(1), Your favorite LDAP documentation RFC2254 - The String Representation of LDAP Search Filters, Squid LDAP Match 7 September 2002 squid_ldap_group(8)
All times are GMT -4. The time now is 01:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy