Re: [Samba] Excel opens files as read-only
Edvard Fagerholm wrote: Hello! A few users on my network has complained about Excel opening files as read-only. What is weird is that the files aren't. I can open such a file using notepad and write to it, but when the same file is opened in Excel, Excel says it's read-only. Anyone know what the problem is? Workstations run WinXP and office is 2k3. These files are shared between many users, but I don't think it's a locking problem, because I checked that no one else was accessing the files at the same time. Saw something like this (it may not be entirely the same) and was able to reproduce it pretty easily... user_a : create excel file and put something in it, then save, close! user_b : open file, make changes, save, close! user_a : open file ... file will be read only! This seemed to happen because of some semantics that MS office uses when updating a file... Worked around it with "force security mode = 0200" and "dos filemode = yes" Try it out, like I said, it may not be entirely same issue! Thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] schannel issue on samba 3.0.3
Ralf Tomczak wrote: Hi there, I've seen a strange thing not reported yet AFAIK. We have W2K DCs with SP3 with Samba 3.0.2a everything works fine in regard to winbind, but with Samba 3.0.3 winbind produces schannel len 24 errors and 'wbinfo -t' and 'id DOMAIN\userid' doesn't work. Note that wbinfo -u|g works well and a join was successful as well. I tried to tune my krb5.conf but in the end I disabled 'client schannel' in smb.conf. Does anyone know what is going wrong exactly? Is there a reasonable security risk? Please take a look at this, add additional info if required. Also not tht 3.0.4 has been released with some winbindd changes among other things, this might be resolved already! https://bugzilla.samba.org/show_bug.cgi?id=1315 Good luck Thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Build problem on s390 - dynconfig.o
Has anyone had any problems building on SuSE SLES 8 for s390 with all patches applied... After applying patches to my build server last night, building samba fails with the following... mycomp:/srv/build/samba-3.0.2a/source # make Using FLAGS = -O -I./popt -Iinclude -I/srv/build/samba-3.0.2a/source/include -I /srv/build/samba-3.0.2a/source/ubiqx -I/srv/build/samba-3.0.2a/source/smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/srv/build/sa mba-3.0.2a/source LIBS = -lcrypt -lattr -lresolv -lnsl -ldl LDSHFLAGS = -shared LDFLAGS = Generating smbd/build_options.c Building include/proto.h creating /srv/build/samba-3.0.2a/source/include/proto.h Building include/wrepld_proto.h creating /srv/build/samba-3.0.2a/source/include/wrepld_proto.h Building include/build_env.h creating /srv/build/samba-3.0.2a/source/nsswitch/winbindd_proto.h creating /srv/build/samba-3.0.2a/source/web/swat_proto.h creating /srv/build/samba-3.0.2a/source/client/client_proto.h creating /srv/build/samba-3.0.2a/source/utils/net_proto.h Compiling dynconfig.c In file included from /usr/include/asm/statfs.h:6, from /usr/include/linux/vfs.h:4, from /usr/include/linux/fs.h:13, from /usr/include/linux/capability.h:17, from /usr/include/sys/capability.h:24, from include/includes.h:355, from dynconfig.c:21: /usr/include/asm-s390/statfs.h:20: redefinition of `struct statfs' make: *** [dynconfig.o] Error 1 Same thing for 3.0.2a, 3.0.3pre2 and 3.0.3rc1 (didn't try others) Any idea, anyone? Best regards Thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba and W2K AD
FitzGerald, AJ wrote: Hello All, Your typical problemI am trying to configure Samba-3.0.2-6.3E on RedHat Linux. I have spent days trying to get this working. What I would like to do is provide the ability to connect to Samba shares from Windows, more specific, WinXP. What I want to avoid is having to manage user accounts on both the Windows or AD side and the Unix side, thus having authentication handled by AD. As I understand, to do this you set the security in the smb.conf to Domain. Below I have shown my smb.conf file. So far the only way I have been able to get this to work is by setting security=server and password server = ADservername. I have been searching high and low and can't find anything, most all for earlier versions of Samba. One problem is the correct usage of "net join" I have seen is used so many different ways I don't know which is correct but I have been successful in adding the samba server to the domain using "net join -S ADservername -U adminuserID". Here is my smb.conf... [global] workgroup = domainname realm = domainname.com server string = Samba Server log file = /var/log/samba/%m.log max log size = 50 security = domain password server = ADservername (have also tried *) encrypt passwords = yes unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = no os level = 33 wins support = no wins server = winsservername dns proxy = no [Test] comment = Home Directories browseable = no writable = yes public = yes guest ok = yes When I try to run wbinfo -u , after adding the server to the domain successfully, I get "Error looking up domain users." For kicks if I actually try to map to the samba share from an XP desktop I have got one of two errors - no logon server available or - no trust established In the winbind log I get "NT_STATUS_ACCESS_DENIED". I have even bought the O'Reilly book Using Samba, followed the sample setup and still the same problem. Disconcerting I can find concrete answers or examples from such an awesome tool once it works. I am starting to think there is a problem on the AD side of things. Any help would be greatly appreciated. What you really want to do is to configure your kerberos, then use security = ads. do a kinit [EMAIL PROTECTED], supply the password and then do net ads join to join the AD domain... That should work :o) Good luck /Thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba