Displaying 20 results from an estimated 41 matches for "smbldap_bind".
2005 Feb 23
2
smbldap problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good Morning People,
In the smb.conf add entry ldap admin dn =
cn=Manager,dc=auroraalimentos,dc=com,dc=br. After adding password of
admin LDAP:
#smbpasswd -w passwd
Setting stored password for "cn=Manager,dc=auroraalimentos,dc=com,dc=br"
in secrets.tdb
In moment adding machine in the PDC, it appears in log's:
[2005/02/23 07:52:06, 2]
2009 Oct 27
3
samba ldap
Hi,
I am following https://help.ubuntu.com/8.10/serverguide/C/samba-ldap.html
and ldap works perfectly fine.
I have issues with connecting to ldap from samba.
I get
[2009/10/27 12:37:28, 1] lib/smbldap.c:another_ldap_try(1153)
Connection to LDAP server failed for the 9 try!
[2009/10/27 12:37:29, 2] lib/smbldap.c:smbldap_open_connection(786)
smbldap_open_connection: connection opened
2008 Jul 26
2
Samba + LDAP integration
..."513"
defaultComputerGid="515"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="45"
userSmbHome=""
userProfile=""
userScript="logon.bat"
mailDomain="example.org"
with_smbpasswd="0"
with_slappasswd="0"
smbldap_bind.conf
*****************
slaveDN="cn=config,dc=example,dc=org"
slavePw="1w2345FJ"
masterDN="cn=config,dc=example,dc=org"
masterPw="1w2345FJ"
The strange thing is that I can join a computer to the Domain, but only
using the Samba+samba_root_passwd. I can even s...
2006 Jan 16
2
Adding workstations to domain as non-root
...ot 192 Jan 11 16:16 .
9120 drwxr-xr-x 42 root root 3160 Jan 12 09:31 ..
238451 -rw-r--r-- 1 root root 7634 Jan 11 16:06 smbldap.conf
30283 -rw-r--r-- 1 root root 7728 Jan 10 13:44 smbldap.conf.old
238421 -rw-r----- 1 root Domain Admins 438 Jan 11 08:52 smbldap_bind.conf
However, I can't add users using the smbldap-useradd script:
jamesc@elli ~ $ /usr/sbin/smbldap-useradd -w "phobos$"
Could not find base dn, to get next uidNumber at
/usr/sbin//smbldap_tools.pm line 995.
Looking at the OpenLDAP logs, it seems that smbldap-useradd is
perform...
2006 Mar 03
1
Samba 3 by Example - chapter 5 & 6 ( Manager ->sambaadmin)
...t;> > Does this look right so far; I am now going to configure smbldaptools
>>as
>> > per
>> > the documentation; In chapter 5 (./configure)
>> >
>> > Ok, now we take a look at this -
>> > [root@node1 sbin]# cat /etc/opt/IDEALX/smbldap-tools/smbldap_bind.conf
>> >
>> > ############################
>> > # Credential Configuration #
>> > ############################
>> > # Notes: you can specify two differents configuration if you use a
>> > # master ldap for writing access and a slave ldap server...
2009 Mar 19
1
smbldap and samba as a PDC
...on at /usr/share/perl5/
smbldap_tools.pm line 1083.
And if I create the machine account from phpldapadmin, it works perfectly.
What can I do? I tried:
net -U administrador%XXXX rpc rights grant 'TESTING\smbadmins'
SeMachineAccountPrivilege,
also tried to modify smbldap.conf and smbldap_bind.conf, and I got
nothing...
I followed many howto's and surelly there is something that i'm not
understanding, but I don't know what. Any suggestion would surely be
helpful.
getent passwd and getent group works well. If I try to add a machine account
from phpldapadmin, all goes right...
2004 Jun 11
2
Samba 3.0.3 on FC2: windows machine cannot join domain
...uot;
defaultMaxPasswordAge="45"
userSmbHome=""
userProfile=""
userHomeDrive="logondrive"
userScript=""
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/sbin/mkntpwd"
--- End smbldap.conf ---
--- Begin smbldap_bind.conf ---
slaveDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
slavePw="_hidden_"
masterDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
masterPw="_hidden_"
--- End smbldap_bind.conf ---
6. Started up the services:
/etc/init.d/ldap start
/etc/init.d/smb start
7. Set the root p...
2004 Sep 27
3
Problems with the IdealX scripts
..."
userProfile=""
userHomeDrive=""
userScript=""
mailDomain="borkholder.com"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd" <--- it is actually not here but I didn't
think it mattered since with_smbpasswd is set to 0
### smbldap_bind.conf ###
slaveDN="cn=Manager,dc=borkholder,dc=com"
slavePw="my_cleartext_pw"
masterDN="cn=Manager,dc=borkholder,dc=com"
masterPw="my_cleartext_pw"
### Proof that I am able to connect to my LDAP server and that nss_ldap works
###
oink:/etc/smbldap-tools # id...
2004 Sep 23
1
Re: Samba 3.0.3 on FC2: windows machine cannot join domain
...uot;
defaultMaxPasswordAge="45"
userSmbHome=""
userProfile=""
userHomeDrive="logondrive"
userScript=""
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/sbin/mkntpwd"
--- End smbldap.conf ---
--- Begin smbldap_bind.conf ---
slaveDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
slavePw="_hidden_"
masterDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
masterPw="_hidden_"
--- End smbldap_bind.conf ---
6. Started up the services:
/etc/init.d/ldap start
/etc/init.d/smb start
7. Set the root p...
2005 Nov 26
1
samba as pdc with ldap: trouble with smbldap-populate: error adding from cn=Domain Admins,ou=Groups onwards
.../www.susewiki.org/index.php?title=SAMBA-PDC_OpenLDAP_DYNDS_CLAM>
i installed the smbldap-tools rpm on a suse 10 box. (called LINUX)
i copied the smbldap-tool config files to: /etc/smbldap-tools/
-rw-r--r-- 1 root root 7854 Nov 26 21:12 smbldap.conf
-rw------- 1 root root 422 Nov 26 21:18 smbldap_bind.conf
and the smbldap-tool scripts to: /usr/local/sbin/
-rwxr-xr-x 1 root root 5379 Nov 26 21:52 smbldap-groupadd
-rwxr-xr-x 1 root root 2473 Nov 26 21:52 smbldap-groupdel
-rwxr-xr-x 1 root root 8550 Nov 26 21:52 smbldap-groupmod
-rwxr-xr-x 1 root root 2009 Nov 26 21:52 smbldap-group...
2007 May 23
1
Can not add machine to the domain
...main master = yes
preferred master = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
create mask = 0700
directory mask = 0700
valid users = %S
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
share modes = no
smbldap_bind.conf:
slaveDN="cn=admin,dc=usit,dc=ie"
slavePw="********"
masterDN="cn=admin,dc=usit,dc=ie"
masterPw="********"
nsswitch.conf:
passwd: compat ldap
group: compat ldap
shadow: compat ldap
hosts: files dns
networks:...
2005 Jun 13
0
Problems Migrating password and group info to ldap
...map to guest = Bad User
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
show add printer wizard = yes
; to maintain capital letters in shortcuts in any of the profile
folders:
preserve case = yes
short preserve case = yes
case sensitive = no
smbldap_bind.con
SID="S-1-5-21-3460938701-4015227088-2286478190"
# Domain name the Samba server is in charged.
# If not defined, parameter is taking from smb.conf configuration file
# Ex: sambaDomain="IDEALX-NT"
sambaDomain="TALL"
#################################################...
2004 May 06
0
having problems with samba 3 + net groupmap
...ne so far:
1. configured ldap both for server and client thats slapd.conf,
ldap.conf and ldap.secret
2. edited pam.d/samba
3. edited nsswitch.conf
4. configured samba - smb.conf
5. added the ldap password to secrets.tdb
6. configured smbldap-tools using the configure.pl script ( smbldap.conf
and smbldap_bind.conf)
7. populated the ldap db using the smbldap-populate script
Everything works ok up to this point but when I try to use the net tools
to manage groups I come up with these errors:
***[root@pdc root]# net groupmap modify ntgroup="Administrators"
unixgroup="domadmin"
*[200...
2004 Nov 25
0
SAMR_CREATE_USER not running add machine script
...rd"
the logs shows that all authentication was successfull.
Then I noticed in the joining of the machine, the rpc command SAMR_CREATE_USER gets called and with my first PDC the useradd script is called, but on the second machine it's not.
All configs smb.conf ldap.conf smbldap.con and smbldap_bind.conf are identical appart from the PDC names itself.
Each has it's own SID as well.
Can anybody give me some insight into this problem ?
thanks
--
Henti Smith
henti@geekware.co.za
+27 82 958 2525
http://www.geekware.co.za
DISCLAIMER :
Unauthorised use of characters, images, sounds, o...
2005 Feb 24
1
Samba-LDAP PDC, problem with smbldap-tools
Good morning,
I need your help please:
I installed samba 3.0.11 as a PDC with OpenLDAP 2.1.22
and smbldap-tools 0.8.7.
When I tried to initialise the LDAP directory using
smbldap-ppopulate scrit, I received the following
message:
failed to add entry: modifications require
authentication at /usr/local/sbin/smbldap-populate
line 460, <GEN1> line 2 ....
I tried to modify my smbldap-tools
2005 Feb 27
0
modifications require authentication (?????????)
...ap.c:smbldap_open_connection(692)
~ smbldap_open_connection: connection opened
Error: modifications require authentication at
/usr/local/lib/perl5/site_perl/5.8.6/smbldap_tools.pm line 892, <DATA>
line 283.
[2005/02/27 15:49:01, 2] smbd/server.c:exit_server(609)
~ Closing connections
In my smbldap_bind.conf appers:
slaveDN="cn=Manager,dc=auroraalimentos,dc=com,dc=br"
slavePw="passwd"
masterDN="cn=Manager,dc=auroraalimentos,dc=com,dc=br"
masterPw="passwd"
#smbpasswd -w passwd
Setting stored password for "cn=Manager,dc=auroraalimentos,dc=com,dc=br"...
2007 Jan 27
0
debugging smbldap-useradd failures
...an it from the commandline.
To get around that, I wrote a wrapperscript that logged the output from
the command [1]. The script combined with some extra debugging output
placed in the smbldap-tools code showed that smbldap-tools expected the
user to be root and if not it would not read the file smbldap_bind.conf.
Here's part of the code:
if ($< == 0) {
( read the file )
} else {
$conf{slaveDN}=$conf{slavePw}=$conf{masterDN}=$conf{masterPw}="";
}
Thus , no bind attributes are set. Smbldaptools does not see this as
something that should be noted somehow. The reason...
2004 Aug 03
2
Vampire Migrate NT4 to Samba-LDAP PDC. Access error
Hi,
I'm a informatics engineering student and I am working on a factory placement which consists of migrating an NT4 based network upon Red Hat Linux AS 3.
I took the manual from www.samba.org <http://www.samba.org/> and adapted the variables as suitable for my case.
The only one moment where I cannot carry on anymore is when I am supposed to use net rpc vampire on the PDC.
Here is
2011 Jan 08
0
Samba and OpenLDAP - success?
...rLDAP/slaveLDAP explicitly to 127.0.0.1ldapTLS="0"update suffixhash_encrypt="SSHA"update userSmbHome with your machine nameupdate userProfile with your machine nameI put in an updated value for mailDomain although I currently don?t own an Internet domainUpdate /etc/smbldap-tools/smbldap_bind.confInsert new entries into LDAP using smbldap-populate: http://download.gna.org/smbldap-tools/docs/samba-ldap-howto/#htoc31I used the same password as the cleartext one I used in step 3.Insert new userinto LDAP: smbldap-useradd -a -P -A 1 usernamesmbldap-passwd usernameinto server: useradd userna...
2004 Jun 24
2
Samba+LDAP Joining domain...weird problem!!!
...r
"uid=samba,ou=Users,dc=eaglex,dc=wbc" in secrets.tdb
[root@eaglex etc]# smbldap-useradd -w winxp$
failed to add entry: modifications require
authentication at /usr/sbin//smbldap_tools.pm line
366.
So I made some adjustments to /etc/samba/smb.conf,
/etc/ldap.conf, and
/etc/smbldap-tools/smbldap_bind.conf and tried the
following
[root@eaglex smbldap-tools]# smbpasswd -w XXXXXX
Setting stored password for
"cn=Manager,dc=eaglex,dc=wbc" in secrets.tdb
[root@eaglex smbldap-tools]# smbldap-useradd -w winxp$
[root@eaglex smbldap-tools]#
This seems to be working fine. However, as I try to...