[Samba] help.. please.. help!!!

2011-08-22 Thread Social Demo
hi , sorry if I bother you ,but I need  your help urgently I am installing 
ubuntu with samba as PDC... but I cant make it could you give me some 
manual or any documentation about this... I already follow the documentation 
but when im trying to join a winxp or win7... They can not join to the domain.  
something about SRV error .. 
please, i really need your help

best regards.

carlos

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


Re: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Aaron Kincer
I'm not sure that it's a problem, I just know that when you do a net ads 
join, that value is what tells Active Directory your computer name. At 
least that is how I've seen Samba behave. I don't know what happens if 
you don't have that set. I'm sure someone here knows.


I am a bit confuse by your specification of port 139. Comment out that 
line and see if you have better luck. For giggles, set your server 
string to the same as your hostname and rejoin the domain. Also, have 
you taken other steps to configure AD such as editing your krb5.conf 
file? What OS and Samba version are you running?


Will Holmes wrote:

 Aaron,
  Yes, I left the server string out intentionally because of how the mapped
drive description showed in Windows. Could this be causing my problem?  I
was able to join this server to the domain and I could retrieive a list of
users using the winfo command.

Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 29, 2007 12:21 PM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I see you don't have the server string set.

Have you tried to join this server to the domain with a net ads join 
command?


Will Holmes wrote:
  

Hello all,
 
I haven't been able to solve an issue I am having when copying over


data
  

from a Windows box to a Samba share.  I have found others with the same
issue and I have made some configuration changes to try and solve the


issue
  

but the issue is still lingering.  I want to migrate off my old Windows


box
  

but until I solve this issue I am I cannot move forward.  Please let me


know
  

if you need any further info.  Thanks!!!
 
Here is the two lines I have added to my smb.conf file.  Niether change


did
  

the trick.
   client schannel = no
   smb ports = 139


Here is my smb.config file:

 
# smb.conf is the main Samba configuration file. You find a full commented

# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-01
[global]
   workgroup = FMIC
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   printer admin = @ntadmin, root, administrator
   username map = /etc/samba/smbusers
   map to guest = Bad User
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
   security = ADS
   encrypt passwords = yes
   domain logons = no
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   local master = yes
   wins server =
   wins support = no
   netbios name = FMICLINUX
   add machine script =
   preferred master = auto
   ldap suffix = dc=example,dc=com
   realm = FMIC.FMIC.COM
   idmap uid = 15000-2
   idmap gid = 15000-2
   server string =
   allow trusted domains = yes
   password server = *
   nt acl support = yes
   map acl inherit = yes
   winbind use default domain = yes
   client schannel = no
   smb ports = 139


System Log errors:

 
May 23 12:59:00 fmiclinux /USR/SBIN/CRON[2745]: (root) CMD ( rm -f

/var/spool/cron/lastrun/cron.hourly)│
  │May 23 13:59:00 fmiclinux /USR/SBIN/CRON[2755]: (root) CMD ( rm -f
/var/spool/cron/lastrun/cron.hourly)│
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux sshd[2983]: fatal: Timeout before
authentication for :::10.0.0.158   │
  │May 25 09:00:03 fmiclinux smbd[2263]:   Error writing 51 bytes to


client.
  

-1. (Broken pipe)│
  │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3240]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:03 fmiclinux smbd[3242]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:03 fmiclinux smbd[3240]:   write_socket_data: write


failure.
  

Error = Connection reset by peer │
  │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:write_socket(438)   │
  │May 25 09:00:04 fmiclinux smbd[3240]:   write_socket

FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Will Holmes
 Hello all,

  I put in value for the server string and tried a test copy.  The copy went
along for a little while and I got the Windows lost connection error.  The
copy process is always stopping on the same file which is 185MB.  I was
trying to view the logs but it looks like the copy locked up the server.  

Anyone have any ideas?

Thanks in advance!!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 29, 2007 12:21 PM
To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I see you don't have the server string set.

Have you tried to join this server to the domain with a net ads join 
command?

Will Holmes wrote:
 Hello all,
  
 I haven't been able to solve an issue I am having when copying over
data
 from a Windows box to a Samba share.  I have found others with the same
 issue and I have made some configuration changes to try and solve the
issue
 but the issue is still lingering.  I want to migrate off my old Windows
box
 but until I solve this issue I am I cannot move forward.  Please let me
know
 if you need any further info.  Thanks!!!
  
 Here is the two lines I have added to my smb.conf file.  Niether change
did
 the trick.
client schannel = no
smb ports = 139

 
 Here is my smb.config file:
 
  
 # smb.conf is the main Samba configuration file. You find a full commented
 # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
 # Date: 2004-07-01
 [global]
workgroup = FMIC
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = ADS
encrypt passwords = yes
domain logons = no
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
local master = yes
wins server =
wins support = no
netbios name = FMICLINUX
add machine script =
preferred master = auto
ldap suffix = dc=example,dc=com
realm = FMIC.FMIC.COM
idmap uid = 15000-2
idmap gid = 15000-2
server string =
allow trusted domains = yes
password server = *
nt acl support = yes
map acl inherit = yes
winbind use default domain = yes
client schannel = no
smb ports = 139

 
 System Log errors:
 
  
 May 23 12:59:00 fmiclinux /USR/SBIN/CRON[2745]: (root) CMD ( rm -f
 /var/spool/cron/lastrun/cron.hourly)│
   │May 23 13:59:00 fmiclinux /USR/SBIN/CRON[2755]: (root) CMD ( rm -f
 /var/spool/cron/lastrun/cron.hourly)│
   │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:03 fmiclinux sshd[2983]: fatal: Timeout before
 authentication for :::10.0.0.158   │
   │May 25 09:00:03 fmiclinux smbd[2263]:   Error writing 51 bytes to
client.
 -1. (Broken pipe)│
   │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:03 fmiclinux smbd[3240]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:write_socket_data(413)  │
   │May 25 09:00:03 fmiclinux smbd[3242]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:write_socket_data(413)  │
   │May 25 09:00:03 fmiclinux smbd[3240]:   write_socket_data: write
failure.
 Error = Connection reset by peer │
   │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
 lib/util_sock.c:write_socket(438)   │
   │May 25 09:00:04 fmiclinux smbd[3240]:   write_socket: Error writing 4
 bytes to socket 5: ERRNO = Connection res│
   │~et by peer
 │
   │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
 lib/util_sock.c:send_smb(630)   │
   │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:04 fmiclinux smbd[3242]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:04 fmiclinux smbd[3242]: [2007/05/25 09:00:04, 0]
 lib

Re: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Adam Tauno Williams
On Wed, 2007-05-30 at 08:48 -0400, Will Holmes wrote:
  Hello all,
 
   I put in value for the server string and tried a test copy.  The copy went
 along for a little while and I got the Windows lost connection error.  The
 copy process is always stopping on the same file which is 185MB.  I was
 trying to view the logs but it looks like the copy locked up the server.  
 Anyone have any ideas?

Maybe the issue has nothing to do with Samba.  Have you tried loading
the server with I/O via other means and see if it pukes?

  [global]

You need to set a higher debug level to see anything useful

│May 25 09:00:03 fmiclinux smbd[2263]:   Error writing 51 bytes to
 client.
  -1. (Broken pipe)│
│May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
  Transport endpoint is not connected  │
│May 25 09:00:03 fmiclinux smbd[3240]: [2007/05/25 09:00:03, 0]

It is very possible these kind of messages are not related to your
issue.

-- 
Adam Tauno Williams, Network  Systems Administrator
Consultant - http://www.whitemiceconsulting.com
Developer - http://www.opengroupware.org

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


RE: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Will Holmes
Aaron,
I put in a server string with the same name as the hostname.
I commented out the port 139 line in the smb.conf file.
I restarted smb and winbind and rejoined the Domain.
I verified that the server was joined successfully.
I tried the copy again and the same issue.
I am running Suse Linux Ent Server 9 for IBM Power.
Samba version is 3.0.4-SUSE

Here is my Krb5.conf file
I have replaced some server and domain names for security purposes.

[libdefaults]
#   default_realm = MY.REALM
clockskew = 300
default_realm = myrealm

[realms]
.XXX.COM = {
kdc = myserver
default_domain = XXX.XXX.COM
kpasswd_server = myservername
}
XXX.COM = {
kdc = myservername
default_domain = mydomainname
kpasswd_server = myservername
}
#   MY.REALM = {
#   kdc = MY.COMPUTER
#   admin_server = MY.COMPUTER
#   kpasswd_server = MY.COMPUTER
#   }
#   OTHER.REALM = {
#   kdc = OTHER.COMPUTER
#   }

[domain_realm]
.XXX.COM = XXX.COM
.XXX.XXX.COM = XXX.XXX.COM
#   .my.domain = MY.REALM

[logging]
default = SYSLOG:NOTICE:DAEMON
kdc = FILE:/var/log/kdc.log
kadmind = FILE:/var/log/kadmind.log

[appdefaults]
pam = {
ticket_lifetime = 1d
renew_lifetime = 1d
forwardable = true
proxiable = false
retain_after_close = false
minimum_uid = 0
debug = false
}   


Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 8:47 AM
To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I'm not sure that it's a problem, I just know that when you do a net ads 
join, that value is what tells Active Directory your computer name. At 
least that is how I've seen Samba behave. I don't know what happens if 
you don't have that set. I'm sure someone here knows.

I am a bit confuse by your specification of port 139. Comment out that 
line and see if you have better luck. For giggles, set your server 
string to the same as your hostname and rejoin the domain. Also, have 
you taken other steps to configure AD such as editing your krb5.conf 
file? What OS and Samba version are you running?

Will Holmes wrote:
  Aaron,
   Yes, I left the server string out intentionally because of how the
mapped
 drive description showed in Windows. Could this be causing my problem?  I
 was able to join this server to the domain and I could retrieive a list of
 users using the winfo command.

 Thanks!
 Will

 -Original Message-
 From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 29, 2007 12:21 PM
 To: Will Holmes
 Cc: samba@lists.samba.org
 Subject: Re: [Samba] Help Please! - Copying files from Windows to Samba
 share loses connection

 I see you don't have the server string set.

 Have you tried to join this server to the domain with a net ads join 
 command?

 Will Holmes wrote:
   
 Hello all,
  
 I haven't been able to solve an issue I am having when copying over
 
 data
   
 from a Windows box to a Samba share.  I have found others with the same
 issue and I have made some configuration changes to try and solve the
 
 issue
   
 but the issue is still lingering.  I want to migrate off my old Windows
 
 box
   
 but until I solve this issue I am I cannot move forward.  Please let me
 
 know
   
 if you need any further info.  Thanks!!!
  
 Here is the two lines I have added to my smb.conf file.  Niether change
 
 did
   
 the trick.
client schannel = no
smb ports = 139

 
 Here is my smb.config file:
 
  
 # smb.conf is the main Samba configuration file. You find a full
commented
 # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
 # Date: 2004-07-01
 [global]
workgroup = FMIC
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = ADS
encrypt passwords = yes
domain logons = no
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
local master = yes
wins server =
wins support = no
netbios name = FMICLINUX
add machine script =
preferred master = auto
ldap suffix = dc=example,dc=com
realm = FMIC.FMIC.COM
idmap uid = 15000-2
idmap gid = 15000-2
server string =
allow trusted domains = yes
password server = *
nt acl support = yes
map acl inherit = yes
winbind use

Re: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Aaron Kincer
That's a pretty old version of Samba. There may be some bugs giving you 
fits, but some of the veterans here may know more.


Other than the errors you are seeing in your Samba logs, what behavior 
are you seeing on your Windows box? Are you pushing from the Windows box 
or pulling from the Samba server?


Will Holmes wrote:

Aaron,
I put in a server string with the same name as the hostname.
I commented out the port 139 line in the smb.conf file.
I restarted smb and winbind and rejoined the Domain.
I verified that the server was joined successfully.
I tried the copy again and the same issue.
I am running Suse Linux Ent Server 9 for IBM Power.
Samba version is 3.0.4-SUSE

Here is my Krb5.conf file
I have replaced some server and domain names for security purposes.

[libdefaults]
#   default_realm = MY.REALM
clockskew = 300
default_realm = myrealm

[realms]
.XXX.COM = {
kdc = myserver
default_domain = XXX.XXX.COM
kpasswd_server = myservername
}
XXX.COM = {
kdc = myservername
default_domain = mydomainname
kpasswd_server = myservername
}
#   MY.REALM = {
#   kdc = MY.COMPUTER
#   admin_server = MY.COMPUTER
#   kpasswd_server = MY.COMPUTER
#   }
#   OTHER.REALM = {
#   kdc = OTHER.COMPUTER
#   }

[domain_realm]
.XXX.COM = XXX.COM
.XXX.XXX.COM = XXX.XXX.COM
#   .my.domain = MY.REALM

[logging]
default = SYSLOG:NOTICE:DAEMON
kdc = FILE:/var/log/kdc.log
kadmind = FILE:/var/log/kadmind.log

[appdefaults]
pam = {
ticket_lifetime = 1d
renew_lifetime = 1d
forwardable = true
proxiable = false
retain_after_close = false
minimum_uid = 0
debug = false
}   



Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 8:47 AM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I'm not sure that it's a problem, I just know that when you do a net ads 
join, that value is what tells Active Directory your computer name. At 
least that is how I've seen Samba behave. I don't know what happens if 
you don't have that set. I'm sure someone here knows.


I am a bit confuse by your specification of port 139. Comment out that 
line and see if you have better luck. For giggles, set your server 
string to the same as your hostname and rejoin the domain. Also, have 
you taken other steps to configure AD such as editing your krb5.conf 
file? What OS and Samba version are you running?


Will Holmes wrote:
  

 Aaron,
  Yes, I left the server string out intentionally because of how the


mapped
  

drive description showed in Windows. Could this be causing my problem?  I
was able to join this server to the domain and I could retrieive a list of
users using the winfo command.

Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 29, 2007 12:21 PM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I see you don't have the server string set.

Have you tried to join this server to the domain with a net ads join 
command?


Will Holmes wrote:
  


Hello all,
 
I haven't been able to solve an issue I am having when copying over

  

data
  


from a Windows box to a Samba share.  I have found others with the same
issue and I have made some configuration changes to try and solve the

  

issue
  


but the issue is still lingering.  I want to migrate off my old Windows

  

box
  


but until I solve this issue I am I cannot move forward.  Please let me

  

know
  


if you need any further info.  Thanks!!!
 
Here is the two lines I have added to my smb.conf file.  Niether change

  

did
  


the trick.
   client schannel = no
   smb ports = 139


Here is my smb.config file:

 
# smb.conf is the main Samba configuration file. You find a full
  

commented
  

# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-01
[global]
   workgroup = FMIC
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   printer admin = @ntadmin, root, administrator
   username map = /etc/samba/smbusers
   map to guest = Bad User
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
   security = ADS
   encrypt passwords = yes
   domain logons = no
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   local master = yes
   wins server

RE: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Will Holmes
Aaron,

   I am copying from an administrative file share, on our current Fileserver
(Windows Server 2000), vio a mapped drive on my PC to the samba share.  The
error I see on my PC is Network share is no longer available.  I not
seeing errors in the logs on the Windows file server.

Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 10:59 AM
To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

That's a pretty old version of Samba. There may be some bugs giving you 
fits, but some of the veterans here may know more.

Other than the errors you are seeing in your Samba logs, what behavior 
are you seeing on your Windows box? Are you pushing from the Windows box 
or pulling from the Samba server?

Will Holmes wrote:
 Aaron,
 I put in a server string with the same name as the hostname.
 I commented out the port 139 line in the smb.conf file.
 I restarted smb and winbind and rejoined the Domain.
 I verified that the server was joined successfully.
 I tried the copy again and the same issue.
 I am running Suse Linux Ent Server 9 for IBM Power.
 Samba version is 3.0.4-SUSE

 Here is my Krb5.conf file
 I have replaced some server and domain names for security purposes.

 [libdefaults]
 #   default_realm = MY.REALM
 clockskew = 300
 default_realm = myrealm

 [realms]
 .XXX.COM = {
 kdc = myserver
 default_domain = XXX.XXX.COM
 kpasswd_server = myservername
 }
 XXX.COM = {
 kdc = myservername
 default_domain = mydomainname
 kpasswd_server = myservername
 }
 #   MY.REALM = {
 #   kdc = MY.COMPUTER
 #   admin_server = MY.COMPUTER
 #   kpasswd_server = MY.COMPUTER
 #   }
 #   OTHER.REALM = {
 #   kdc = OTHER.COMPUTER
 #   }

 [domain_realm]
 .XXX.COM = XXX.COM
 .XXX.XXX.COM = XXX.XXX.COM
 #   .my.domain = MY.REALM

 [logging]
 default = SYSLOG:NOTICE:DAEMON
 kdc = FILE:/var/log/kdc.log
 kadmind = FILE:/var/log/kadmind.log

 [appdefaults]
 pam = {
 ticket_lifetime = 1d
 renew_lifetime = 1d
 forwardable = true
 proxiable = false
 retain_after_close = false
 minimum_uid = 0
 debug = false
 }   


 Thanks!
 Will

 -Original Message-
 From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 30, 2007 8:47 AM
 To: Will Holmes
 Cc: samba@lists.samba.org
 Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to
Samba
 share loses connection

 I'm not sure that it's a problem, I just know that when you do a net ads 
 join, that value is what tells Active Directory your computer name. At 
 least that is how I've seen Samba behave. I don't know what happens if 
 you don't have that set. I'm sure someone here knows.

 I am a bit confuse by your specification of port 139. Comment out that 
 line and see if you have better luck. For giggles, set your server 
 string to the same as your hostname and rejoin the domain. Also, have 
 you taken other steps to configure AD such as editing your krb5.conf 
 file? What OS and Samba version are you running?

 Will Holmes wrote:
   
  Aaron,
   Yes, I left the server string out intentionally because of how the
 
 mapped
   
 drive description showed in Windows. Could this be causing my problem?  I
 was able to join this server to the domain and I could retrieive a list
of
 users using the winfo command.

 Thanks!
 Will

 -Original Message-
 From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 29, 2007 12:21 PM
 To: Will Holmes
 Cc: samba@lists.samba.org
 Subject: Re: [Samba] Help Please! - Copying files from Windows to Samba
 share loses connection

 I see you don't have the server string set.

 Have you tried to join this server to the domain with a net ads join 
 command?

 Will Holmes wrote:
   
 
 Hello all,
  
 I haven't been able to solve an issue I am having when copying over
 
   
 data
   
 
 from a Windows box to a Samba share.  I have found others with the same
 issue and I have made some configuration changes to try and solve the
 
   
 issue
   
 
 but the issue is still lingering.  I want to migrate off my old Windows
 
   
 box
   
 
 but until I solve this issue I am I cannot move forward.  Please let me
 
   
 know
   
 
 if you need any further info.  Thanks!!!
  
 Here is the two lines I have added to my smb.conf file.  Niether change
 
   
 did
   
 
 the trick.
client schannel = no
smb ports = 139

 
 Here is my smb.config file:
 
  
 # smb.conf

Re: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Aaron Kincer
I would suggest mounting the share on the Samba server and pull the 
files directly and cut out the man in the middle (your PC).


That's still an old version of Samba. Is this box set in stone as an 
older version of Suse/Samba or have you considered upgrading Suse and/or 
migrating to another (newer) Linux distro? The reason I mention it is if 
you are seeing errors copying files in this instance, I strongly suspect 
you will see unacceptable behavior in other areas. You might find a 
solution eventually, but upgrading has a great chance of solving this 
and other problems that might pop up.


Will Holmes wrote:

Aaron,

   I am copying from an administrative file share, on our current Fileserver
(Windows Server 2000), vio a mapped drive on my PC to the samba share.  The
error I see on my PC is Network share is no longer available.  I not
seeing errors in the logs on the Windows file server.

Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 10:59 AM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

That's a pretty old version of Samba. There may be some bugs giving you 
fits, but some of the veterans here may know more.


Other than the errors you are seeing in your Samba logs, what behavior 
are you seeing on your Windows box? Are you pushing from the Windows box 
or pulling from the Samba server?


Will Holmes wrote:
  

Aaron,
I put in a server string with the same name as the hostname.
I commented out the port 139 line in the smb.conf file.
I restarted smb and winbind and rejoined the Domain.
I verified that the server was joined successfully.
I tried the copy again and the same issue.
I am running Suse Linux Ent Server 9 for IBM Power.
Samba version is 3.0.4-SUSE

Here is my Krb5.conf file
I have replaced some server and domain names for security purposes.

[libdefaults]
#   default_realm = MY.REALM
clockskew = 300
default_realm = myrealm

[realms]
.XXX.COM = {
kdc = myserver
default_domain = XXX.XXX.COM
kpasswd_server = myservername
}
XXX.COM = {
kdc = myservername
default_domain = mydomainname
kpasswd_server = myservername
}
#   MY.REALM = {
#   kdc = MY.COMPUTER
#   admin_server = MY.COMPUTER
#   kpasswd_server = MY.COMPUTER
#   }
#   OTHER.REALM = {
#   kdc = OTHER.COMPUTER
#   }

[domain_realm]
.XXX.COM = XXX.COM
.XXX.XXX.COM = XXX.XXX.COM
#   .my.domain = MY.REALM

[logging]
default = SYSLOG:NOTICE:DAEMON
kdc = FILE:/var/log/kdc.log
kadmind = FILE:/var/log/kadmind.log

[appdefaults]
pam = {
ticket_lifetime = 1d
renew_lifetime = 1d
forwardable = true
proxiable = false
retain_after_close = false
minimum_uid = 0
debug = false
}   



Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 8:47 AM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to


Samba
  

share loses connection

I'm not sure that it's a problem, I just know that when you do a net ads 
join, that value is what tells Active Directory your computer name. At 
least that is how I've seen Samba behave. I don't know what happens if 
you don't have that set. I'm sure someone here knows.


I am a bit confuse by your specification of port 139. Comment out that 
line and see if you have better luck. For giggles, set your server 
string to the same as your hostname and rejoin the domain. Also, have 
you taken other steps to configure AD such as editing your krb5.conf 
file? What OS and Samba version are you running?


Will Holmes wrote:
  


 Aaron,
  Yes, I left the server string out intentionally because of how the

  

mapped
  


drive description showed in Windows. Could this be causing my problem?  I
was able to join this server to the domain and I could retrieive a list
  

of
  

users using the winfo command.

Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 29, 2007 12:21 PM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I see you don't have the server string set.

Have you tried to join this server to the domain with a net ads join 
command?


Will Holmes wrote:
  

  

Hello all,
 
I haven't been able to solve an issue I am having when copying over

  


data
  

  

from a Windows box to a Samba share.  I have found others with the same
issue and I have made some configuration changes to try and solve

RE: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Will Holmes
Aaron,

  This box is not in production yet.  I think the reason this is an older
software distribution is because it is for an IBM power server.  Usually
they are behind in versions.  I agree that if I am running into problems
with just a file copy I probably will run into other issues later on.
Could I upgrade just Samba?  How hard of a task is it to update samba?   I
don't know if I will need a special version since it is an IBM power
version.

Thanks!
Will 

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 11:17 AM
To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I would suggest mounting the share on the Samba server and pull the 
files directly and cut out the man in the middle (your PC).

That's still an old version of Samba. Is this box set in stone as an 
older version of Suse/Samba or have you considered upgrading Suse and/or 
migrating to another (newer) Linux distro? The reason I mention it is if 
you are seeing errors copying files in this instance, I strongly suspect 
you will see unacceptable behavior in other areas. You might find a 
solution eventually, but upgrading has a great chance of solving this 
and other problems that might pop up.

Will Holmes wrote:
 Aaron,

I am copying from an administrative file share, on our current
Fileserver
 (Windows Server 2000), vio a mapped drive on my PC to the samba share.
The
 error I see on my PC is Network share is no longer available.  I not
 seeing errors in the logs on the Windows file server.

 Thanks!
 Will

 -Original Message-
 From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 30, 2007 10:59 AM
 To: Will Holmes
 Cc: samba@lists.samba.org
 Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to
Samba
 share loses connection

 That's a pretty old version of Samba. There may be some bugs giving you 
 fits, but some of the veterans here may know more.

 Other than the errors you are seeing in your Samba logs, what behavior 
 are you seeing on your Windows box? Are you pushing from the Windows box 
 or pulling from the Samba server?

 Will Holmes wrote:
   
 Aaron,
 I put in a server string with the same name as the hostname.
 I commented out the port 139 line in the smb.conf file.
 I restarted smb and winbind and rejoined the Domain.
 I verified that the server was joined successfully.
 I tried the copy again and the same issue.
 I am running Suse Linux Ent Server 9 for IBM Power.
 Samba version is 3.0.4-SUSE

 Here is my Krb5.conf file
 I have replaced some server and domain names for security purposes.

 [libdefaults]
 #   default_realm = MY.REALM
 clockskew = 300
 default_realm = myrealm

 [realms]
 .XXX.COM = {
 kdc = myserver
 default_domain = XXX.XXX.COM
 kpasswd_server = myservername
 }
 XXX.COM = {
 kdc = myservername
 default_domain = mydomainname
 kpasswd_server = myservername
 }
 #   MY.REALM = {
 #   kdc = MY.COMPUTER
 #   admin_server = MY.COMPUTER
 #   kpasswd_server = MY.COMPUTER
 #   }
 #   OTHER.REALM = {
 #   kdc = OTHER.COMPUTER
 #   }

 [domain_realm]
 .XXX.COM = XXX.COM
 .XXX.XXX.COM = XXX.XXX.COM
 #   .my.domain = MY.REALM

 [logging]
 default = SYSLOG:NOTICE:DAEMON
 kdc = FILE:/var/log/kdc.log
 kadmind = FILE:/var/log/kadmind.log

 [appdefaults]
 pam = {
 ticket_lifetime = 1d
 renew_lifetime = 1d
 forwardable = true
 proxiable = false
 retain_after_close = false
 minimum_uid = 0
 debug = false
 }   


 Thanks!
 Will

 -Original Message-
 From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 30, 2007 8:47 AM
 To: Will Holmes
 Cc: samba@lists.samba.org
 Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to
 
 Samba
   
 share loses connection

 I'm not sure that it's a problem, I just know that when you do a net ads 
 join, that value is what tells Active Directory your computer name. At 
 least that is how I've seen Samba behave. I don't know what happens if 
 you don't have that set. I'm sure someone here knows.

 I am a bit confuse by your specification of port 139. Comment out that 
 line and see if you have better luck. For giggles, set your server 
 string to the same as your hostname and rejoin the domain. Also, have 
 you taken other steps to configure AD such as editing your krb5.conf 
 file? What OS and Samba version are you running?

 Will Holmes wrote:
   
 
  Aaron,
   Yes, I left the server string out intentionally because of how the
 
   
 mapped
   
 
 drive description showed in Windows. Could this be causing my problem?
I
 was able to join

Re: FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-30 Thread Aaron Kincer
I haven't gone the roll my own route yet. I have been taking what the 
distros provide. Makes my job of installing patches quicker (not to be 
confused with timelier). Plus it makes rolling out test servers quicker 
if I just take the provided packages. Although I guess if one knows the 
1-2-3 of compiling Samba code by heart, it would be almost as quick.


I don't have any Linux on Power experience. I know Ubuntu 6.06 has a 
Power version. You could give it a try. It will be supported for quite a 
while without requiring a paid subscription unless you want paid 
support. If you are a Suse junkie, I think Suse 10 has a Power version 
as well. Ubuntu 6.06 uses Samba 3.0.22 and integrates quite nicely with 
AD. I don't know what version of Samba Suse 10 has.


Maybe someone reading the list can provide better insight on your 
version of Samba, but I just don't have any experience with it. I can 
tell you that I ran into all sorts of problems trying to integrate an 
older version of Samba into AD. Upgrading to 3.0.22 made all my pain go 
away after I gained functional understanding of extended attributes and 
ACLs (although 3.0.24 gave me all new heartburn). Your mileage may vary.


Will Holmes wrote:

Aaron,

  This box is not in production yet.  I think the reason this is an older
software distribution is because it is for an IBM power server.  Usually
they are behind in versions.  I agree that if I am running into problems
with just a file copy I probably will run into other issues later on.
Could I upgrade just Samba?  How hard of a task is it to update samba?   I
don't know if I will need a special version since it is an IBM power
version.

Thanks!
Will 


-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 11:17 AM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I would suggest mounting the share on the Samba server and pull the 
files directly and cut out the man in the middle (your PC).


That's still an old version of Samba. Is this box set in stone as an 
older version of Suse/Samba or have you considered upgrading Suse and/or 
migrating to another (newer) Linux distro? The reason I mention it is if 
you are seeing errors copying files in this instance, I strongly suspect 
you will see unacceptable behavior in other areas. You might find a 
solution eventually, but upgrading has a great chance of solving this 
and other problems that might pop up.


Will Holmes wrote:
  

Aaron,

   I am copying from an administrative file share, on our current


Fileserver
  

(Windows Server 2000), vio a mapped drive on my PC to the samba share.


The
  

error I see on my PC is Network share is no longer available.  I not
seeing errors in the logs on the Windows file server.

Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 30, 2007 10:59 AM

To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: FW: [Samba] Help Please! - Copying files from Windows to


Samba
  

share loses connection

That's a pretty old version of Samba. There may be some bugs giving you 
fits, but some of the veterans here may know more.


Other than the errors you are seeing in your Samba logs, what behavior 
are you seeing on your Windows box? Are you pushing from the Windows box 
or pulling from the Samba server?


Will Holmes wrote:
  


Aaron,
I put in a server string with the same name as the hostname.
I commented out the port 139 line in the smb.conf file.
I restarted smb and winbind and rejoined the Domain.
I verified that the server was joined successfully.
I tried the copy again and the same issue.
I am running Suse Linux Ent Server 9 for IBM Power.
Samba version is 3.0.4-SUSE

Here is my Krb5.conf file
I have replaced some server and domain names for security purposes.

[libdefaults]
#   default_realm = MY.REALM
clockskew = 300
default_realm = myrealm

[realms]
.XXX.COM = {
kdc = myserver
default_domain = XXX.XXX.COM
kpasswd_server = myservername
}
XXX.COM = {
kdc = myservername
default_domain = mydomainname
kpasswd_server = myservername
}
#   MY.REALM = {
#   kdc = MY.COMPUTER
#   admin_server = MY.COMPUTER
#   kpasswd_server = MY.COMPUTER
#   }
#   OTHER.REALM = {
#   kdc = OTHER.COMPUTER
#   }

[domain_realm]
.XXX.COM = XXX.COM
.XXX.XXX.COM = XXX.XXX.COM
#   .my.domain = MY.REALM

[logging]
default = SYSLOG:NOTICE:DAEMON
kdc = FILE:/var/log/kdc.log
kadmind = FILE:/var/log/kadmind.log

[appdefaults]
pam = {
ticket_lifetime = 1d
renew_lifetime = 1d
forwardable = true
proxiable = false
retain_after_close = false
minimum_uid = 0

[Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-29 Thread Will Holmes
Hello all,
 
I haven't been able to solve an issue I am having when copying over data
from a Windows box to a Samba share.  I have found others with the same
issue and I have made some configuration changes to try and solve the issue
but the issue is still lingering.  I want to migrate off my old Windows box
but until I solve this issue I am I cannot move forward.  Please let me know
if you need any further info.  Thanks!!!
 
Here is the two lines I have added to my smb.conf file.  Niether change did
the trick.
   client schannel = no
   smb ports = 139


Here is my smb.config file:

 
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-01
[global]
   workgroup = FMIC
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   printer admin = @ntadmin, root, administrator
   username map = /etc/samba/smbusers
   map to guest = Bad User
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
   security = ADS
   encrypt passwords = yes
   domain logons = no
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   local master = yes
   wins server =
   wins support = no
   netbios name = FMICLINUX
   add machine script =
   preferred master = auto
   ldap suffix = dc=example,dc=com
   realm = FMIC.FMIC.COM
   idmap uid = 15000-2
   idmap gid = 15000-2
   server string =
   allow trusted domains = yes
   password server = *
   nt acl support = yes
   map acl inherit = yes
   winbind use default domain = yes
   client schannel = no
   smb ports = 139


System Log errors:

 
May 23 12:59:00 fmiclinux /USR/SBIN/CRON[2745]: (root) CMD ( rm -f
/var/spool/cron/lastrun/cron.hourly)│
  │May 23 13:59:00 fmiclinux /USR/SBIN/CRON[2755]: (root) CMD ( rm -f
/var/spool/cron/lastrun/cron.hourly)│
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux sshd[2983]: fatal: Timeout before
authentication for :::10.0.0.158   │
  │May 25 09:00:03 fmiclinux smbd[2263]:   Error writing 51 bytes to client.
-1. (Broken pipe)│
  │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3240]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:03 fmiclinux smbd[3242]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:03 fmiclinux smbd[3240]:   write_socket_data: write failure.
Error = Connection reset by peer │
  │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:write_socket(438)   │
  │May 25 09:00:04 fmiclinux smbd[3240]:   write_socket: Error writing 4
bytes to socket 5: ERRNO = Connection res│
  │~et by peer
│
  │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:send_smb(630)   │
  │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:04 fmiclinux smbd[3242]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:04 fmiclinux smbd[3242]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:04 fmiclinux smbd[3242]:   write_socket_data: write failure.
Error = Connection reset by peer │
  │May 25 09:00:04 fmiclinux smbd[3242]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:write_socket(438)   │
  │May 25 09:00:04 fmiclinux smbd[3242]:   write_socket: Error writing 4
bytes to socket 21: ERRNO = Connection re│
 
Thanks in advance!!
 
Will Holmes
Programmer Analyst
Fremont Insurance Company
Ph: 231-924-0302 Ext. 145
E-Mail: [EMAIL PROTECTED]
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-29 Thread Aaron Kincer

I see you don't have the server string set.

Have you tried to join this server to the domain with a net ads join 
command?


Will Holmes wrote:

Hello all,
 
I haven't been able to solve an issue I am having when copying over data

from a Windows box to a Samba share.  I have found others with the same
issue and I have made some configuration changes to try and solve the issue
but the issue is still lingering.  I want to migrate off my old Windows box
but until I solve this issue I am I cannot move forward.  Please let me know
if you need any further info.  Thanks!!!
 
Here is the two lines I have added to my smb.conf file.  Niether change did

the trick.
   client schannel = no
   smb ports = 139


Here is my smb.config file:

 
# smb.conf is the main Samba configuration file. You find a full commented

# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-01
[global]
   workgroup = FMIC
   printing = cups
   printcap name = cups
   printcap cache time = 750
   cups options = raw
   printer admin = @ntadmin, root, administrator
   username map = /etc/samba/smbusers
   map to guest = Bad User
   logon path = \\%L\profiles\.msprofile
   logon home = \\%L\%U\.9xprofile
   logon drive = P:
   security = ADS
   encrypt passwords = yes
   domain logons = no
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   local master = yes
   wins server =
   wins support = no
   netbios name = FMICLINUX
   add machine script =
   preferred master = auto
   ldap suffix = dc=example,dc=com
   realm = FMIC.FMIC.COM
   idmap uid = 15000-2
   idmap gid = 15000-2
   server string =
   allow trusted domains = yes
   password server = *
   nt acl support = yes
   map acl inherit = yes
   winbind use default domain = yes
   client schannel = no
   smb ports = 139


System Log errors:

 
May 23 12:59:00 fmiclinux /USR/SBIN/CRON[2745]: (root) CMD ( rm -f

/var/spool/cron/lastrun/cron.hourly)│
  │May 23 13:59:00 fmiclinux /USR/SBIN/CRON[2755]: (root) CMD ( rm -f
/var/spool/cron/lastrun/cron.hourly)│
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux sshd[2983]: fatal: Timeout before
authentication for :::10.0.0.158   │
  │May 25 09:00:03 fmiclinux smbd[2263]:   Error writing 51 bytes to client.
-1. (Broken pipe)│
  │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3240]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:03 fmiclinux smbd[3242]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:03 fmiclinux smbd[3240]:   write_socket_data: write failure.
Error = Connection reset by peer │
  │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:write_socket(438)   │
  │May 25 09:00:04 fmiclinux smbd[3240]:   write_socket: Error writing 4
bytes to socket 5: ERRNO = Connection res│
  │~et by peer
│
  │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:send_smb(630)   │
  │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
lib/util_sock.c:get_peer_addr(978)  │
  │May 25 09:00:04 fmiclinux smbd[3242]:   getpeername failed. Error was
Transport endpoint is not connected  │
  │May 25 09:00:04 fmiclinux smbd[3242]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:write_socket_data(413)  │
  │May 25 09:00:04 fmiclinux smbd[3242]:   write_socket_data: write failure.
Error = Connection reset by peer │
  │May 25 09:00:04 fmiclinux smbd[3242]: [2007/05/25 09:00:04, 0]
lib/util_sock.c:write_socket(438)   │
  │May 25 09:00:04 fmiclinux smbd[3242]:   write_socket: Error writing 4
bytes to socket 21: ERRNO = Connection re│
 
Thanks in advance!!
 
Will Holmes

Programmer Analyst
Fremont Insurance Company
Ph: 231-924-0302 Ext. 145
E-Mail: [EMAIL PROTECTED]
 
  


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


FW: [Samba] Help Please! - Copying files from Windows to Samba share loses connection

2007-05-29 Thread Will Holmes
 Aaron,
  Yes, I left the server string out intentionally because of how the mapped
drive description showed in Windows. Could this be causing my problem?  I
was able to join this server to the domain and I could retrieive a list of
users using the winfo command.

Thanks!
Will

-Original Message-
From: Aaron Kincer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 29, 2007 12:21 PM
To: Will Holmes
Cc: samba@lists.samba.org
Subject: Re: [Samba] Help Please! - Copying files from Windows to Samba
share loses connection

I see you don't have the server string set.

Have you tried to join this server to the domain with a net ads join 
command?

Will Holmes wrote:
 Hello all,
  
 I haven't been able to solve an issue I am having when copying over
data
 from a Windows box to a Samba share.  I have found others with the same
 issue and I have made some configuration changes to try and solve the
issue
 but the issue is still lingering.  I want to migrate off my old Windows
box
 but until I solve this issue I am I cannot move forward.  Please let me
know
 if you need any further info.  Thanks!!!
  
 Here is the two lines I have added to my smb.conf file.  Niether change
did
 the trick.
client schannel = no
smb ports = 139

 
 Here is my smb.config file:
 
  
 # smb.conf is the main Samba configuration file. You find a full commented
 # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
 # Date: 2004-07-01
 [global]
workgroup = FMIC
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = ADS
encrypt passwords = yes
domain logons = no
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
local master = yes
wins server =
wins support = no
netbios name = FMICLINUX
add machine script =
preferred master = auto
ldap suffix = dc=example,dc=com
realm = FMIC.FMIC.COM
idmap uid = 15000-2
idmap gid = 15000-2
server string =
allow trusted domains = yes
password server = *
nt acl support = yes
map acl inherit = yes
winbind use default domain = yes
client schannel = no
smb ports = 139

 
 System Log errors:
 
  
 May 23 12:59:00 fmiclinux /USR/SBIN/CRON[2745]: (root) CMD ( rm -f
 /var/spool/cron/lastrun/cron.hourly)│
   │May 23 13:59:00 fmiclinux /USR/SBIN/CRON[2755]: (root) CMD ( rm -f
 /var/spool/cron/lastrun/cron.hourly)│
   │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:03 fmiclinux sshd[2983]: fatal: Timeout before
 authentication for :::10.0.0.158   │
   │May 25 09:00:03 fmiclinux smbd[2263]:   Error writing 51 bytes to
client.
 -1. (Broken pipe)│
   │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:03 fmiclinux smbd[3240]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:write_socket_data(413)  │
   │May 25 09:00:03 fmiclinux smbd[3242]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:03 fmiclinux smbd[3241]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:03 fmiclinux smbd[3241]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:write_socket_data(413)  │
   │May 25 09:00:03 fmiclinux smbd[3240]:   write_socket_data: write
failure.
 Error = Connection reset by peer │
   │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
 lib/util_sock.c:write_socket(438)   │
   │May 25 09:00:04 fmiclinux smbd[3240]:   write_socket: Error writing 4
 bytes to socket 5: ERRNO = Connection res│
   │~et by peer
 │
   │May 25 09:00:04 fmiclinux smbd[3240]: [2007/05/25 09:00:04, 0]
 lib/util_sock.c:send_smb(630)   │
   │May 25 09:00:03 fmiclinux smbd[3242]: [2007/05/25 09:00:03, 0]
 lib/util_sock.c:get_peer_addr(978)  │
   │May 25 09:00:04 fmiclinux smbd[3242]:   getpeername failed. Error was
 Transport endpoint is not connected  │
   │May 25 09:00:04 fmiclinux smbd[3242]: [2007/05/25 09:00:04, 0]
 lib/util_sock.c:write_socket_data(413)  │
   │May 25 09:00:04 fmiclinux smbd[3242]:   write_socket_data

[Samba] Help please

2006-06-02 Thread Jason Gerfen
I am having problems configuring Samba as a stand alone server. Here is 
my smb.conf


[global]
   workgroup = SCL
   netbios name = ODIN
   security = share
   log level = 4

[images]
   comment = ODIN
   path = /odin/images

Here is the information I am recieiving in the log.smbd.

[2006/06/02 07:24:43, 3] auth/auth_sam.c:check_sam_security(264)
 check_sam_security: Couldn't find user 'jason' in passdb.
[2006/06/02 07:24:43, 2] auth/auth.c:check_ntlm_password(317)
 check_ntlm_password:  Authentication for user [jason] - [jason] 
FAILED with error NT_STATUS_NO_SUCH_USER

[2006/06/02 07:24:43, 3] auth/auth.c:check_ntlm_password(219)
 check_ntlm_password:  Checking password for unmapped user 
[EMAIL PROTECTED] with the new password interface

[2006/06/02 07:24:43, 3] auth/auth.c:check_ntlm_password(222)

Any help is appreciated, it used to be a domain member server and I am 
unsure why it is still putting the [SCL]\[username] into the authentication.


--
Jason Gerfen

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


Re: [Samba] Help please

2006-06-02 Thread Gary Dale

Jason Gerfen wrote:
I am having problems configuring Samba as a stand alone server. Here 
is my smb.conf


[global]
   workgroup = SCL
   netbios name = ODIN
   security = share
   log level = 4

[images]
   comment = ODIN
   path = /odin/images

Here is the information I am recieiving in the log.smbd.

[2006/06/02 07:24:43, 3] auth/auth_sam.c:check_sam_security(264)
 check_sam_security: Couldn't find user 'jason' in passdb.
[2006/06/02 07:24:43, 2] auth/auth.c:check_ntlm_password(317)
 check_ntlm_password:  Authentication for user [jason] - [jason] 
FAILED with error NT_STATUS_NO_SUCH_USER

[2006/06/02 07:24:43, 3] auth/auth.c:check_ntlm_password(219)
 check_ntlm_password:  Checking password for unmapped user 
[EMAIL PROTECTED] with the new password interface

[2006/06/02 07:24:43, 3] auth/auth.c:check_ntlm_password(222)

Any help is appreciated, it used to be a domain member server and I am 
unsure why it is still putting the [SCL]\[username] into the 
authentication.




Your smb.conf doesn't look anywhere near complete.

The error you are getting is that it is not finding your user account.
Since your smb.conf doesn't tell which backend to use, it defaults to
smbpasswd. I guess jason  isn't in there.

Your workgroup is still set to SCL, so it may be looking in that domain
for the jason account. If you don't want it do this, change the
workgroup =  line.

I suggest trying SWAT to set up your server. It has a wizard to create a
stand alone server and should flesh out your smb.conf at the same time.
Set up your share using SWAT as well. And read the help information for
security = share. As it says Note that it can be /very/ confusing in
share-level security as to which UNIX username will eventually be used
in granting access.


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


[Samba] help please with winbind...

2005-08-10 Thread Greg Westland
All,
 
Can anyone help me with an issue I seem to be having with my samba/winbind 
(3.0.9) install on Solaris 8. I've got to the stage where Samba and winbind 
seem to be working ok but...
 
The # getent group command returns all the unix groups and only one Windows 
groups - Domain Admins - I think I'm really close with this and am unsure where 
the problem could be.
With the # getent passwd command this works fine and returns all the users in 
Unix and PC Domain with a group id of 11803 for PC accounts but I can't then 
check the PC group name with # getent group|grep 11803 because it doesn't 
list this group only Domain Admins!!!
 
Your help would be greatly appreciated and if more info is needed please let me 
know.
 
Regards
 
Greg
 
 
--
This e-mail, including any attached files, may contain confidential and 
privileged information for the sole use of the intended recipient.  Any review, 
use, distribution, or disclosure by others is strictly prohibited.  If you are 
not the intended recipient (or authorized to receive information for the 
intended recipient), please contact the sender by reply e-mail and delete all 
copies of this message.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] HELP - PLEASE - COMPILE ERROR - VASPRINTF_MULTIPLE_DEFINED

2005-07-12 Thread Saville, Michael
NEED HELP ASAP,

Trying to compile samba with ADS/LDAP/KRB5 support.  Followed
instructions to install heimdal, then openldap, then samba.
Getting errors: vasprintf and asprintf multiply-defined, conflict
between /usr/local/lib/libroken.a and lib/snprintf.o
/usr/local/lib/libroken.a is Heimdal library.  Using latest versions for
heimdal, openldap and samba, with gcc_v3.4.

Really appreciate any help.
Thx
Mike
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Help .. Please !!!

2005-03-08 Thread Bhargav
Dear All,
 
I want help to access my window machine from linux machine , with samba
server configure  on it.
 
Linux - 192.168.0.2 - with samba server
 
Windows 2000 - 192.168.0.1 - with share directory \\FORTEIT\linux_map
file:///\\FORTEIT\linux_map 
 
 
I already create one directory /mnt/share .. ok..
 
Now I want to mount /mnt/share to \\FORTEIT\linux_map
file:///\\FORTEIT\linux_map  ... using smbmount command
 
When trying for the same receive following error ::
 
5360: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
 
 
 
 
So , I can copy files from linux to windows 2000 machine .( want to
automate the process ..)
 
Please guide me for the same..
 
Waiting for your positive reply.
 
Email id ::: [EMAIL PROTECTED] , [EMAIL PROTECTED]
 
 Have A Nice Time..
 
 
Regards,
Bhargav Patel
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Help Please, Net RPC user failed.

2004-01-20 Thread Widi Pradnyana
Hi
I've setup two Samba domain controller, they configured with almost same
values. But one of them can list users by net rpc user, and the other
cannot. This condition make the last one cannot become a domain controller
for Windows Client.

Any suggest for what should I do?

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


[Samba] Help Please!

2004-01-09 Thread Widi Pradnyana
Hi,
I've spent my days configuring Samba client to join to a Samba Domain
Controller, which the database is LDAP at another server.
Right now, i've setup the client with
workgroup = AJK-ITS
security = domain
domain master = no
local master = yes
domain logons = yes
with ldap paramaters to point to LDAP server. Is it effecient enough when
sama client bind directly to the LDAP server? It make difficulties when
make access list to securing the systems.
What configuration should I do to the Samba Client?

Lot of thanks for any answers.

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


[Samba] help please

2003-10-31 Thread Jarrell Jackson
can someone please tell me why everyone else can connect to my samba server but me? I 
mean I even went as far as installing a new OS (down-graded back to win2k). I really 
need help trying to figure out why. If someone can help me in figuring that out, 
please let me know. And by the way...I already tried the router thingsame issue. 
So the router doesnt matter because I disabled the firewall issue. Even my ISP 
connected. So someone please help if at all possible. I would really love to start 
enjoying and seeing how Samba really works.

--
Jarrell T. Jackson, Professional
[EMAIL PROTECTED]
http://members.cox.net/jarrelljackson/
--

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


[Samba] HELP PLEASE! encountered ERRbadpw

2003-09-04 Thread Gangjian Fu
Hi, samba experts!

We got a UNIX machine and would like to share a disk drive with PC users.
However we manage to have one account working, but not any other accounts. I
used `smbpasswd -a user` to add user and password, I made sure the username
and password are the same as UNIX account and the windows account. But
whenever I tried to access the samba server and the disk drive, I'm prompted
to regive my username and password. Further tracing showed that the account
information I gave are invalid. Then I used `smbclient -L samba-server -N`,
I got error msg of
Domain=[] OS=[Unix] Server=[Samba 2.2.0]
tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair in
a Tree Connect or Session Setup are invalid.)

What does that mean? Where should I check the bad password? Thanks a lot!

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


[Samba] HELP PLEASE

2003-08-14 Thread Mark Ford
Hello all, 
I am trying to implement a samba Domain Controller on a small 5
client network main usage will be centralized data storage and local
Workstation Security. Network Back ground All client workstations
are Windows XP pro., the Server is a Clark Connect 1.3 Box. The 
Client PC's are 1.5Ghz with 512MB memory and 10/100 nics, The server
is a 2Ghz 1GB memory and a 10/100 nic. The problem I'm having is
when the Client Work stations connect they get the Following Message
Your Password Expires today Would you like to update. For
Technically inclined people just clicking no and going on with your
life is fine but for the Avg. User this becomes bothersome is there
any way to fix this problem?

Thank you, 
Marc A. Ford, MCP 
www.bbmusa.com 

PS: To send me encrypted e-mail you can use my PGP key which can be found at
http://www.keyserver.net/en/ at the search box just enter my e-mail address
to find my key.  If you don't have encryption software you can find some
good free programs at www.pgp.com and http://www.gnupg.org/  .

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


Re: [Samba] Help please, samba IPv6 support?

2003-06-29 Thread Andrew Bartlett
On Sun, 2003-06-29 at 03:37, [EMAIL PROTECTED] wrote:
 Hi guys
 
 I really need to know if samba have a version with native IPv6 support.
 
 I have tried the patch present in http://v6web.litech.org/samba/ but it seams
 that doesnt works. For example, the smbclient dont understand ipv6 addresses and
 when connecting to machines with ipv6, doesnt detect the ipv6 addresses in 445 port.

I've taken an interest in the IPv6 patches before, but until I can work
with a developer who both understands the full complexities of doing
IPv6 portably, and who has access to a Microsoft implementation, there
is little point.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Help please, samba IPv6 support?

2003-06-28 Thread lordjohn
Hi guys

I really need to know if samba have a version with native IPv6 support.

I have tried the patch present in http://v6web.litech.org/samba/ but it seams
that doesnt works. For example, the smbclient dont understand ipv6 addresses and
when connecting to machines with ipv6, doesnt detect the ipv6 addresses in 445 port.

   Thanx

PS:Sorry my enlish

 




__
O email preferido dos portugueses agora com 
100Mb de espaço e acesso gratuito à Internet
http://www.portugalmail.com/gold/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Help Please!

2002-11-01 Thread Don Collins
I keep getting these errors

[2002/11/01 11:24:02, 0] lib/util_sock.c:read_socket_data(507)
  read_socket_data: recv failure for 4. Error = Connection reset by peer

I have also seen write_socket_data errors. We have checked the switches and
see no errors on them. These are various clients, some win2k,98,Nt4 etc. I
have tried different versions of samba and made my smb.conf as basic as
possible. Any help would be greatlly appreciated, This has been going on
for two weeks and users are getting mad because they get disconnected.

Thanks

[global]
workgroup = DOMAIN
netbios name = CAD
server string = Samba
security = SERVER
encrypt passwords = Yes
update encrypted = Yes
password server = PASSWDSRV1,PASSWDSRV2
username map = /usr/local/samba/lib/users.map
max log size = 50
local master = No
wins server = XXX.XXX.XXX.XXX
oplock break wait time = 10
lock dir = /usr/local/samba/locks
#   alternate permissions = Yes

[homes]
comment = Home Directories
read only = No
create mask = 0644
browseable = No

[usr1]
path = /gnc
read only = No
create mask = 0664

Don Collins
Unix Administrator
Orbital Sciences Corporation

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



Re: [Samba] Help Please!

2002-11-01 Thread jra
On Fri, Nov 01, 2002 at 11:27:28AM -0500, Don Collins wrote:
 I keep getting these errors
 
 [2002/11/01 11:24:02, 0] lib/util_sock.c:read_socket_data(507)
   read_socket_data: recv failure for 4. Error = Connection reset by peer
 
 I have also seen write_socket_data errors. We have checked the switches and
 see no errors on them. These are various clients, some win2k,98,Nt4 etc. I
 have tried different versions of samba and made my smb.conf as basic as
 possible. Any help would be greatlly appreciated, This has been going on
 for two weeks and users are getting mad because they get disconnected.

Usually that error means the client disconnected with a TCP RST packet.
Samba doesn't know why. Us a network sniffer to catch a client doing
this and then investigate the networking hardware/software between
that client and the server.

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