-----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----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba