[Samba-it] Problema dopo l'escuzione del comando "net getlocalsid"

Vincenzo Niro nirovincenzo at gmail.com
Sat Feb 10 14:21:01 MST 2007


linux-suse:/etc/smbldap-tools # net getlocalsid
[2007/02/10 14:18:00, 0] passdb/secrets.c:fetch_ldap_pw(636)
  fetch_ldap_pw: neither ldap secret retrieved!


Questo perchè sto cercando di fare :

________________________________________________________-

Using your favorite ascii
editor<http://en.opensuse.org/index.php?title=Editors&action=edit>,
edit *smbldap.conf* file in */etc/smbldap-tools* directory and modify or add
these lines to it ( i recommend you to build *smbldap.conf* file from
scratch ):

# To obtain you own *SID* number issue command *net getlocalsid*
# And put it below
###############################################################
SID="S-1-5-21-2139989288-483860436-2398042574"

slaveLDAP="127.0.0.1"
slavePort="389"
masterLDAP="127.0.0.1"
masterPort="389"
ldapTLS="0"
verify="require"
cafile="/etc/smbldap-tools/ca.pem"
clientcert="/etc/smbldap-tools/smbldap-tools.pem"
clientkey="/etc/smbldap-tools/smbldap-tools.key"
suffix="dc=example,dc=tld"
usersdn="ou=Users,${suffix}"
computersdn="ou=Computers,${suffix}"
groupsdn="ou=Groups,${suffix}"
idmapdn="ou=Idmap,${suffix}"
sambaUnixIdPooldn="sambaDomainName=foobar.tld,${suffix}"
scope="sub"
hash_encrypt="SSHA"
crypt_salt_format="%s"
userLoginShell="/bin/bash"
userHome="/home/%U"
userGecos="System User"
defaultUserGid="513"
defaultComputerGid="515"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="99"
userSmbHome="\\BAR\homes\%U"
userProfile="\\BAR\profiles\%U"
userHomeDrive="H:"
userScript="%U.cmd"
mailDomain="foobar.tld"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"


_________________________________________________________


-- 
Niro Vincenzo

Contatti:
Personal web page: http://nirovincenzo.googlepages.com/home
FAX: +391782287915
Skype: nirovi
Gaim: nirovi at virgilio.it

*********************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/samba-it/attachments/20070210/e57a0f7a/attachment.html>


More information about the samba-it mailing list