SAMBA Refresh problem for AIX


 
Thread Tools Search this Thread
Operating Systems AIX SAMBA Refresh problem for AIX
# 1  
Old 10-02-2013
Bug SAMBA Refresh problem for AIX

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:

Code:
AIX version 6.1
smbclient -V = Version 3.6.9-cdc-4.5.5-222
smb.conf global section:
[global]
security = ADS
realm = PFSGROUP.LOCAL
workgroup = PFSGROUP
netbios name = pfs-cubs-aix
refresh = 1
kernel oplocks = yes
auth methods = guest, sam, winbind, ntdomain
machine password timeout = 0
passdb backend = tdbsam:/etc/samba/private/passdb.tdb
change notify timeout = 0

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:
Mod Comment Please use code tags. You got a PM with an explanation.

Last edited by zaxxon; 10-03-2013 at 06:05 AM..
# 2  
Old 10-03-2013
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

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)
Discussion started by: linuxsnake
14 Replies

2. AIX

New to AIX need help Installing/Upgrading Samba on AIX 7.1?

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)
Discussion started by: c3rb3rus
6 Replies

3. AIX

Using SAMBA in AIX 5.3

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)
Discussion started by: trandall
4 Replies

4. AIX

Installing Samba on AIX 5.3

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)
Discussion started by: tgray71
5 Replies

5. AIX

Samba on AIX 4.3

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)
Discussion started by: Frans Graux
0 Replies

6. UNIX for Dummies Questions & Answers

Samba on AIX 5.3

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)
Discussion started by: capeme
2 Replies

7. UNIX for Dummies Questions & Answers

Refresh ls list on screen (auto-refresh)?

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)
Discussion started by: skidude
3 Replies

8. AIX

Samba 3.0 and AIX 5.3

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)
Discussion started by: adamteam
1 Replies

9. AIX

AIX 5.3 monitor refresh rate

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)
Discussion started by: dj.brown
1 Replies

10. AIX

Setting Up Samba for AIX

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)
Discussion started by: vwong
2 Replies
Login or Register to Ask a Question