Hello again,
See previous post here: Custom Serv-U Integration Library Questions(big thanks to dougpapenthien)
I believe I have implemented the necessary functions for my custom integration library.
{
SUUAFindUser,
SUUAGetAttribute,
SUUAEnumDirAccess,
SUUAVeriftyPassword,
}
(I have a few others returning true or false based on their usage for testing purposes).
However, I am running into a new issue. When I attempt to log in with a test user I get the following error:
"ERROR: Login was not successful."
The Domain log shows the following:
"Error logging in user "user", home dir "/path/to/dir" does not exist.
Interestingly, the first time I tried to log in, Serv-U created the directory on my behalf and reflected this in the domain log.
I am suspicious of ownership/permission issues, but I gave the directory full access for testing purposes...This did not help. During an earlier phase of development I left the SUUAGetAttribute() function as is which defaulted users to the file system root directory. I was able to log in then. Additionally, I tested the record in my database as a Database user using the Serv-U GUI and was able to log in and see the appropriate directories just fine. (I had to disable database users since the Library users are lowest on the hierarchy). I found an article online that addressed this issue in a Windows environment that had to do with running Serv-U as a service, but it only exists when I implement my custom library, so I am assuming it is something in my implementation I am overlooking.
Any advice/guidance would be greatly appreciated.
Thank you!