[Samba] my first samba set-up gives me a headache

Thomas Vito shoktai at gmail.com
Fri Jul 18 10:57:20 GMT 2008


Thanks to your doc there is a slight improvement. I have reinstalled a fresh system and followed chapter 7.
I have made all the checks in the docs:
wbinfo -u wbinfo -g are OK
getent passwd getent group are OK

[root at amsdev-dv09 samba]# net ads info
[2008/07/18 12:52:46, 0] param/loadparm.c:map_parameter(2772)
  Unknown parameter encountered: "template primary group"
[2008/07/18 12:52:46, 0] param/loadparm.c:lp_do_parameter(3512)
  Ignoring unknown parameter "template primary group"
LDAP server: 10.130.12.120
LDAP server name: ams-dc02.eu.acme.com
Realm: EU.ACME.COM
Bind Path: dc=EU,dc=ACME,dc=COM
LDAP port: 389
Server time: Fri, 18 Jul 2008 12:52:46 CEST
KDC server: 10.130.12.120
Server time offset: 0



When i try to browse from an XP machine, it generates logs in /var/log/samba the log file holds the name of my XP machine and contains:

2008/07/18 12:46:16, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 10.130.101.85. Error Connection reset by peer
[2008/07/18 12:46:16, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2008/07/18 12:47:33, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 10.130.101.85. Error Connection reset by peer
[2008/07/18 12:47:33, 0] lib/util_sock.c:send_smb(761)
  Error writing 4 bytes to client. -1. (Connection reset by peer)

On the windows side i get an error Network path was not found.

I noticed a seg fault running a test, not sure why:
[root at amsdev-dv09 samba]# net ads status -U atcapacci
[2008/07/18 12:54:30, 0] param/loadparm.c:map_parameter(2772)
  Unknown parameter encountered: "template primary group"
[2008/07/18 12:54:30, 0] param/loadparm.c:lp_do_parameter(3512)
  Ignoring unknown parameter "template primary group"
atcapacci's password:
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
objectClass: computer
cn: amsdev-dv09
distinguishedName: CN=amsdev-dv09,CN=Computers,DC=eu,DC=acme,DC=com
instanceType: 4
whenCreated: 20080718104544.0Z
whenChanged: 20080718104544.0Z
uSNCreated: 41868269
uSNChanged: 41868275
name: amsdev-dv09
objectGUID: e8546ef0-3d12-4b37-82bb-aa5c40d22a1f
userAccountControl: 69632
badPwdCount: 0
codePage: 0
countryCode: 0
badPasswordTime: 0
lastLogoff: 0
lastLogon: 128608518227703033
localPolicyFlags: 0
pwdLastSet: 128608515446822451
primaryGroupID: 515
objectSid: S-1-5-21-3740640398-491454997-2066221157-10778
accountExpires: 9223372036854775807
logonCount: 4
sAMAccountName: amsdev-dv09$
sAMAccountType: 805306369
dNSHostName: amsdev-dv09.eu.acme.com
servicePrincipalName: HOST/amsdev-dv09.eu.acme.com
servicePrincipalName: HOST/AMSDEV-DV09
objectCategory: CN=Computer,CN=Schema,CN=Configuration,DC=acme,DC=com
isCriticalSystemObject: FALSE
lastLogonTimestamp: 128608515447134933
-------------- Security Descriptor (revision: 1, type: 0x8c04)
owner SID: S-1-5-21-3740640398-491454997-2066221157-512
group SID: S-1-5-21-3740640398-491454997-2066221157-513
------- (system) ACL not present
Segmentation fault


More information about the samba mailing list