Hello Jamie,

after the updating, I have the choice between several objects class and I cannot make a mistake.
good job, jamie !

Damien

Jamie Cameron a écrit :

Do you see this same error, even after install the latest LDAP module update from http://www.webmin.com/updates.html  ?

 - Jamie

On 27/Aug/2007 00:51 Damien TENET wrote ..

thanks Jamie,

it's better with the correct case.
But now when I want to add samba attribute to a userwith webmin, I have this error:

Error - Perl execution failed
Can't call method "search" on an undefined value at ./ldap-useradmin-lib.pl line 1075.

Damien


Jamie Cameron a écrit :

That case difference could be the cause - try changing Webmin to use  sambaSamAccount.

 - Jamie

On 23/Aug/2007 23:31 Damien TENET wrote ..

yes, I use smbldap-tool to add users. They use the class of object sambaSamAccount.
In Webmin config module, In Samba account options, the value  LDAP object class for Samba users is
defined in sambaSAMAccount.

Damien

Jamie Cameron a écrit :
On 23/Aug/2007 07:23 Damien TENET wrote ..
  
Hi all.

i got an error trying to apply samba login=yes in ldapadminuser module:

Failed to modify user in LDAP database : object class 'sambaSamAccount'
requires attribute 'sambaSID'

i use samba 3 with ldap backend (openldap) and i can add user with 
smbldap-useradd

OS version is SuSE Linux 10.2
webmin version is 1.360
    

Is sambaSamAccount the object class that your existing LDAP users use?
You can see this in Webmin by clicking on a user, and checking the 'LDAP object classes'
field.

 - Jamie

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list


  


------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

- Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list


------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

- Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list