[Samba-it] replay: problemi di connessione di xp

mucimon francmuci at gmail.com
Thu Nov 30 22:50:01 MST 2006


fede ha scritto: 
> smb.conf ?
>
> smbldap-tools configurati correttamente ?
>
> smbldap-populate andato a buon fine ?
>
> ...
>
>
> Fede
Pronti... :9

#smb.conf

[global]
unix charset = LOCALE
workgroup = mucimon
netbios name = pdc-srv
interfaces = eth0, lo
bind interfaces only = Yes
enable privileges = Yes
username map = /etc/samba/smbusers
log level = 128
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
show add printer wizard = No
ldap admin dn = "cn=admin,dc=mucimon,dc=ath,dc=cx"
ldap ssl = off
passdb backend = ldapsam:ldap://server.mucimon.ath.cx
#   passdb backend = ldapsam:ldap://localhost/
ldap delete dn = yes
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
ldap suffix = dc=mucimon,dc=ath,dc=cx
ldap passwd sync = yes
add user script = /usr/sbin/smbldap-useradd "%u"
;delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
;delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usrsbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
pam password change = yes
domain master = yes
preferred master = yes
local master = yes
domain logons = yes
os level = 75
admin users = @"Domain Admins"
logon path =
logon drive =
logon home =
logon script =
dont descend = /proc,/dev,/etc,/lib,/lost+found,/sys,/initrd
inherit permissions = yes
inherit acls = yes
map acl inherit = yes
nt acl support = yes
browseable = yes
writable = yes
guest ok = no
#veto files = /.DS_Store/
create mode = 0664
directory mode = 0775
create mask = 0664
directory mask = 0775
map archive = no
map hidden = no
map system = no
wins support = yes
wins proxy = yes
time server = yes
enhanced browsing = yes
unix extensions = yes
server signing = auto
security = user
restrict anonymous = 1
encrypt passwords = true
lanman auth = yes
ntlm auth = yes
max protocol = NT1
min protocol = CORE

seguono configurazioni  utente

#smbldap.conf

SID="S-1-5-21-xxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx"
sambaDomain="mucimon"

slaveLDAP="10.0.x.x"
slavePort="389"

masterLDAP="10.0.x.x"
masterPort="389"

ldapTLS="0"
verify=""
cafile=""
clientcert=""
clientkey=""

suffix="dc=mucimon,dc=ath,dc=cx"
usersdn="ou=People,${suffix}"
computersdn="ou=People,${suffix}"
groupsdn="ou=Groups,${suffix}"
idmapdn="ou=Idmap,${suffix}"
sambaUnixIdPooldn="sambaDomainName=mucimon,dc=mucimon,dc=ath,dc=cx"

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="45"

userSmbHome="\\pdc-srv\home\%U"
userProfile="\\pdc-srv\profiles\%U"
userHomeDrive="X:"
userScript="%U.cmd"

mailDomain="mucimon.ath.cx"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"

no_banner="1"

#smbldap-populate -u root -k 0

Using workgroup name from sambaUnixIdPooldn (smbldap.conf):
sambaDomainName=mucimon
Using builtin directory structure
entry dc=mucimon,dc=ath,dc=cx already exist.
entry ou=People,dc=mucimon,dc=ath,dc=cx already exist.
entry ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry ou=People,dc=mucimon,dc=ath,dc=cx already exist.
entry ou=Idmap,dc=mucimon,dc=ath,dc=cx already exist.
entry sambaDomainName=mucimon,dc=mucimon,dc=ath,dc=cx already exist.
Updating it
...
failed to modify entry: uidnumber: value #0 invalid per syntax at
/usr/sbin/smbldap-populate line 453, <GEN1> line 7.
entry uid=Administrator,ou=People,dc=mucimon,dc=ath,dc=cx already exist.
entry uid=nobody,ou=People,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Domain Admins,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Domain Users,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Domain Guests,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Domain Computers,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Administrators,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Print Operators,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Backup Operators,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.
entry cn=Replicators,ou=Groups,dc=mucimon,dc=ath,dc=cx already exist.

mmm questo messaggio d'errore lo vedo adesso per la prima volta.

-- 

Francesco Muciaccia
Mail: mucimon at lugbari.org
Pub: 1024D/AECAD4CE Servers: keyserver.linux.it subkeys.pgp.net
Instant_Mail: 393491484278 at biz.tre.it
Voice: +393491484278
Voip: +390802148261




More information about the samba-it mailing list