Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[ic] makecat can´t get my uid!



Hi List,

I use FreeBSD 3.4 and IC 4.6.1.
Makecat can´t get my uid. The cause is the line

$mvuid = $Windows ? 'everybody' : (getpwnam($Conf{interchangeuser}))[2];

it is always empty. With "$mviud="jojo", it works.

# id
uid=1002(jojo) gid=1002(jojo) groups=1002(jojo), 2002(buchonline)

------------snip makecat --------
$mvuid = $Windows ? 'everybody' : (getpwnam($Conf{interchangeuser}))[2];
# print out the value of mvuid
print "\n mvuid is $mvuid\n";
#print out the value of interchangeuser
print "interchange user is " . (getpwnam("jojo"))[2];
my $xmvuid = $Windows ? 'everybody' : (getpwnam($Conf{minivenduser}))[2];
print "\n and xmvuid is $xmvuid\n";
#$mvuid = "mvend";

# Can I get the id on the other way?
	my $xfile = "tmp$$.fil";
	my $xname;

	open(TEMPFILE,">$xfile");
	close TEMPFILE;
	my($uid) = (stat($xfile))[4];
	unlink $xfile;
	$xname = (getpwuid($uid))[0];
print "\n my name is $xname\n\n";
------------snip makecat --------

-------snip output from makecat--------
minivenduser? jojo
minivendgroup? jojo
-------snip output from makecat--------

It is stored and I don´t need to type the name, because I´ve a file
etc/construct.makecat.cfg and this file has lines like

MINIVENDUSER    jojo
CATUSER         jojo
MINIVENDGROUP   jojo

-------snip output from makecat--------
ImageUrl? /construct/images

 mvuid is 
interchange user is 1002
 and xmvuid is 1002

 my name is jojo

 is not a valid user name on this machine.

-------snip output from makecat--------

I´ve tried with

INTERCHANGEUSER    jojo
CATUSER         jojo
INTERCHANGEGROUP   jojo

with no success.

I know, what I can do. But I think I have to report the misbehavior of
the makecat on FreeBSD and to inform the greatfull akopia team about
this.

Regards,

	Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671441
45886 Gelsenkirchen         FAX: 0209 1671441


_______________________________________________
Interchange-users mailing list
Interchange-users@www.minivend.com
http://www.minivend.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: