Displaying 5 results from an estimated 5 matches for "group_add".
2003 Nov 25
0
Problems using smbldaptools
...require authentication at
/usr/share/samba3/scripts//smbldap_tools.pm line 494, <DATA> line 283.
It complains about authentication. I also took a look at line 494:
$modify->code && die "failed to add entry: ", $modify->error ;
Here is what is above that:
# $gid = group_add($groupname, $group_gid, $force_using_existing_gid)
sub group_add
{
my ($gname, $gid, $force) = @_;
my $nscd_status = system "/etc/init.d/nscd status >/dev/null 2>&1";
if ($nscd_status == 0) {
system "/etc/init.d/nscd stop > /dev/n...
2002 May 14
0
Bugfix for idealx smbldap-tools
...m 2002-05-14 08:05:54.000000000 +0000
+++ modified/smbldap_tools.pm 2002-05-14 08:15:01.000000000 +0000
@@ -337,7 +337,7 @@
}
my $dn = get_dn_from_line($dn_line);
- system "$ldapdelete $dn >/dev/null";
+ system "$ldapdelete '$dn'";
}
# $success = group_add($groupname, $group_gid, $force_using_existing_gid)
diff -ur sbin/smbldap-useradd.pl modified/smbldap-useradd.pl
--- sbin/smbldap-useradd.pl 2002-05-14 08:05:54.000000000 +0000
+++ modified/smbldap-useradd.pl 2002-05-14 08:15:52.000000000 +0000
@@ -54,7 +54,7 @@
print " -n do not create a gr...
2007 Feb 28
2
samba problems. accounts expire after a hour, but work after reset
...---------------------------------------
add user script = /usr/local/samba/scripts/user_add %u 1>>
/usr/local/samba/scripts/debug.txt 2>> /usr/local/samba/scripts/debug.txt
delete user script = /usr/local/samba/scripts/user_del %u
add group script = /usr/local/samba/scripts/group_add %g %u %U
delete group script = /usr/local/samba/scripts/group_del %g
add user to group script = /usr/local/samba/scripts/member_add %u %g
delete user from group script = /usr/local/samba/scripts/member_del
%u %g 1>> /usr/local/samba/scripts/debug.txt 2>>
/usr/local/samba/s...
2003 May 15
6
Question on LDAP+Samba+PDC
Hello everyone.
Well, I have been working very hard lately, trying to get a server up to
act as our Samba PDC with LDAP. So far, everything seems to be working
well. I've been able to get samba 2.2.8 and openldap 2.0.27 installed with
no problems. I've setup my config files (ldap.conf, slapd.conf, smb.conf)
as well as added some initial entries to the LDAP directory.
I've been
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...=> "$_userLoginShell",
'gecos' => "$_userGecos",
'description' => "$_userGecos",
'userPassword' => "{crypt}x"
]
);
$add->code && warn "failed to add entry: ", $add->error ;
#if ($createGroup) {
# group_add($userName, $userGidNumber);
#}
group_add_user($userGidNumber, $userName);
my $grouplist;
# adds to supplementary groups
if (defined($grouplist = $Options{'G'})) {
add_grouplist_user($grouplist, $userName);
}
# If user was created successfully then we should create his/her home dir
if (de...