Displaying 19 results from an estimated 19 matches for "ldapsync".
Did you mean:
imapsync
2003 Feb 11
1
Samba LDAP - bug in ldapsync.pl
In the course of correcting directory references for Mandrake in
smbldap-tools I came acrossed the following:
samba-2.2.7a/examples/LDAP/ldapsync.pl
on line 72 we have:
> $ntpwd = `/usr/local/sbin/smbencrypt '$oldpass'`;
On Mandrake this would be:
> $ntpwd = `/usr/sbin/smbencrypt '$oldpass'`;
Except that I can't find anything by that name (i.e. smbencrypt ) in my
rpm database. Can anyone tell...
2004 Aug 04
1
ldapsync, Samba LDAP bug?: win clients return error when change passwd in samba3 PDC
...ful!
It's log from samba for my windows client machine:
[2004/08/04 11:46:52, 3] smbd/chgpasswd.c:chat_with_program(424)
chat_with_program: Dochild for user g-marchenko (uid=0,gid=0) (as_root =
Yes)
[2004/08/04 11:46:52, 10] smbd/chgpasswd.c:dochild(217)
Invoking '/usr/local/bin/ldapsync.pl -o g-marchenko' as password change
program.
[2004/08/04 11:46:52, 10] lib/util_sock.c:read_socket_with_timeout(263)
read_socket_with_timeout: timeout read. select timed out.
[2004/08/04 11:46:52, 100] smbd/chgpasswd.c:expect(274)
expect: expected [*New*Password*] received [New passwo...
2003 Jun 03
1
password sync program NOT running as user root
...th ldapsam
enabled (no other changes to the debian build script)
# Global parameters
[global]
workgroup = SVFMG
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = smbpasswd, ldapsam, tdbsam, unixsam
passwd program = /etc/samba/ldapsync.pl -o %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*modifying*
passwd chat debug = Yes
username map = /etc/samba/usermap
svpdc:/etc/samba# cat /etc/samba/ldapsync.pl
#!/usr/bin/perl -w
$myid = $<;
`echo $myid >> /tmp/ldapsync.debug`;
svpdc:/etc/...
2003 Feb 26
1
Samba LDAP PDC change password
...change, I cannot change the passwords
from the Win2000 or WinXP WS, it always says that the password or username
doesn't match ....
Of course it matches, I tried too many things to get it working ... in vain
- I tried to play on password chats (smb.conf)
- I used smbldap-passwd (from idealx), ldapsync, ldappasswd : it always give
the same result
- the LDAP ACLs too I even put "access to * by * write" (just for test)
someone can help ? please ?
PS : if the logs are needed I'll mail'em
--
Zied Fakhfakh
BDM - Opennet Software
70 Av Med 5 - Tunis
1002 - Tunisia
Tel : +216 71 8...
2003 Sep 05
1
samba+ldap passwd sync
...really looking for help.
What I need is to be able to synchronize the Windows passwords with the
Unix passwords. All passwords are stored in LDAP (ntPassword,
lmPassword, userPassword), so there're no real Unix accounts (I use
pam_ldap+nss_ldap).
I read a lot of docs, tried a lot of scripts (ldapsync, ldapchpasswd...)
but I cannot make it work.
First, I think "passwd program" is never launched, and second, I doubt
those scripts work well with FreeBSD and crypted passwords.
If there's anyone out there willing to help, I'd really appreciate, I'm
out of ideas...
Thanks....
2009 Oct 22
1
LDAP server, too many open files
...ema
include /etc/openldap/schema/nis.schema
allow bind_v2
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
access to attrs=userPassword
by self write
by anonymous auth
by dn.base="cn=domainadm,dc=domain,dc=local" write
by dn.base="uid=ldapsync,ou=People,dc=domain,dc=local" read
by * none
access to *
by self write
by dn.base="cn=domainadm,dc=domain,dc=local" write
by dn.base="uid=ldapsync,ou=People,dc=domain,dc=local" read
by * read
access to * by * read
limits dn.exact="uid=ldapsync...
2002 Jul 02
3
samba 3.0 and group mapping
...up = TP-SAMBA
netbios name = TRONIC-PDC
interfaces = 192.168.0.31/255.255.255.192
bind interfaces only = Yes
encrypt passwords = Yes
security = user
# password server = venus
map to guest = Bad User
# passwd program = /usr/local/sbin/ldapsync.pl -o %u
# passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*modifying*
log file = /var/log/samba30/%m
debug pid = Yes
debug uid = Yes
large readwrite = Yes
time server = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NO...
2003 Oct 20
3
SAMBA 3 and Windows2000 mixed mode trust
...ix = ou=people,o=test,c=it
ldap user suffix = ou=people,o=test,c=it
ldap group suffix = ou=group
ldap admin dn = uid=sambauser,cn=config
ldap ssl = no
passdb backend = ldapsam:ldap://10.10.5.160/ guest
passwd program = "/sambabin/samba/bin/ldapsync.pl -o %u"
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*modifying*
unix password sync = Yes
logon script = %G_%U.bat %G %U
log level = 0
logon home =
logon path =
admin users = @helpdesk
min password lengt...
2003 Sep 05
0
Bugzilla Bug 232 on samba 3 rc2 - urgent
Hi ,
We use redhat 8 . Samba is 3rc2
Smb.conf is
workgroup = TEST
server string = %h server (Samba %v)
null passwords = Yes
passdb backend = ldapsam:ldap://X.X.X.X /,guest
passwd program = /usr/bin/sudo /usr/local/samba/bin/ldapsync.pl
%u
passwd chat = *Envoyez* %n\n *modifying*entry*
unix password sync = Yes
log level = 2
log file = /var/log/samba/%m.log
name resolve order = wins lmhosts host bcast
time server = Yes
socket options = TCP_NODELAY IPTOS_LOWDELAY...
2003 Nov 21
0
SAMBA3 and WINS problem
...r suffix = ou=people
ldap group suffix = ou=group
ldap admin dn = uid=sambauser,cn=config
ldap ssl = no
ldap delete dn = yes
#
# Parte Password e Sicurezza
#
passdb backend = ldapsam:ldap://localhost/ guest
passwd program = "/sambabin/samba/bin/ldapsync.pl -o %u"
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *modifying* unix password sync = Yes
min password length = 5
admin users = @rd
#
# Profile
#
logon script = %G_%U.bat %G %U
logon home =
logon path =
#
# WINBIND
#...
2011 Dec 27
2
incorrect profiles
...etbios name = customer-server
netbios aliases = customer-PROFILES customer-server
interfaces = 192.168.0.3/255.255.255.0 127.0.0.1
bind interfaces only = Yes
encrypt passwords = true
map to guest = Bad User
passwd program = /usr/local/samba/sbin/ldapsync.pl -o %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*modifying*
log file = /var/log/samba/log.%U.%m
large readwrite = Yes
time server = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
SO_SNDBUF=8192 SO_RCVBUF=8192 SO_BROA...
2007 Dec 03
1
version 3.0.27a unix passwd sync nor working any more
....config on 3.0.24 and 3.0.27a, but
unix password sync ist not working with 27a
with 3.0.27 we get an error:
You do not have permissions to change your password.
removing the relevant lines for unix-sync in smb.conf
the windows passwd change is successfully:
passwd program = /uni/bin/ldapsync.pl -o %u
passwd chat = New %n\n new %n\n *changed* \n
passwd chat timeout = 20
passwd chat debug = Yes
unix password sync = yes
using the lines above, debug show following symptoms:
[2007/12/03 15:21:59, 3] smbd/chgpasswd.c:chgpasswd(462)
chgpasswd: Password cha...
2003 Aug 19
2
Samba rc1 problem : PANIC: failed to create UCS2 buffer /usr/local/samba/sbin/nmbd(smb_panic+0xfc) [0x80ae680]
...t_main+0xa4) [0x420158d4]
#11 /usr/local/samba/sbin/nmbd(chroot+0x31) [0x805e34d]
And I am not able to connect to the domain
Smb.conf is
[global]
workgroup = RECT
netbios name = l1serv2
server string = %h server (Samba %v)
passwd program = /usr/local/samba/bin/ldapsync.pl %u
passwd chat = *Envoyez* %n\n *modifying*entry*
unix password sync = yes
log level = 2
log file = /var/log/samba/%m.log
name resolve order = wins lmhosts host bcast
time server = Yes
dns proxy = yes
socket options = TCP_NODELAY IP...
2007 Nov 30
1
Limit connections on per file basis
I host a server where the files on the server are licensed such that only one
user can access each file at any one time.
To clarify: There could be 100 files on the server, and each file can only
ever be read by one user.
I'm trying to find a way of either allowing only 1 TCP connection per file,
or perhaps forcing a read-lock on every file opened such that no other users
can access a file
2004 Oct 01
1
Locking/Timeout Problems
...ldap ssl = start tls
#ldap ssl = yes
#ldap ssl = no
ldap delete dn = no
ldap user suffix = ou=users
ldap machine suffix = ou=samba
; ldap trust ids = yes
; sync samba with unix password
; unix password sync = yes
; passwd program = /usr/local/sbin/ldapsync.pl -o %u
; passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*modifying*
; passwd chat debug = yes
ldap passwd sync = yes
; idmap backend = ldap:ldap://192.168.52.31
; ldap idmap suffix = ou=samba,o=munich,dc=esmt,dc=org
; idmap uid = 10000-20000
; id...
2006 Oct 15
1
Authenticating dovecot against Active Directory using bsdauth and login_ldap
...===========================
Note: for login_ldap to work it is necessary that the user information
(minus password) is replicated on the localhost. I've done this using
a relatively inelegant script which for completeness is below. I guess
adding some error checking would be a good idea.
==== ldapsync.ksh =====================
#!/bin/ksh
ldapsearch -h 10.0.0.23 \
-D cn=UnixUser,cn=Users,dc=my,dc=domain,dc=co,dc=uk \
-b cn=Users,dc=my,dc=domain,dc=co,dc=uk \
-w mypassword \
-v \
-x "(objectClass=user)" |
while read key value ; do...
2003 Dec 01
0
No subject
...samba>, <mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
> I've made a quickly patch against samba2.2 to support LDAP. I use the
> ldap schema define in the samba-tng. I use libnss_ldap, pam_ldap,
> openldap2.x, ldapsync.pl, ldaputils. It seems to work. I will do more test
> tomorrow. configure.in is not very clean but it work on my system
> (Debian GNU/Linux).
> You must launch autoconf to generate a new configure.in
Could you tell us more about this patch and where we could get our hands
on it to try...
2003 Dec 01
0
No subject
...roubles with
smbpasswd updating and sync the unix passwd (LDAP) together. Anyone have a fix
for this?
Matt Lung
> > I've made a quickly patch against samba2.2 to support LDAP. I use the
> > ldap schema define in the samba-tng. I use libnss_ldap, pam_ldap,
> > openldap2.x, ldapsync.pl, ldaputils. It seems to work. I will do more test
> > tomorrow. configure.in is not very clean but it work on my system
> > (Debian GNU/Linux).
> > You must launch autoconf to generate a new configure.in
> Could you tell us more about this patch and where we could get ou...
2003 Dec 01
0
No subject
...n/listinfo/samba>, <mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi,
I've made a quickly patch against samba2.2 to support LDAP. I use the
ldap schema define in the samba-tng. I use libnss_ldap, pam_ldap,
openldap2.x, ldapsync.pl, ldaputils. It seems to work. I will do more test
tomorrow. configure.in is not very clean but it work on my system
(Debian GNU/Linux).
You must launch autoconf to generate a new configure.in
Luc
--
,--------------------------------------------------------------------------.
> Saillar...