# Linux LSM

**URL:** <https://forums.suse.com/t/linux-lsm/21734>\
**Category:** SLE Software Developer Kit (SDK)\
**Created:** [January 12, 2010, 6:26pm UTC](https://forums.suse.com/t/linux-lsm/21734 "2010-01-12T18:26:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [January 12, 2010, 6:26pm UTC](https://forums.suse.com/t/linux-lsm/21734/1 "2010-01-12T18:26:03Z")

</div>

Hi,

I am having trouble using the sample Linux LSM from the NMAS SDK.  
Having followed the instructions for installing the debug version, I am  
getting a -1656 error in the NDSTRACE on the server and also in the NMAS  
client trace. The Novell client displays a ‘NMAS: Method Validation  
Failure’ message.

This is an extract from the NDSTRACE:

2835180448 NMAS: 3: CanDo  
2835180448 NMAS: 3: updateLoginStatistics configured failed login delay  
3  
2835180448 NMAS: 3: Sequence Selected == “lsmcpwd”  
2835180448 NMAS: 3: Login Method 0x00000001  
2835180448 NMAS: 3: ERROR: -1656 NMAS Manager  
2835180448 NMAS: 3: Failed login

The information I have found on the internet doesn’t seem to make any  
sense:

-1656  
0xFFFFF988  
NMAS\_E\_INVALID\_METHOD

1. NMAS Server failed to validate the signature of a method.

2. The module size encoded in the signed portion of the method is  
larger than code read from eDirectory.

The LSM isn’t signed as I am trying to run with the debug version of  
NMAS.

Any ideas what could cause this or what I should try next?

Regards,  
Andy

## – whitwa

whitwa’s Profile: [http://forums.novell.com/member.php?userid=54304](http://forums.novell.com/member.php?userid=54304)  
View this thread: [http://forums.novell.com/showthread.php?t=398000](http://forums.novell.com/showthread.php?t=398000)
