search for: usergidnumb

Displaying 11 results from an estimated 11 matches for "usergidnumb".

Did you mean: usergidnumber
2009 Jun 26
2
smblap-useradd problem
...ano2:~# smbldap-useradd -a ploup Can'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 ma...
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
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...D_START.\n"; if ($nscd_status == 0) { system "/etc/init.d/nscd start > /dev/null 2>&1"; } # as rid we use 2 * uid + 1000 my $userRid = 2 * $userUidNumber + 1000; if (defined($Options{'x'})) { $userRid= sprint("%x", $userRid); } my $createGroup = 0; my $userGidNumber = $Options{'g'}; # gid not specified ? if (!defined($userGidNumber)) { # windows machine => $_defaultComputerGid if (defined($Options{'w'})) { $userGidNumber = $_defaultComputerGid; # } elsif (!defined($Options{'n'})) { # create new group (redhat style) # find first unu...
2005 Aug 11
4
smbldap-tools unresovled problem.
...upSID; my $userRid; my $user_sid; -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=$user...
2005 May 26
1
Re: RE pdb_ldap.c, ldapsam_add_sam_account, existing poxisaccount
...gt; do the rest... > > > > # MACHINE ACCOUNT > > if (defined($Options{'w'}) or defined($Options{'i'})) { > > > > #print "About to create machine $userName:\n"; > > > > if (!add_posix_machine > > ($userName,$userUidNumber,$userGidNumber,$Options{'t'})) { > > die "$0: error while adding posix account\n"; > > } > > > > if (defined($Options{'i'})) { > > ... > > } > > > > $ldap_master->unbind; > > exit 0; > > } > > > > Sh...
2005 Jun 04
3
smbldap-tools and joining workstation to domain
...-i switch is used (trusted workstation account). ----------- CODE SNIP -------------------- # MACHINE ACCOUNT if (defined($Options{'w'}) or defined($Options{'i'})) { #print "About to create machine $userName:\n"; if (!add_posix_machine ($userName,$userUidNumber,$userGidNumber,$Options{'t'})) { die "$0: error while adding posix account\n"; } if (defined($Options{'i'})) { # For machine trust account # Objectclass sambaSAMAccount must be added now ! my $pass; my $pass2; system "stty -echo"; pr...
2003 Dec 30
1
3.0.1/Solaris 9 - smbldap & dots in usernames
Hi All, Is it possible to vampire across dots in usernames? I got over 1000 accounts with dots in them eg. <firstname>.<lastname> The smbldap-tools (version 0.8.2) don't seem to like adding users and groups with dots in them. Any help much appreciated. Darren
2004 Jan 14
0
Problems with smbldap-tools 0.8.2 and Samba 3
...49, 0] pc_server/srv_samr_nt.c:_samr_create_user(2330) could not add user/computer nodo03$ to passdb. Check permissions? ------ This is the problematic (I think) piece of smbldap-useradd.pl ###### Here the posixAccount is added ######## if (!add_posix_machine ($userName, $userUidNumber, $userGidNumber)) { die "$0: error while adding posix account\n"; } if (!$with_smbpasswd) { ### The script "executes" this branch, so nothing is done. It expects ### Samba to add the sambaSAMAccount, but I think that Samba fails to ### do it because already exists th...
2006 Feb 10
0
Upgraded from 3.0.9 -> 3.0.21b - Now adding machines a problem
...uot;$0: error while adding samba account\n"; } } right under the following: # MACHINE ACCOUNT if (defined($Options{'w'}) or defined($Options{'i'})) { #print "About to create machine $userName:\n"; if (!add_posix_machine ($userName,$userUidNumber,$userGidNumber,$Options{'t'})) { die "$0: error while adding posix account\n"; } so that the rest of the ldap info was getting filled in. It still would bomb out on me with the error "The user name could not be found" but it did make a difference. Leaving the new ldap en...
2002 May 14
0
Bugfix for idealx smbldap-tools
...uid + 1000 my $userRid = 2 * $userUidNumber + 1000; if (defined($Options{'x'})) { - $userRid= sprint("%x", $userRid); + $userRid= sprintf("%x", $userRid); } my $createGroup = 0; @@ -131,7 +131,7 @@ # as grouprid we use 2 * gid + 1001 my $userGroupRid = 2 * $userGidNumber + 1001; if (defined($Options{'x'})) { - $userGroupRid = sprint("%x", $userGroupRid); + $userGroupRid = sprintf("%x", $userGroupRid); } # Read only first @ARGV my $userName = $ARGV[0]; @@ -153,6 +153,9 @@ $userHomeDirectory = $_userHomePrefix.$userName;...
2006 Feb 10
0
Upgraded from 3.0.9 -> 3.0.21b - Now adding machines aproblem
...uot;$0: error while adding samba account\n"; } } right under the following: # MACHINE ACCOUNT if (defined($Options{'w'}) or defined($Options{'i'})) { #print "About to create machine $userName:\n"; if (!add_posix_machine ($userName,$userUidNumber,$userGidNumber,$Options{'t'})) { die "$0: error while adding posix account\n"; } so that the rest of the ldap info was getting filled in. It still would bomb out on me with the error "The user name could not be found" but it did make a difference. Leaving the new ldap en...