Samba: How to find out what is compiled
Morning everyone.
I have a question on samba, and how to find out what options are installed. I'm running RH 8.0 with samba 2.2.7. The samba packages were installed via up2date. My question is, how do I find out what options were configured upon installation. Im trying to compare two machines and I need to find out what options were compiled upon install of these RPMs. Anyone know how to find this out? I really need to figure it out. Thanks. Tarballed |
Sorry - I don't think you can. The most info you can get is probably:
rpm -qi samba Having problems with the new PDC? |
hey david_ross.
For the most part, i've got everything up and running. The only problem im having now is setting up our users software to map to the PDC server. Here is a bit more information: Well, i've finally fixed a number of problems that I was having with my samba/LDAP PDC. Now, its just a matter of setting up some of our users software so they can access the data on the server. I will try and explain this issue as best as I can without being to wordy. :) We use a program called point. Point holds files in multiple directories on the network server. For our instance, it is holding data in directories below /home/point (/home/point/pntdata, /home/point/leads and so forth). The way point works is that each client has a local version of the software installed on their computer. The software is then setup to point to where the data is being held. In this instance, I would setup the software to point to the samba PDC and into the /home/point folders. (Which ever ones I needed to specifically point to.) This is done with a little tool that the program comes with. In a nutshell, it's almost like mapping a network drive to a directory on the server for the program. Now, where it gets interesting and confusing is that it wont actually let me save the settings. Meaning, I can load up the utility to set the network paths, browse to the directory (/home/point/pntdata) have it all set, but when I click on OK, it does not save it. I've checked ownership, permissions, my smb.conf, everything I can think of, but it will not let me map the network path. smb.conf: [Point] comment = Point Program path = /home/point read only = no writable = yes browseable = yes create mode = 660 directory mode = 770 admin users = @domadm valid uisers = @cm /home/ drwxrwx--- 51 root cm 4096 May 29 15:12 point I have made sure that the test user is in fact in the cm group. (The permissions, owner and group are the same down the following directories.) The only other bit of information I can provide is some info from my logs: [2003/05/29 17:37:25, 2] smbd/open.c:open_file(243) bionic opened file PNTDATA/FOLDER.INI read=Yes write=No (numopen=1) [2003/05/29 17:37:25, 2] smbd/open.c:open_file(243) bionic opened file PNTDATA/FOLDER.SEC read=Yes write=No (numopen=2) [2003/05/29 17:37:25, 2] smbd/close.c:close_normal_file(227) bionic closed file PNTDATA/FOLDER.SEC (numopen=1) [2003/05/29 17:37:36, 2] smbd/close.c:close_normal_file(227) bionic closed file PNTDATA/FOLDER.INI (numopen=0) [2003/05/29 17:38:42, 2] lib/access.c:check_access(327) Allowed connection from (192.168.1.220) [2003/05/29 17:38:46, 2] lib/access.c:check_access(327) Allowed connection from (192.168.1.220) [2003/05/29 17:38:51, 2] smbd/open.c:open_file(243) PNTDATA is located in /home/point/PNTDATA Not sure if this can help, but thought i'd put it in here. One quick note: About 1 1/2 months ago, I was doing some testing with our new point software on another samba server. This one worked fine and allowed me to map the drives with problems at all. I pretty much made the owner and group nobody.nobody with 777 permissions. I tried this on my current setup but no luck. Any thoughts? Tarballed |
What about:
rpm -qR samba Looking for something like that? <EDIT> Actually, now that I think about it, thats no good. Try like: rpm -qs samba There are a lot of querying options available I'm just not sure which one you want. </EDIT> |
Can you map the share to a drive in windows explorer and create a file on the drive OK?
|
Quote:
It is very very weird. Im clueless as to what it could be. Tarballed |
My guess is that the file is opened by the program you are using and kept open (bad programming) even when the file is trying to be written. In windows this isn't a problem but in linux it is trying to prevent you from over writing a file.
Try disabling oplocks for those files - put this in the Point share: oplocks = False level2oplocks = False then restart samba and try again. If that works you can do it on a per file basis if you prefer: veto oplock files = /FOLDER.INI/FOLDER.SEC/ |
Hmm....I put that in and still no luck.
I have been doing some brainstorming, trying to think of all the things it could be. Here are a few things I came up with: When I originally tested the program on just a normal linux machine running samba, it worked ok. Nothing fancy was done on the Linux server. It was setup in a workgroup network. The current test setup is in a Domain network. I'm not sure if the program requires additional setting up of things or what. I am going to call them on Monday to find out just exactly how their program works... I've tried everything and I cannot figure it out. I even set it up with map to guest = bad user I can browse to it, create files in it, delete, modify etc. But when I try to setup the network paths in the program, that is where it does not work... Anything else I can do to rule out Samba and pretty much narrow it down to the software? One other thing: I do have ldap running on the PDC. Possible that LDAP is the problem? I dont see why it would be. Thanks. Tarballed |
How about creating a FOLDER.INI file (containing anything you want) and just before you hit the save settings/ok button on th Point program you copy the file manually instead.
|
I'm not sure I fully follow you.
Are you saying create a folder called FOLDER.INI on the samba server? And im not sure about the second part...when you save in the program, it just is an OK button, nothing else. You just havigate, select and click ok and it logs out of the program. Tarballed |
1) get to the point where you click ok (but don't click OK)
2) save a file called FOLDER.INI (using notepad etc) and try to save it over the one that exists on the server. Remember to make a backup of the server vserion first. |
I figured out the problem. The problem is directly related to the software...
I can post what I found through my testing if your interested, but it is due to the program itself... In a nutshell, it does not seem to want to work in a domain type environment... Tarballed |
All times are GMT -5. The time now is 11:54 PM. |