> -----Messaggio originale----- > Da: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED] > Inviato: mercoledì 9 maggio 2007 18.17 > A: Gianluca Culot > Cc: [EMAIL PROTECTED] Samba. Org > Oggetto: Re: R: R: [Samba] LS not showing AD owner username and > groupname > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gianluca Culot wrote: > > > Thanks for the Hint... > > as maybe you have understood...I'm not a pro ! > > > so... again... I see no error at all ! > > mail# ~ > perl -e '@user = getpwnam("DMSWARE\\robertasimula"); print > > "@user\n";' > > robertasimula * 2114 1513 0 Roberta Simula /home/robertasimula > /bin/csh 0 > > mail# ~ > > > > and I've extended you suggestion with a call to getgrnam > > mail# ~ > perl -e '@user = getpwnam("MYDOMAIN\\user1"); print "@user\n"; > > @group = getgrnam("MYDOMAIN\\domain users"); print "@group\n";' > > user1 * 2114 1513 0 User One /home/user1 /bin/csh 0 > > domain users x 1513 risrobot administrator > > mail# ~ > > > What about perl -e '@user = getpwuid(100000); print "@user\n"; > Same pricipal as getgrgid(). > > > > > > cheers, jerry > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGQfQJIR7qMdg1EfYRAoD1AJ91JpSIkTUNal9TBqtDUYKPS8piDQCg0lcl > HL0ESmRPxRMWbEEgPOeBe74= > =2DHg > -----END PGP SIGNATURE----- >
well this mail# ~ > perl -e '@user = getpwuid(100000); print "@user\n";' give <empty line> as result Same getgrgid could be my UID database for samba is corrupted ? I've upgraded from 14b... and something in configuration changed. but I supposed samba would adjust automatically UIDs and that eventually I'd change the ownership of hoem directories for my email users well thanks A LOT for your great helping. I banged my head on this problem for whole day long and learned a lot about samba... I'll resume tomorrow (Central Europe Time) Thanks Gianluca -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
