[Samba] Cannot exec program from network drive after 10 minutes
Hi list, following (very strange) problem: An ordinary windows user has mapped a drive F: on \\LUN1\Programme (running samba-3.0.20b-3 debian). The program F:\Network\PMail V3\Pegasus Mail\winpm-32.exe is being started, this works. But after about 10 minutes, the same program start fails with invalid path or filename. When accessing the F: drive via Windows-Explorer, the drive is being reconnected and the call of the winpm-32.exe is successful again. What the heck could be wrong here? I have attached loglevel-10 logfiles and my smb.conf as .tar.gz. Please help, I've got stuck in deep mud here. Many thanks regards, -Andreas. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Share disconnect after inactivity
Dmitriy Kirhlarov schrieb: Hi, On Fri, Nov 25, 2005 at 04:33:47PM +0100, Andreas Schlager wrote: Hi list, I've the strange problem, that after some time of inactivity a share is being disconnected. This leads to a red 'X' in the Workplace's list of connected drives. When opening a disconnected drive, the drive is being reconnected. look to deadtime option in smb.conf(5) WBR Hi Dimitriy, deadtime is set to 0 (= default value). Maybe the documentation is wrong here?? (it says: A deadtime of zero indicates that no auto-disconnection should be performed.) Or could it be a problem in the implementation? I've googled around and found that windows servers (NT4 and above) have a default disconnect time from 15 minutes. But with a windows server this wasn't a problem for me at any time. Regards, -Andreas. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Share disconnect after inactivity
Hi list, I've the strange problem, that after some time of inactivity a share is being disconnected. This leads to a red 'X' in the Workplace's list of connected drives. When opening a disconnected drive, the drive is being reconnected. BUT: This has a very fatal side-effect: When f.e. an MS-Access database is open and the user does not use this db, the share is also being disconnected. The connection is not restored, when the user works again in the access-db. My question: Is this a windows-behaviour or is this from the samba? The disconnected drives (marked with the red 'X') I can see also on machines connected to a Windows PDC, but no problems with access occurs there. Many thanks in advance! Here some snips of my smb.conf: [global] workgroup = LUNGOETZ netbios aliases = LUNGOETZ1 server string = %h server (Samba %v) passdb backend = ldapsam:ldap://127.0.0.1/ enable privileges = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 debug uid = Yes time server = Yes printcap cache time = 60 printcap name = cups add user script = /usr/local/sbin/smbldap-useradd -m %u delete user script = /usr/local/sbin/smbldap-userdel %u add group script = /usr/local/sbin/smbldap-groupadd -p %g delete group script = /usr/local/sbin/smbldap-groupdel %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 add machine script = /usr/local/sbin/smbldap-useradd -w %u logon script = login.kix logon drive = E: domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins support = Yes ldap admin dn = cn=admin,dc=lun1,dc=kaindl,dc=com ldap delete dn = Yes ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Computers ldap passwd sync = Yes ldap suffix = dc=lun1,dc=kaindl,dc=com ldap ssl = no ldap user suffix = ou=Users utmp = Yes remote announce = 172.16.0.4 remote browse sync = 172.16.0.4 panic action = /usr/share/samba/panic-action %d idmap uid = 1-1 idmap gid = 1-1 template homedir = /home/samba/%D/%U template shell = /bin/bash admin users = xxx, yyy, zzz printer admin = xxx, yyy, zzz map acl inherit = Yes acl check permissions = No printing = cups print command = lpq command = %p lprm command = veto files = /*.eml/*.nws/*.{*}/ veto oplock files = /*doc/*.xls/*.mdb/ hide files = /Access_QS/ [IPC$] path = /tmp [netlogon] comment = Network Logon Service path = /home/samba/Netlogon write list = administrator, aschlager, crettenbacher guest ok = Yes locking = No [profiles] comment = Profile Share path = /home/samba/Profiles read only = No create mask = 0700 directory mask = 0700 profile acls = Yes [homes] comment = Home Directories valid users = %U read only = No create mask = 0700 directory mask = 0700 browseable = No acl group control = Yes inherit owner = Yes inherit permissions = Yes [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = Administrator, crettenbacher, aschlager, root guest ok = Yes [Programme] comment = Programme path = /home/samba/Programme read only = No create mask = 0770 directory mask = 0750 acl group control = Yes inherit owner = Yes inherit permissions = Yes [EMail] comment = Pegasus Mailfolder path = /home/samba/Users/EMail read only = No create mask = 0700 directory mask = 0700 acl group control = Yes inherit owner = Yes inherit permissions = Yes Regard, -- M. Kaindl Holzindustrie Kaindlstraße 2 A-5071 Wals/Salzburg Andreas Schlager, IT -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Cannot change File Attributes
Hi list, i've upgraded Samba 3.0.14a to 3.0.20b (debian package) and ran into following problem: I cannot change the file-attribute (read-only, hidden, archive) from a file via the windows explorer as an ordinary user. The error access denied occurs. The file has following permissions on Unix: -rwxrw 1 root Massen 0 2005-10-28 08:17 Neu Textdatei.txt The user is named ewlun and is member of the Group Massen. The share where the user writes this file has following settings: [Programme] comment = Programme path = /home/samba/Programme read only = No create mask = 0770 directory mask = 0750 acl group control = Yes inherit owner = Yes inherit permissions = Yes If the Administrator-user is trying to change the file-attributes, this works in following way: Before set to read only: -rwxrw 1 root Massen 0 2005-10-28 08:17 Neu Textdatei.txt After set to read only: -r--r- 1 root Massen 0 2005-10-28 08:17 Neu Textdatei.txt BUT: It is possible to edit the file (f.e. via 'Notepad')! After saving the file has following permissions again: -rwxrw 1 root Massen 18 2005-10-28 08:27 Neu Textdatei.txt This behaviour is new in 3.0.20b, with 3.0.14a this was working as expected. -- M. Kaindl Holzindustrie Kaindlstraße 2 A-5071 Wals/Salzburg Andreas Schlager, IT -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dear Members - Samba Problem
Hi Nagendra, suggest following: mkdir -p /usr/local/samba/var/locks Regards, Andreas. Nagendra KV schrieb: Dear Members, [...] But the var/locks directory doesn't exits Also when I run ./testparm ERROR: lock directory /usr/local/samba/var/locks does not exis ERROR: pid directory /usr/local/samba/var/locks does not exist [...] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dear Members - Samba Problem
Hi Nagendra, in smb.conf there is a parameter called socket options which defaults to TCP_NODELAY. As stated in smb.conf documentation: ou may find that on some systems Samba will say Unknown socket option when you supply an option. This means you either incorrectly typed it or you need to add an include file to includes.h for your OS. Maybe you have to do something on your OS. Regards, -Andreas. Nagendra KV schrieb: Hi Andreas, Thanks, the issue is eliminated , but when I tried see the shared files ./smbclient -L servername Unknown socket option TCP_NODELAY protocol negotiation failed Need help on this Thanks Regards Nagendra KV -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2 samba servers on different subnets
Paul Littlefield schrieb: Hi All [...] I have just set up Network #2 and would now like to give these clients access to the file share on Network #1 (via the Tinc VPN)... AND... still keep a local PDC with roaming profiles. NETWORK #1 Range: 192.168.0.0/24 Tinc/Samba PDC Server: 192.168.0.200 Workgroup: ABCLTDGROUP NETWORK #2 Range: 192.168.50.0/24 Tinc/Samba PDC Server: 192.168.50.200 Workgroup: ABCLTDGROUP [...] Hi Paully, as I can see of your descr. you should do the following: - change the workgroup on NETWORK #2 to something else (f.e. BBCLTDGROUP) - Install Trust Relationship between the two PDC's as described in the samba HOWTO's. - Use WINS so that the clients can see the remote side. IMHO this should work. -Andy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: storing of roaming profile fails
Michael Lueck schrieb: Andreas Schlager wrote: a strange problem occurs in samba 3.0.8 (Debian 3.0.8-2 package): You need to pull the Debian 3.0.9 package from samba.org and update. There was a problem copying files to servers in 3.0.8 which was quickly resolved in 3.0.9. Hi Michael, now the 3.0.9 Debian packages are available, and now it works! Many thanks! -Andreas. -- M. Kaindl Holzindustrie Kaindlstraße 2 A-5071 Wals/Salzburg Andreas Schlager, IT EMail: [EMAIL PROTECTED] Phone: +43/662/8588-1420 F A X: +43/662/8588-2030 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] storing of roaming profile fails
Hi list, a strange problem occurs in samba 3.0.8 (Debian 3.0.8-2 package): When a Domain-User tries to log off (WinXP SP2), the workstation fails to store the profile in the PROFILE-Path. The message cannot store \\SERVER\Profiles\Administrator\Recent pops up. But this is only the half truth. The directory for the user (f.e. Administrator) is been created. A few files are copied (NTUSER.DAT, NTUSER.DAT.LOG, ntuser.ini). Sometimes directories (like Start Menu) are created. I've done this before with Samba 3.0.5, and there are no problems like this. There was a message on this list before that described this problem (Tue Nov 9 12:32:29 GMT 2004, from andreas at conectiva.com.br, subject: [Samba] Confused with profile filesystem permissions). Pls. help! Kind regards, -Andy. -- M. Kaindl Holzindustrie Kaindlstraße 2 A-5071 Wals/Salzburg Andreas Schlager, IT EMail: [EMAIL PROTECTED] Phone: +43/662/8588-1420 F A X: +43/662/8588-2030 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] codepage-conversion for smbclient
Hi Frank, thanks for your reply! It helped a lot! The problem was the 'user' parameter in the mount options. I think, this was a valid parameter in a old version of smbmount, but now I cant't find it in the documentation. Maybe this is a tiny bug in smbmount. When omitting this parameter, it works as expected! Thanks a lot! -Andreas. Am 30 Oct 2002, um 17:04 Uhr schrieb Frank Matthieß: On Wed, Oct 30, 2002 at 04:26:54PM +0100, Andreas Schlager wrote: Hi list, I've browsed through the archives, but I didn't find a answer for this: I use smbclient to access a windowsNT 4.0 server. I get only '?' for filenames which contains Umlauts. F.e., a file called Verknüpfung is displayed as Verkn?pfung. I use following mount-string: mount.smbfs //SERVER/Share /home/xxx -o rw noexec nosuid nodev user codepage cp850 iocharset iso8859-1 credentials /etc/credentials You got no error messages with exactly this commandline? I try this between (2.4.18 on debian sid agains nt server 4.0) mount -t smbfs\ //ntserver1b/C$ \ -o rw, \ credentials=smbfs.credentials, \ codepage=cp850, \ iocharset=iso8859-1 /mnt/tmp and have no Problems reading öäüÖÄÜß's in file and dirnames. I played around with the codepage and iocharset option, but without success. Version of mount.smbfs: 2.2.3a-6 for Debian Kernel: 2.4.18 (I386) smbmount Version 2.2.5-1 for Debian -- Frank Matthieß[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] codepage-conversion for smbclient
Hi list, I've browsed through the archives, but I didn't find a answer for this: I use smbclient to access a windowsNT 4.0 server. I get only '?' for filenames which contains Umlauts. F.e., a file called Verknüpfung is displayed as Verkn?pfung. I use following mount-string: mount.smbfs //SERVER/Share /home/xxx -o rw noexec nosuid nodev user codepage cp850 iocharset iso8859-1 credentials /etc/credentials I played around with the codepage and iocharset option, but without success. Version of mount.smbfs: 2.2.3a-6 for Debian Kernel: 2.4.18 (I386) The ugly thing is, that on a old machine running samba 2.2.2debian-2, Kernel 2.4.9 this works fine. I get nuts! Please help! Many thanks, -Andreas. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba