Displaying 20 results from an estimated 70 matches for "slappasswd".
2003 Oct 22
2
Samba 3.0 + LDAP userPassword -> sambaNTPassword manual sync?
First, the software:
Samba 3.0.0
OpenLDAP 2.0.27
nssldap / pam_ldap
Redhat 9
This may be more of a question for the OpenLDAP mailing list.. but does
anyone know of a method (perhaps using slappasswd?) to hand-sync userPassword
attributes to sambaNTPassword attributes?
Deploying Samba 3.0 as pdc pretty soon, used Migration Tools on the mail
server soon, and I'd really like to be able to tell people to log in using
their mail credentials, as opposed to a generic password that they might
not...
2003 Dec 23
4
Trying to use LDAP: Failed to bind to server: Invalid Credentials
...afoo?. So I?ve typed ?smbpasswd ?w colafoo?. In my slapd.conf file there are two lines starting rootpw. Should either of these be set to colafoo. They were both commented out. On the other hand there are three lines in the LDIF file starting ?userPassword: {SSHA}?. I generated the password using
?slappasswd ?s colafoo? and put the result into the files. Have I made an error there?
Finally
3. The LDIF file contains references to ?Setting up admin handle for People OU?
?dn: cn=admin etc?. What is the difference between Manager and admin?
Thanks
John Murf
-----------------------------------------
E...
2010 Jul 27
2
Samba LDAP ignores group information
...quot;
userSmbHome="\\REALMSERV\%U"
userProfile="\\REALMSERV\profiles\%U"
userHomeDirectoryMode="700"
userHomeDrive="U:"
userScript="%g.bat"
mailDomain="example.com"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
And finaly, smb.conf:
workgroup = REALM
netbios name = REALMSERV
server string = My Realm %v
security = user
encrypt passwords = yes
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
os level...
2010 Mar 29
1
urgent
...sidebian:~#
it still give me the wrong SID.
When I tried to add or search some entry in the Ldap DB, it gave me the
following error: "
ldap_sasl_interactive_bind_s: Invalid credentials (49)", I d like to notify
that I have the same password for samba admin and ldap admin (smbpasswd and
slappasswd). I was been in this error since 2 weeks so please help me, it
makes me crazy!
Here are my configuration files :
*etc/samba/smb.conf*
-------------------------------------------------------------------------------------------------------------------------------------------------------------------...
2010 Jul 02
2
Fail to join a Windows 2008 R2 to a Samba+LDAP PDC version3.5.4
...##################################################################
>
> database bdb
> suffix "dc=mydomain,dc=local"
> rootdn "cn=Administrador,dc=mydomain,dc=local"
> # Cleartext passwords, especially for the rootdn, should
> # be avoided. See slappasswd(8) and slapd.conf(5) for details.
> # Use of strong authentication encouraged.
> rootpw mypassword
> # rootpw {crypt}ijFYNcSNctBYg
>
> # The database directory MUST exist prior to running slapd AND
> # should only be accessible by the slapd and slap tools.
> # Mod...
2004 Jun 16
0
LDAP idmap backend
...s,dc=mne,dc=psu,dc=edu
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=subdomain,dc=domain,dc=com
My slapd.conf says:
suffix "dc=subdomain,dc=domain,dc=com"
rootdn "cn=Manager,dc=subdomain,dc=domain,dc=com"
rootpw long-encrypted-password starting with {SSHA}
I ran slappasswd and entered my password, and it gave me the rootpw.
I ran smbpasswd -w and used the same password as the slappasswd, and it
said it set the stored password in secrets.tdb.
Now, when I restart winbind, the log says:
[2004/06/16 10:51:52, 0] lib/smbldap.c:smbldap_connect_system(798)
failed to bi...
2009 Nov 26
1
password expiration problem
...uot;/etc/skel"
defaultMaxPasswordAge="365"
userSmbHome="\\NAS\%U"
userProfile="\\NAS\profiles\%U"
userHomeDrive="H:"
userScript="%U.cmd"
mailDomain="workgroup"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
slapd.conf
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/misc.schema
include /etc/ldap/schema/nis.schem...
2006 Jun 15
0
UNIX accounts cant create
...skel"
defaultMaxPasswordAge="45"
userSmbHome="\\neptune\%U"
userProfile="\\neptune\profiles\%U"
userHomeDrive="P:"
userScript="login1.bat"
mailDomain=""
with_smbpasswd="0"
smbpasswd="/usr/local/sbin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/local/sbin/slappasswd"
my smb.conf
[global]
workgroup = XXXXXL_DOM
server string = NT2003
interfaces = e1000g0
security = user
log level = 10
syslog = 0
log file = /var/log/samba/%m
domain log...
2014 Dec 02
0
SID always change after reboot
...userSmbHome="\\NISCI\%U"
userProfile="\\NISCI\profiles\%U"
userHomeDrive="H:"
userScript="logon.bat"
mailDomain=""
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
This my Log:
The primary group domain
sid(S-1-5-21-841725493-689295434-2902749832-513) does not match
the domain sid(S-1-5-21-325056222-3979360573-588988473) for
1162043(S-1-5-21-32505622...
2003 Apr 27
2
smbpasswd via cgi
...;
my $password = $app->param('password');
use CGI;
use strict;
my $app = new CGI;
my $username = $app->param('username');
my $password = $app->param('password');
if ($username ne "" && $password ne "") {
my $md5 = `/usr/sbin/slappasswd -s $password -h {MD5}`;
my $temp_ldif = "dn: uid=USERNAME,ou=People,dc=prupref,dc=com
changetype: modify
replace: userPassword
userPassword: PASSWORD";
$temp_ldif =~ s/USERNAME/$username/;
$temp_ldif =~ s/PASSWORD/$md5/;
my $ldap_update = `echo "$te...
2010 Jul 02
1
Fail to join a Windows 2008 R2 to a Samba+LDAP PDC version 3.5.4
...db database definitions
#######################################################################
database bdb
suffix "dc=mydomain,dc=local"
rootdn "cn=Administrador,dc=mydomain,dc=local"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw mypassword
# rootpw {crypt}ijFYNcSNctBYg
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /v...
2012 May 21
2
Can't populate LDAP directory with smbldap-populate
..."1"
defaultMaxPasswordAge="45"
userSmbHome="\\PDC\%U"
userProfile="\\PDC\profiles\%U"
userHomeDrive="H:"
userScript="logon.bat"
mailDomain="sys-adm.local"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
With smbldap-tools-0.9.6-3.el5 from EPEL repository iwth the same
config file I got the following error messages
# smbldap-populate -a Administrator -g 10000 -l 11111 -r 10000 -u
10000
Populating LDAP directory for domain SYSADM
(S-1-5-21-...
2012 May 06
0
Cannot mount users home directories from a samba server
...for a RedHat)
#
##############################################################################
# Allows not to use smbpasswd (if with_smbpasswd == 0 in
smbldap_conf.pm) but
# prefer Crypt::SmbHash library
with_smbpasswd="0"
#smbpasswd="/usr/bin/smbpasswd"
# Allows not to use slappasswd (if with_slappasswd == 0 in smbldap_conf.pm)
# but prefer Crypt:: libraries
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
# comment out the following line to get rid of the default banner
# no_banner="1"
Thank you very much
2007 Jan 30
2
Netlogon, roming profiles in samba(PDC)-ldap
...r a RedHat)
#
##############################################################################
# Allows not to use smbpasswd (if with_smbpasswd == 0 in smbldap_conf.pm)
but
# prefer Crypt::SmbHash library
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
# Allows not to use slappasswd (if with_slappasswd == 0 in smbldap_conf.pm)
# but prefer Crypt:: libraries
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
# comment out the following line to get rid of the default banner
# no_banner="1"
*smbldap_bind.conf*
############################...
2010 Nov 02
1
openldap fails to authenticate
...m currently attempting to use the actual word 'secret' to
authenticate the Manager account:
database bdb
suffix "dc=example,dc=net"
rootdn "cn=Manager,dc=example,dc=net"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# rootpw {CRYPT}secret
And I am getting error 49's in my openldap logs with loglevel set to 296
/var/log/openldap.log
Nov 2 15:45:58 ldap slapd[3522]: slapd starting
N...
2009 Nov 29
0
password expiration
...uot;/etc/skel"
defaultMaxPasswordAge="365"
userSmbHome="\\NAS\%U"
userProfile="\\NAS\profiles\%U"
userHomeDrive="H:"
userScript="%U.cmd"
mailDomain="workgroup"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
slapd.conf
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/misc.schema
include /etc/ldap/schema/nis.schem...
2006 Mar 11
4
Unable to add computer to domain
I have an OpenLDAP backend, Samba knows how to talk to it, my Samba users
are stored in LDAP and file shares work fine authenticating to the LDAP
server.
I tried executing smbldap-useradd -w server02 on the command-line and got
the following error:
failed to perform search; Can't contact LDAP server at
/usr/lib/perl5/vendor_perl/5.8.7/smbldap_tools.pm line 362, <DATA> line 283.
Error
2005 Apr 21
0
Problem with groups & joining domain.- LDAP
...ok for a RedHat)
#
##############################################################################
# Allows not to use smbpasswd (if with_smbpasswd == 0 in smbldap_conf.pm) but
# prefer Crypt::SmbHash library
with_smbpasswd="1"
smbpasswd="/usr/bin/smbpasswd"
# Allows not to use slappasswd (if with_slappasswd == 0 in smbldap_conf.pm)
# but prefer Crypt:: libraries
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"
(END)
serf# less /etc/ldap.conf
# @(#)$Id: ldap.conf,v 1.34 2004/09/16 23:32:02 lukeh Exp $
host serf.ims-tpa.com
# The di...
2007 Feb 14
1
samba3 pdc ldap idealx
...e definitions
#######################################################################
database bdb
suffix "dc=sv,dc=amnetcorp,dc=com"
rootdn "cn=Manager,dc=sv,dc=amnetcorp,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw {SSHA}v6130sVnBx1z/2/c3e7qipTB5Y41TQOu
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/db...
2006 Mar 06
1
Cannot join domain: "The user name could not be found"
...a RedHat)
#
##############################################################################
# Allows not to use smbpasswd (if with_smbpasswd == 0 in smbldap_conf.pm) but
# prefer Crypt::SmbHash library
with_smbpasswd="0"
smbpasswd="/usr/local/bin/smbpasswd"
# Allows not to use slappasswd (if with_slappasswd == 0 in smbldap_conf.pm)
# but prefer Crypt:: libraries
with_slappasswd="0"
slappasswd="/usr/local/sbin/slappasswd"
# comment out the following line to get rid of the default banner
# no_banner="1"
--8<---------------cut here---------------end-...