Hello all,

I went to change the UID of one of my users for the first time today since 
upgrading to latest smbldap-tools hosted on 
https://gna.org/projects/smbldap-tools/ and the change failed. I went on my 
other systems to see if this was an isolated problem and low and behold all the 
systems exhibit the same behavior.


O.S Red Hat 6.5
smbldap-tools-0.9.10-1.el6.noarch
samba-3.6.9-167.el6_5.x86_64
openldap-2.4.23-34.el6_5.1.x86_64

[root@ldap3 scripts]# smbldap-usermod -u 1100 testuser
Undefined subroutine &main::account_base_rid called at 
/usr/sbin/smbldap-usermod line 261.



This is the code around line 261

    push( @mods, 'uidNumber', $tmp );
    $_userUidNumber = $tmp;
    if ($samba and my $rid_base = account_base_rid()) {
        ## For backward compatibility with smbldap-tools 0.9.6 and older
        my $_userRid = 2 * $_userUidNumber + $rid_base;
        push( @mods, 'sambaSID', $config{SID} . '-' . $_userRid );
    }
}

Any ideas?

                                          
_______________________________________________
Smbldap-tools-tech mailing list
[email protected]
https://mail.gna.org/listinfo/smbldap-tools-tech

Reply via email to