-----BEGIN PGP SIGNED MESSAGE-----

Hello Ken,

Tuesday, September 04, 2001, 7:58:05 PM, you wrote:

>> Ken, is vget_assign() used anywhere to do something else than
>> getting dir, uid, gid of the domain to work on? If it isn't it
>> would be ok if it simply returns the values for the masterdomain
>> if invented on an aliasdomain, right?
> There is code that uses vget_assign to see if a domain exists,
> and then get the dir, uid, gid of the domain. It would be okay
> to return the masterdomain info.

> How do you know if a domain is aliased?

You mean how to tell whether it is an aliasdomain, a normal one or an
old alias one? call
int get_domain_type(char * domain)

and parse the integer it returns. Maybe I should add a
char *get_real_domain(char * domain, char * realdomain, int
sizeofrealdomain)

function, so vget_assign() and everything else can easily get the
masterdomain name of every domain?




Best regards,
 Gabriel

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBO5UJ08Za2WpymlDxAQG+bAf8Df53R7oOwfzM8X88G7bxU8Aa3csybFHv
UTKLWvtJKexxdLSU8N/Dv1U9iw+FpCHy4PngFTwfcGqj9HwXIWi0wpgzj/QeAOr0
aTTuJ/xhN0k8K7CADJIMbnFDo+NNWh8bRyK9j5q1p0LGhcH/yDt5jT2lvUattUw+
uvDmRvoez904VFxhMHpE5uxjQb2DyjBkkx1jX5JOe8JzWtzFH/UZKzwGTif4WXpm
FbeSbdJ4QPZHMhUTPhog+4CuTa9Ykkoy5RrNO4fh6ypjiEip8nEdHSh8STA/5HpL
UBS9+nJO12X36AlZ4b4PLP1JwVCg1zGmTFqQFAjNhLBrQUCm1N27hQ==
=AC3T
-----END PGP SIGNATURE-----

Reply via email to