Displaying 20 results from an estimated 9000 matches similar to: "test platform - samba + ldap issue smbldap-useradd hangs"
2006 Mar 03
1
Samba 3 by Example - chapter 5 & 6 ( Manager ->sambaadmin)
Well I am glad that there has been alot of input on this topic, alot of
people are having different opinions but that is because we are not focusing
with the problem at hand.
The documentation provides full details on how to get samba + ldap working
from scratch; but there seems to be a gap between chapter 5 & 6;
Once again I will say I love this book; by far the best technical reference
2005 Oct 17
1
Redhat 9 Samba + LDAP PDC ./smbldap-populate issue
Hello Guys,
I have configured samba & ldap as a domain controller before, but never on a
redhat 9 system. I have updated samba & ldap as far as i can tell to the
latest.
Firstly I have a smaller issue (I think) I get this error when trying to
restart ldap, as usual I have followed the samba howto; however it's not the
documentation that is the problem more so an unusal problem or
2004 Mar 02
0
smbldap-useradd hangs in RH9
samba 3.0.2
smbldap-tools 0.8.4
RH 9
nss_ldap configured
pam_ldap NOT configured
LDAP passwd backend
Hi,
i've instaled samba 3.0.2 with smbldap-tools 0.8.4 twice in two different RH9.
I got it runs in the first but not in the second with the same configuration
(i think) The problen is (i got the same problem the first time but i don't
remember how i fixed it) that when i try to create
2004 Oct 25
2
can't join domain / smbldap-useradd -w machine not working
Hello,
I'm trying to set up Samba + OpenLDAP as a PDC.
I followed the instructions from chapter 6 in Samba-3 by Example, my
system is SuSE 9.1.
ldap, winbind, nmb and smb are running.
testparm says my smb.conf file is OK.
I set LDAP password using smbpasswd -w.
There was a similar post a few days ago (smbldap-tools don't create
machine account properly), but it didn't help me.
2007 Jul 10
1
scripting smbldap-useradd and smbldap-passwd
Is it possible to script smbldap-useradd and smbldap-passwd to add
users in bulk? Are there any sample scripts anywhere? I can't seem to
find anything.
Thanks,
-Guy
2008 Jun 06
8
useradd provider not working?
I have this config:
# BL00070 - Disable NFS
service {["nfs","nfslock","netfs","portmap"]:
ensure => stopped,
enable => false,
}
user {"rpc": ensure => absent, provider => "useradd" }
user {"rpcuser": ensure => absent, provider => "useradd" }
file
2006 Aug 15
1
smbldap-tools and disabling a user
Hey everyone,
When someone leaves the company, I prefer to disable their
account rather than remove it (so that you can see who owns any
files they might leave on a filesystem somewhere). I'm using
an LDAP backend for Samba, and I'm using smbldap-tools to
manage accounts.
So, today I was going to disable an account for the
first time since switching over from plain /etc/passwd and
2004 Jan 12
1
problem with smbldap-useradd.pl
hi.
i?m having big trouble with smbldap-useradd.pl
when i try
#cd /usr/local/bin
#./smbldap-useradd -a test
i got this message:
Can't call method "get_value" on an undefined value at ./smbldap-useradd.pl line 152, <DATA> line 283.
help please!!!??
[]?s
Bruno Ricci
2008 Mar 27
0
smbldap-useradd will not add sambaSamAccount objectClass
I'm having an issue adding a sambaSamAccount objectClass to my machine
accounts when running smbldap-useradd -w "machine$"
It doesn't create samba attributes, but will create the account.
In the smbldaap-useradd code, sambaSamAccount is sambaSAMAccount, but I
don't know if that's what's doing it. the samba.schema file has
sambaSamAccount defined.
Someone having
2002 May 09
1
Error when running smbldap-useradd.pl -a
Hi!
I'm following the idealx setup on setting up Samba as a PDC with a LDAP
backend.
It says, to add a user, one should do:
smbldap-useradd.pl -a -m -g 900 administrator
This gives me the following error message:
ldap_modify: Object class violation
additional info: object class 'sambaAccount' requires attribute 'rid'
ldif_record() = 65
2003 Oct 15
1
machine accounts aren't added properly with smbldap-useradd.pl + ldap backend
Yay, I finally got my samba 3 PDC working!
Following a variety of indirect hints I used the root account to join,
rather than trying to mess around with various groups and group
mappings. I had done this before, with no good effect, but checked more
carefully this time and found that it was my machine account that was
not being found, not the root account.
Further investigation shows that when
2005 Jan 11
1
smbldap-useradd error looking for next uid
/usr/local/sbin/smbldap-useradd -w computername
Error looking for next uid at
/usr/local/sbin///smbldap_tools.pm line 879, <DATA>
line 283.
I cannot add machines to the samba pdc because of
this...
everything else with samba/ldap seems to work, I have
the feeling it is related to this
# Where are stored Idmap entries (used if samba is a
domain member server)
# Ex
2005 Apr 06
3
givenname and email address with smbldap-tools
Hi all,
I have setup samba / openldap as describes by the idealx howto and as
such I am using the smbldap-tools. However, I would like to add the
givenname and email address fields for all users. What is the best way
to do this? I would prefer continuing to use the smbldap-tools, but I
cannot seem to find a good way to do this. When I try to: $
smbldap-usermod -M testuser@testdomain.net
2005 Nov 02
0
how to get smbldap-useradd more verbose
Hello,
smbldap-useradd -w "pc1$" ; echo $?
returns a '141' and no other information.
(and even worse: no update in the LDAP database)
How can I get smbldap-useradd more verbose?
Is a 'set -x' or '#DEFINE DEBUG=1' possible on the smbldap-tools Perl
scripts?
Cheers
Geert Stappers
2007 Jan 27
0
debugging smbldap-useradd failures
Hi, I just thought I'd post here some notes after a loong bugsearch.
Keywords:
failed to perform search; Unexpected EOF
using Domain Admins to add machines
The problem was that I got this in the sambalog:
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"machine$"' gave 127
Part of the problem was that this isn't a lot to go on, and the command
2009 Mar 13
0
smbldap-useradd/getent group problem
Hi,
I'm walking through Samba-Guide, chapter making happy users on Debian lenny.
It's hard to me, because I'm new to ldap. I add users with smbldap-useradd
-m -a xyz, smbldap-passwd xyz, smbpasswd xyz and they run without error.
getent passwd
xyz:x:1008:513:System User:/data/users/xyz:/bin/bash
id xyz
uid=1008(xyz) gid=513(Domain Users) groups=513(Domain Users)
Ok, so far, but:
2007 Mar 06
1
smbldap-useradd says "Error: modifications require authentication at /usr/lib/perl5/5.8.8/smbldap_tools.pm line 1056."
I'm trying to get Samba 3.0.23d set up to run as a PDC on SuSE 10.2.
I'm getting *very* close, but I have one small issue.
I can't add users. When I run:
smbldap-useradd -a <a new user> -m
I get the following in the messages file:
Mar 6 13:59:38 macallan slapd[4731]: conn=50 fd=24 ACCEPT from
IP=127.0.0.1:11246 (IP=0.0.0.0:389)
Mar 6 13:59:38 macallan slapd[4731]: conn=50
2006 Jul 24
0
impossible to join domain - smbldap-useradd -w "%u" is buggy
Hello all! I have spent a lot of time chasing down what I think is a
bug in smbldap-tools. It seems like many other people have experienced
the same problem too. It was pretty hard to triage so I'm writing it
down here.
The symptom of the problem is that Windows machines cannot join your
Samba+LDAP PDC. When you try to change the domain Windows pops up a
dialog box saying "no such
2004 Oct 21
3
smbldap-tools don't create machine account properlly
Hi all,
I have smb.conf with:
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u"
2005 Mar 11
2
smbldap-useradd -w problem
I'm in the process of learning Samba and evaluating it as a possible
replacement for Windows NT servers in our office next year. I have set up a
small test network comprised of one NT 4 (SP6a) Workstation, one Windows
2000 Pro (SP3) and one Fedora Core 3 running samba 3.0.11 as a PDC. I'm
using LDAP as the passdb backend with smbldap-tools 0.8.7-1. The Windows
2000 Pro machine can join the