Hi all, I have my ldap auth working with users and all now, and -f sAMAccountName=%s works perfect, but I need to also check that the user is a member of iNet Users. Now my first guess is that maybe its not working because I don't have quotes around iNet users - but I can't get it to accept them anyway.. Is this the right way to do what I'm trying to?
/usr/local/libexec/ldap_auth -b OU=Users,OU=******,DC=*****,DC=co,DC=za -h 10.9.9.5 -D CN="Proxy User",OU=Users,OU=Phalaborwa,DC=foskor,DC=co,DC=za -w proxy2004 -f "(&(sAMAccoun tName=%s)(memberOf=CN=iNet Users,OU=Groups,OU=*****,DC=****,DC=co,DC=za))" Any help will be appreciated Thanks Dave