First I need to start off by saying I've been a tech for Windows environment for almost 20 years now. With that being said, I've never touched unix/linux/aix before so all of this is new to me. If you can bare with me, I'll gladly provide any configs/logs you may need to help me.
I'm having an issue with SAMBA where the file contents are not refreshed immediately after the server (aix) changes the file. I have a program in windows that is reading a file across a SAMBA share. When I make changes to the file from the server side, the next file read still contains the old stale data content. If I read the file about 30 seconds later, the new content is displayed. My question is, is there any way to force these data to update immediately?
I've read somewhere that adding "refresh = 1" to the config file would do the trick but that doesn't seem to be working and isn't recognized by "testparm" anyway. I've also read that adding "kernel oplocks = yes" would do the trick but no go on that either.
Here is everything I can think to include:
I need to add that this is a centrify modified version of SAMBA to allow direct integration into their product, but they're saying this isn't their problem because the portion they modify for this doesn't affect this issue.
If there is more information necessary, please let me know and I'll add it.
Moderator's Comments:
Please use code tags. You got a PM with an explanation.
I finally did get this working. It was a combination of adding the other oplocks parameter (oplocks = no) along with adding the "csc policy = disable" to my shares. After adding those to the server I actually had to reboot any clients that had accessed the shares previously. Once rebooted, they all started refreshing immediately and working perfectly.
I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users.
The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Hello,
I am trying to update Samba on my AIX 7.1 system as there is an issues with it, the smbd process coredumps and I have had no luck figuring it out why.
My approach is to try to re-install a newer samba and I have found the latest 3.x package for samba in ppc.rpm format at perlz.org
... (6 Replies)
Please help, I'm wicked... :confused:
I'm trying to get Samba to work on an IBM pseries machine (AIX 5.3) to provide access to the server for a user to retrieve reports from her WinXP desktop. I've made the proper entires in the smb.conf file and tried runing the smbpasswd command to add the user... (4 Replies)
Hello, I need assistance installing Samba on AIX 5.3 TL06. Smitty Install produces the following error message:
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
geninstall -I "a -cgNQqwXY -J" -Z -d... (5 Replies)
I have 11 AIX (a mix of 4.3.3.0 and 4.3.2.0) on which I succesfully installed a Samba server. On two other systems, the smbd start command generates the following error message. Anybody ?
itocroot@TAGEN010: /usr/local/samba/bin $ ./smbd start
exec(): 0509-036 Cannot load program ./smbd because... (0 Replies)
I have never installed Samba before and am having trouble. I downloaded the opt-samba-base.tar and the opt-samba-3.0.26a-AIX5 file as well and while it appears they both installed okay but it never created the /etc/samba or /usr/local/samba directories - just the /opt/pware/samba directory. I... (2 Replies)
I am looking for a way to issue a command or string of commands to repeatedly display new files that are written to the directory. I usually use ls -ltr to see the newest files at the bottom of the screen. I would like to automate this command to refresh what is displayed every second or so. Can... (3 Replies)
I'd like to make my AIX 5.3 box a member of my Windows 2003 AD. Is this possible? If so, what are the steps? What I'm really after is a way for my windows users to access files on my Samba shares with the exact same permissions, owner, etc. as they use when accessing files on a windows directory. (1 Reply)
Hi All,
Great forums, a wealth of knowledge. We have just replaced our server room screen with a nice 15" LCD. We run CDE as the gui at the console. I think the refresh rate is too high for the LCD as I get an out of range error message on the screen.
Can anyone point me in the right... (1 Reply)
Hi all
I want to know how do I create a print queue using samba on AIX enviroment to print to file. Setup step require. Anyone please help me on this.
Vincent (2 Replies)