As a linux newbie I am struggling and some pointers would be appreciated

I have added the necessary RPMs to allow development on my e-smith server.
I have sucessfully installed the e-smith SquidGuard rpm
I have downloaded and compiled squid-2.2.STABLE5 and NCSA in order to get the NCSA authentication option for squid working. Apart from requiring its own passwd file (won't work with /etc/passwd) it is working fine. There are two modifications I want to make to complete the internet access controls for users.
1. Have squid use the proxy authenticated user the same way as RFC931/Ident user.
2. Control access to web sites based on the a user group as defined in LDAP?.
The online FAQ and discussion lead me to the conclusion that I wil need to patch the squid source and recompile squid 2.2.x for both these changes.
The e-smith implementation does not appear to have placed the squid files in the default locations. Recompiling the source seems straight forward but I don't know what modifications to the paths that would be required or where to make them. The alternative would be to move the program files from the default locations to where the e-smith server implementation requires them after compilation.
Any pointers would be appreciated.
Thanks
Mike Drummmond