[Samba] Samba PDC and User Management with Perl scripts
Gerald Carter
jerry at samba.org
Mon Feb 25 08:39:07 GMT 2002
On Tue, 19 Feb 2002, Umberto Nicoletti wrote:
> Hello,
> I want to implement a perl logon script which would map network shares
> depending on group membership. This way when I move a user to or from a
> group
> it automatically gets the new shares.
>
> The PDC is Samba 2.2.1 or 2.2.2 on BSD and clients are NT workstation
> and 2000 Pro.
> Perl is latest activestate for win32 and is intended to run on Win32
> clients.
>
> The big trouble is getting user Group membership to work when I call
> Win32::Lanman::GroupIsMember() or LocalGroupIsMember().
> Right now, even though Samba is configured OK they always return false,
> even if a user is member of a group.
> I can use User Manager to view user and group information...
Check the samba logs. I think you'll find some missing rpc's in 2.2
jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba
mailing list