Displaying 3 results from an estimated 3 matches for "read_group_entry_gid".
2006 Jun 15
3
UNIX accounts can create
Anybody know whats wrong when the commands
smbldap-useradd or populate work fine with ldap but cant create
unix/linux accounts ????
Pelase Help.
Jorge
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ?gratis!
?Abr? tu cuenta ya! - http://correo.yahoo.com.ar
2009 Jun 26
2
smblap-useradd problem
...'t call method "get_value" on an undefined value at /usr/sbin/smbldap-
useradd line 232.
---
The related lines in smbldap-useradd script are :
----
229 # as grouprid we use the value of the sambaSID attribute for
230 # group of gidNumber=$userGidNumber
231 $group_entry = read_group_entry_gid($userGidNumber);
232 $userGroupSID = $group_entry->get_value('sambaSID');
233 unless ($userGroupSID) {
234 print "Error: SID not set for unix group $userGidNumber\n";
235 print "check if your unix group is mapped to an NT group\n";
236 exit(...
2005 Aug 11
4
smbldap-tools unresovled problem.
...id;
-if (defined $Options{'a'} or defined $Options{'i'}) {
+if (defined $Options{'a'} or defined $Options{'i'} or defined $Options{'w'}) {
# as grouprid we use the value of the sambaSID attribute for
# group of gidNumber=$userGidNumber
$group_entry = read_group_entry_gid($userGidNumber);
@@ -265,6 +265,28 @@
$modify->code && die "failed to add entry: ", $modify->error ;
}
+
+ if (defined($Options{'w'})) {
+ my $date=time;
+ my $modify = $ldap_master->modify ( "uid=$userName,$config{computersdn}",
+...