Search squid archive

Re: squid active directory integration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

		You can try the below steps:

		1. Assume there is a user "bob" and he is member of "Admin Users" group.
Execute the following command in terminal:

		# echo "bob Admin%20Users" | /usr/lib64/squid/wbinfo_group.pl

		And if you get "OK" as result that means you can go ahead.

		2. Take a copy of  "/usr/lib64/squid/wbinfo_group.pl" file and open the
original file in a editor (vi or nano). Search for "Main loop" section and
edit the for loop as follows:

		 foreach $group (@groups) {
                $group =~ s/%([0-9a-fA-F][0-9a-fA-F])/pack("c",hex($1))/eg;
                
		# Add this line
                $group =~ s/%20/ /;

                $ans = &check($user, $group);
                last if $ans eq "OK";
        	}


		You have to add one line, which is shown above under the commented
section.


		3. In you squid configuration replace the space in group name with "%20"
to make it look as Admin%20Users.

		4. Restart the squid.


		Try these steps and let us know the result.

Best Regards
Sandeep



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-active-directory-integration-tp4661575p4661973.html
Sent from the Squid - Users mailing list archive at Nabble.com.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux