lanman apis 47 and 53
jra at samba.org
Thu Jan 17 10:34:54 GMT 2002
On Thu, Jan 17, 2002 at 10:09:30AM -0500, Kevin Stefanik wrote:
> I've been trying to get Snap Servers (NAS from Meridian, now Quantum)
> working with Samba 2.2.2 as PDC. The only thing that didn't work right off
> was getting the group and user lists from the PDC for the Snap's security.
> The snap is using two lanman api functions that Samba doesn't yet implement.
> The 47 api just returns a list of groups (21 byte strings), so I copied the
> NetUserGetGroups api code and took out the UserName part. The 53 api was
> the same, but users, so I just changed the hard-coded group names to
> hard-coded user names. This works fine- the snap is happy, and it gets the
> user/groups lists, authenticates, etc.
> I do have a question, though. I'd like to make this actually get the real
> user list, if not a meaningful group list as well. (I vaguely recall
> reading that there's some work going on to support Windows groups?) What's
> the best way to get a user list and/or group list from within this code?
> Also, I'd be glad to fix the NetUserGetGroups up, too, if there's a
> straight-forward interface to user/group information.
> Also, does anyone know of the 'name' for these two api calls?
As Andre Tridgell is now working for Quantum, expect the support for
this to get a lot better soon.
I'll ask him about the missing lanman RAP calls.
More information about the samba-technical