hi matt,

this is the log file that i retrieve from /var/log/samba/log.machinename

[2004/11/17 15:17:02, 0] lib/util_sock.c:get_peer_addr(952)
getpeername failed. Error was Transport endpoint is not connected
[2004/11/17 15:17:02, 0] lib/util_sock.c:write_socket_data(388)
write_socket_data: write failure. Error = Connection reset by peer
[2004/11/17 15:17:02, 0] lib/util_sock.c:write_socket(413)
write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2004/11/17 15:17:02, 0] lib/util_sock.c:send_smb(605)
Error writing 4 bytes to client. -1. (Connection reset by peer)


together i attached by smb.conf file. (actually i copied from a reference from internet)

# Global parameters
[global]
workgroup = SHINYANG
netbios name = SYPDC
interfaces = 172.16.0.222
username map = /etc/samba/smbusers
server string = Samba Server %v
security = domain
encrypt passwords = yes
min passwd length = 3
#obey pam restriction = no
ldap passwd sync = yes
log level = 0
syslog = 0
log file = /var/log/samba/log.%m
max log size = 100000
time server = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1
logon script = STARTUP.BAT
logon drive = H:
logon home =
logon path =


domain logons = yes
os level = 65
preferred master = yes
domain master = yes
wins support = yes
passdb backend = ldapsam:ldap://127.0.0.1/
#ldap admin dn = cn=samba,ou=DSA,cn=root,dc=shinyang,dc=com,dc=my
ldap admin dn = cn=root,dc=shinyang,dc=com,dc=my
ldap suffix = cn=root,dc=shinyang,dc=com,dc=my
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=USers
#ldap ssl = start tls
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
ldap delete dn = yes
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"


   # printers configuration
   printer admin = @"Print Operators"
   load printers = yes
   create mask = 0640
   directory mask = 0750
   nt acl support = no
   printing = cups
   printcap name = cups
   deadtime = 10
   guest account = nobody
   map to guest = Bad User
   dont descend = /proc/,/dev/,/etc/,/lib/,/lost+found,/initrd
   show add printer wizard = yes
   preserve case = yes
   short preserve case = yes
   case sensitive = no

[homes]
   comment = Home directory %U, %u
   read only = no
   create mask = 0664
   directory mask = 0775
   browseable = no

[netlogon]
   path = /home/samba/netlogon/
   browseable = no
   read only = yes

[doc]
   path = /usr/share/doc
   public = yes
   writable = no
   read only = no
   create mask = 0750
   guest ok = yes

[profiles]
path = /home/samba/profiles
read only = no
create mask = 0600
directory mask = 0700 browseable = no
guest ok = yes
profile acls = yes
csc policy = disable
force user = %U
valid users = %U @"Domain Admins"


[printers]
   comment = Network Printers
   printer admin = @"Print Operators"
   guest ok = yes
   printable = yes
   path = /home/spool
   browseable = no
   read only = yes
   printable = yes
   print command = /usr/sbin/lpr -P%p -r %s
   lpq command = /usr/bin/lpq -P%p
   lprm command = /usr/bin/lprm -P%p %j

[print$]
   path = /home/samba/printers
   guest ok = no
   browseable = yes
   read only = yes
   valid users = @"Print Operators"
   write list = @"Print Operators"
   create mask = 0664
   directory mask = 0775

[public]
comment = Public
path = /home/public
browseable = yes
guest ok = yes
read only = no
directory mask = 0775
create mask = 0664
At this moment, all i can get the information from the linux box is as much. later on, i will repost a better log information from windows xp professional client in a much detail manner. pls enlight me, bcz i am really a newbie to samba.


anyway, can a samba 3 susbtitute a windows NT PDC machines?????

thanks!!!!

cheers,
yenonn

MaTT wrote:

Hi, doesn't seems to be a samba related problem. did you check the logs?? anything there?? increase log level ?? check the XP event viewer

regards
MRB
www.lionix.com
Linux

Hiu Yen Onn wrote:

hi,

i have a samba-ldap pdc. from the windows xp client. i hardly logon to the network.
the windows popup a box stating "A device attached to the system is not functioning".
.but however, i tested the account from windows 98. it worked perfectly.
can someone give me some pointers? thanks....







--
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to