Displaying 20 results from an estimated 5000 matches similar to: "add machine script problem"
2006 Sep 18
1
joining domain fails because of no samba entries with 3.0.23c
Hello All,
I am having a very strange problem with samba 3.0.23c. I upgraded
everything from 3.0.9 and I am able to smbclient to the samba 3.0.23c
PDC with the administrator user just fine. When I go to add a machine
to the domain, it adds the unix machine account to the ou=computers like
it is supposed to but none of the samba entries are added. I get an
error on the windows side of
2004 Aug 18
0
Adding new users with smbpasswd and ldapsam
Hello
I'm trying to add new Samba users to my LDAP using smbpasswd but this
happens:
---------------------------------------------------------------------
s02:/etc/samba# smbpasswd -D 256 -a tester44a
Netbios name list:-
my_netbios_names[0]="S02"
Trying to load: ldapsam:ldap://localhost
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
2003 Jul 07
0
Samba-3.0beta2 PDC with LDAP backend
Just tried with Samba3.0beta2 as PDC with LDAP
backend. Machine still cannot automatically join
domain. Workstation entry added to LDAP via add
machine script but got access denied during the join.
A join immediately following the first join succeeded.
Here is the trace in the smbd log.
[2003/07/07 11:43:06, 5]
auth/auth_util.c:debug_unix_user_token(494)
UNIX token of user 0
Primary group is
2005 Jan 30
1
ldap smbpasswd
freebsd 5.3, samba 3.10
I get this far with LDAP/Samba integrationg.
Stuck on creating users/machines with smbpasswd -a (-m) username command.
schema files weren't modified, everything else is pretty much at defaults.
First the relevant config parts:
passdb backend = ldapsam_compat:ldap://localhost/
ldap suffix = dc=company,dc=com
ldap machine suffix = ou=Computers
ldap user suffix =
2005 Jan 31
0
ldap smbpasswd UH???
I can't really guess the point of your intelligent answer from this.
If I have to assume you're surprised, I guess I am too.
The cn exists in ldap, with all the attributes that I imported from
other databases, the message given by smbpasswd suggests that it either
tried to create an entry or update it with sambaaccount attributes (
which it didn't ), neither of which are the expected
2003 Feb 11
2
Samba + LDAP = Misery
I have been working on this for weeks now and feel like I am at a dead-end.
I am using Samba 3.0 (Head) and OpenLDAP (2.0) and smbldap-tools 0.7 and
cannot join either a Linux machine or Windows 2000 machine to the domain.
If any of you have some ideas they would be much appreciated.
Highlights:
- I have a root defined (UID and GID of 0).
- Trying to join the domain will successfully add my
2004 Aug 11
0
Can't join Samba-LDAP PDC
I am trying to join a windows server (Nt4 or 2K) to a Samba-LDAP PDC.
Error message on Windows : The machine account for this computer either does
not exist or is inaccessible.
log.smbd :
[2004/08/10 22:29:03, 5] lib/smbldap.c:smbldap_search(932)
smbldap_search: base => [dc=prod,dc=blc,dc=com], filter =>
[(&(uid=NC1981WTX03$)(objectclass=sambaSamAccount))], scope => [2]
2004 Jan 21
1
[3.0, LDAP] smbpasswd fails in adding new accounts
Hello,
I recently switched an environment from Samba 2.x to 3.0 without any
major problems. LDAP database was converted and everything worked fine,
_including_ chaning passwords with smbpasswd.
However, I now had to create a new account, which failed. I created an
LDAP entry first, because I use LDAP for Unix-Authentification as well.
Afterwards, I wanted to add the Samba-specific attributes
2003 Nov 17
1
smbpasswd fails to add machine account with ldapsam
Hi!
I am seeing other users with the same problem as I have. My samba also fails
to add machine accounts. It seems to me if it didn't even try. If I use some
other script (pdbedit, smbldap-tools) than smbpasswd it manages to add the
account but still fails to authenticate within the same session. If I try
again the machine account exists and authentication goes ok.
server:~# smbpasswd -a -m
2004 Aug 11
1
URGENT : NT4 Standalone server in a Samba-LDAP PDC
I have an urgent need,
Is it possible to connect an NT4 Standalone server to a Samba-LDAP PDC ??
I am trying to do that but keep getting the same error when trying to change
an NT4 standalone server to the Samba-LDAP PDC.
Error message : The machine account for this computer either does not exist
or is inaccessible.
log.smbd :
[2004/08/10 22:29:03, 5] lib/smbldap.c:smbldap_search(932)
2007 Aug 21
0
SOLVED Re: ldap and computer accounts
The solution is quite simple: You need to configure pam-nss for
samba to work. Essentially samba is using a 'getent' call to look
up computers independent is configured as passdb backend. That
means the pam-nss must be configured for samba to find the
computer entries in ldap.
I find this very much counter-intuitive !
Thanks to Tom Crummey <tom@ee.ucl.ac.uk>
and John Drescher
2006 Aug 07
2
'ldap machine suffix' is ignored?
Hi, all!
I'm using samba-3.0.23 (Revision: 16921, from ports collection, under
FreeBSD 6.1 with OpenLDAP 2.3.24 & smbldap-tools-0.9.2a) as PDC with
following config:
[global]
dos charset = CP1251
unix charset = KOI8-R
workgroup = DOMAIN
server string = Samba Server
password server =
passdb backend = ldapsam
passwd program =
2007 Aug 21
2
ldap and computer accounts
I'm attemtping to configure a Ubuntu server for a bunch of windows clients.
I'd like the authentication information to be in ldap.So far the stuff
works,
I can authenticate users in LDAP just fine.
But when I want a windows machine to join the domain I get the
error 'The user name could not be found'. The computer account
gets created (via smbldap-tools) and I can see it in the
2004 Aug 15
3
join domain - ou=people searched for machine accounts?
When I try to join a domain from a win2k client to a samba 3.0.5
PDC, I get the message "User not found". I use ldapsam, which
works fine in all other respects.
The strange thing is that the smbldap-useradd scripts terminates
with 0, the machine account is created under "ou=systems" in the
ldap database - all looks fine. Then a ldap search is triggered
with a base
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"
2003 Sep 24
1
smbpasswd & ldap
Samba3.0rc4
When i type : smbpasswd -a ntadmin1 -D4
i have a output
---------------------------------------
Netbios name list:-
my_netbios_names[0]="ORLEAN"
Trying to load: ldapsam:ldap://127.0.0.1
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend
2005 Apr 25
1
root passwd not working anymore
Hi,
since nobody answered my previous post I'm hoping to get an answer for this
one, I have a working samba PDC with LDAP backend, recently i tried to add a
W2k Workstation to the domain using root account and it returned with a
wrong password, but i am able to login using the same account to the server,
I've tried changing the password to join the doain and it worked again, but
I'd
2004 Jan 11
1
Trying to configure a SAMBA 3 PDC with OpenLDAP
Hello,
I have some problems trying to configure a PDC with OpenLDAP backend using Samba 3.0.1.
My LDAP server is working fine and has the samba templates.
I am able to configure users. The procedure I am using is I first create the user in the LDAP server using posixAccount, shadowAccount, etc. Then, as root, I write
smbpasswd -a user
and it works fine.
I get the same effect if I use
2006 Jul 26
1
ldapsam ignores "ldap user suffix" when doing username lookup
Greetings.
Since this is my first post to this list, hello everyone. Here's an
issue concerning the ldapsam backend.
I'm having a problem with the "ldap user suffix" param not being
honored as expected. Specifically, when a user logs on, the "ldap user
suffix" is ignored and the ldapsam backend attempts to lookup the user
doing a full subtree search in the context
2006 Jul 11
2
Samba PDC With LDAP Backend, Failed to initialise SAM_ACCOUNT for user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have seen this problem posted several times and the common answer doesn't seem to be doing it for me.
Here's the error:
Trying to load: ldapsam_compat:ldap://127.0.0.1/
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added