Samba UID/GID syncing between server/client

I'm very confused about this. I'm trying to get a file share server up and running which is used by several people. I've only configured a Samba server so far for one user to use. The UID and GID of the users do not match on the server and client, and as a result I can't write to the share.
More detailed explanation: The share on the server is owned by user "john" and group "data". The user john has a different UID on the client and the group data does not exist on the client (does it need to exist?). So the share shows up in the client as 1001:1001 and john can't write to it. How can this be fixed in an easy manner? I can't imagine having to manually adjust all uid's and gid's? There has to be an easier way, right?

You shouldn't need to sync u/gid's. 
The first thing that comes to my mind here is simple filesystem perms.  To test I would make the shared dir world/group readable/writeable - IE chmod 777 /my/shared/folder. then try connecting from the remote client.  Remember, there are two sets of access permissions...Share level and filesystem level.
You can do user/group mapping if you're in a Windows AD or domain environment, but with stand-alone Samba servers this is not necessary.
I would also check the samba check list at the following link for a decent, simple set of items to look at for basic troubleshooting...
http://us3.samba.org/samba/docs/man/Sam … nosis.html

Similar Messages

  • Encrypted packets between server - client (swf file)

    hello guys,
    can some1 know how can i decrypt some packets which are sended between server - client (swf file) ?
    ty

    You shouldn't need to sync u/gid's. 
    The first thing that comes to my mind here is simple filesystem perms.  To test I would make the shared dir world/group readable/writeable - IE chmod 777 /my/shared/folder. then try connecting from the remote client.  Remember, there are two sets of access permissions...Share level and filesystem level.
    You can do user/group mapping if you're in a Windows AD or domain environment, but with stand-alone Samba servers this is not necessary.
    I would also check the samba check list at the following link for a decent, simple set of items to look at for basic troubleshooting...
    http://us3.samba.org/samba/docs/man/Sam … nosis.html

  • Time sync between server and client

    Hi guys,
    I have written a chess server and client. My next step is to implement a clock which will be used in timed games, however, I am not sure of the best solution. I can't think of a reliable method to keep the client's time in sync with the servers because the event latency varies between individual events and clients.
    My first idea was to send a 'tick' event every second but I dont think this the best solution. I have seen many applet based clients which have timers, such as Yahoo chess.
    I know this question is a little vague, I can give more detail if needed.
    Thanks,
    Alex

    To prevent client-side cheating, the server should keep the
    "official" clock. Every so often (perhaps when a move gets made?),
    notify both clients of the official time. Clients count seconds from
    that official time.
    This is a suboptimal solution because it leaves clients vulnerable
    to network lag. I can't think of any other solution that doesn't give
    clients some responsibility for tracking time, though, and that's a
    big security hole.
    If you're willing to open that hole, have each client report back to
    the server the elapsed local time from when they recieved the
    last move to when they made their move. Then update the other
    client's clock accordingly.

  • Trouble sync between Agentry Client (SAP IM 4.0) and SMP 3.0

    Hi,
    I have deployed and configured the SAP Inventory Manager 4.0 mobile app on SMP 3.0 and connected to backed (SAP) which was prepared with the corresponded add-ons and all that stuff. But something happened, I have two PDTs (Motorola MC9100), when I was configure the first one, I have installed the agentry client with unencrypted mode and started the syncronization... at some point the sync process logs: This client does not support an encrypted application and the syncronization stops. As there was nothing I can do with this unencrypted client, I uninstalled this client from that device, erase all the data and install the client again but as an encrypted client. When I started the sync, was so problematic (and still is) to download all the configurations and definition even after several attemps of sync that device with the server, each time the client throws an error Communication failed (14) and sometimes it throws Communication failed - Server error (3). At the end, I configured the other device which has no problem with the client because I install the encrypted client from the start and the sync runs perfect (so the configuration and communication between SMP and Backend is OK), but with the first PDT, I think something is inconsistent because I can't make the full initial transmit yet...and I don't know how to fix it if for some reason the sync stops as my case and then that device can't sync again .. I don't know if I can reset the client or something to make it work... I thought uninstalling the client will help me but no it isn't.
    Please help
    Bill Froelich Stephen Streeter Mark Pe Omar Candelaria

    Hi Stephen Streeter
    The error normally happened when receiving a replacement of definition for the application.... the weird thing is with the other device the initial transmit works OK. One question about copying the Agentry Client Folder from the working to non-working device: If I copy this folder, Is this client tied up with the same user I  executed the transmit on the "good" device? 
    Why on SMP if I use the same user on different devices... I only see one application connection? How can I get a different application connection for each device no matter the user I log on the application client?
    BR,
    Mariana

  • App that syncs between Server and i-Device

    Hi,
    I'm working for a construction company. We have a lot of pictures but, for the moment, we can't really use them for good purposes. We are investigating the possibility to give iPad's to our constructionsite leaders so they can access these photographs really simple and if it's possible also offline.
    All these photographes are located on a central server, structured per construction site.
    Now we are looking for an easy-to-use app that gives us the possibility to sync our iPad's with a specific folder on that server. But we want to store the photos offline (on the iPad) aswell. In a perfect scenario, the constructionsite leader enters our WiFi network, the iPad automaticly checks on the server if there are any chances to the content of the specified folder and if there are any changes, the iPad should sync with that folder.
    I allready tested some apps and ios features. For example:
    - (Shared) Photo Stream. This looks great but we have to many pictures to make this system workable for our end users.
    - Good reader: This app is the closest I got to find the perfect solution. The only problem is that the sync option is not functioning superb. The app creates a new directory on the iPhone each time it syncs. + the synchronisation has to be started manually.
    - Dropbox: Limited capacity
    - MobilEcho: Looks promising but couldn't get it to work properly
    - and all kinds of different, small apps...
    Is there an app out there go could forfull my needs?
    Would be very gratefull for some help!
    kind regards,
    Jeremy Poot

    - Dropbox: Limited capacity
    You can buy more space.
    For syncing pc or mac folders to iPad applications.
    "Using SugarSync, you simply designate folders that you want to “sync” to the cloud and it keeps everything in sync anytime you make changes.  This is the way cloud storage should be done and especially if you are using your iPad for buisness or for school."
    The only potential downside is that so many apps for the iPhone/iPad come with Dropbox sync built in which makes it extremely convenient.
    http://www.tcgeeks.com/best-ipad-cloud-sync-app/
    Doug says:
    "This can be done with Dropbox as well using one of the many Dropbox addons…"
    http://wiki.dropbox.com/DropboxAddons

  • Communication between two clients

    In Java Networking, communication between server-client or bwtween server-multiple clients is general. But How will be the communication between two cients, means two clients can send & receive messages to & from each other(being guided by server).

    Sorry,
    I didn't get your reply clearly.
    I want, if Server is running, and two clients(two instance of a same program) are opened, whatever message(string)client1 send to Server,then the Server needs to send those to client2.Again, the some response should come from client2 to client1 thru Server.
    How can I implement this?
    If you have idea, or some sample code about this, please let me know.
    Regards.

  • MaxDB Server/client upgrade

    Hi,
    Can anyone please let me know the difference between server & client software. If i upgrade client only with out server are there any backdrops.
    What components are going to get upgraded when i do client only or both.
    Thanks in advance

    > Can anyone please let me know the difference between server & client software. If i upgrade client only with out server are there any backdrops.
    Hi Koby,
    just a remark: if you don't know what client and server software means, you probably shouldn't install/update anything like it.
    Anyhow, let's see if we can give an answer to your question.
    The database client software is the software used to use the database.
    It includes different client libraries for programmers, dba tools like dbmcli and sqlcli.
    The jdbc driver is a part of the client software as well.
    On the other hand the server component includes things like the x_server, the dbmserver executable and the MaxDB kernel as well.
    Be aware that in this context the distinction between client and server is made on the software layer.
    It's about the roles that the different programs play in the system and not about on which machine the software is installed.
    Therefore you will typically find all the client software parts also on the database server.
    It useful to have it there, as most often we want to be able to access the database also when we're logged on to the database server.
    On any client computer (the SAP Web Application servers would be the clients of the database here) on the other hand, you will just have the client packages installed because there we don't need any part of the server programs.
    Now if you ask what happens when you just upgrade the client software and leave the server software as it is, we already know that you're talking about the machine on which the database server runs.
    Due to the software structure of MaxDB (release dependent and independent parts), it is possible to upgrade the client software and leave the database software alone.
    The client software belongs to the independent parts and therefore does not impair the software the database kernel runs with.
    Anyhow, since you need to stop the whole MaxDB software when you're raising the version of the independent software part (which is used in a shared manner by all MaxDB components on the same machine), just upgrading the client software would be wasting the downtime of the system.
    Since you should perform the upgrade on the test systems first and perform tests on them afterwards (somehow this part of the test system concept seems to be the most overlooked one) you can be sure that the upgrade of the server components won't harm your system - in fact usually a patch should remove bugs and or improve performance and reliability.
    Therefore: when on the database server and installing a patch - patch your database as well!
    best regards,
    Lars

  • NFS problem between RedHat Client and Solaris Server

    Hi all, we are experiencing a problem between a RedHat client and a Solaris 10 server. For the purposes of this post, I'll call the Redhat client server A and the Solaris 10 server B.
    Server B is exporting a filesystem that server A is trying to mount. Server A can successfully mount the exported file system, however, strange things are happening. If I change to the exported mount point on server A and create a file, the file is owned by nobody:nobody, not the user that created the file.
    A look at the file on server B shows the file has the correct UID and GID (ie the UID & GID of server A).
    The fstab file on server A looks like this:
    serverB:/data /data nfs4 rsize=32768,wsize=32768,hard,nointr,rw,bg,actimeo=0,timeo=300,suid 0 0
    Does anyone have a explanation for this?
    NB: There is a firewall between server A and server B. A firewall rule is in place to allow traffic between the two servers on port 2049
    Stewart

    Hi
    If I change to the exported mount point on server A and create a file, the file is owned by nobody:nobody, not the user that created the file.On a NFS share, for security reasons, you normally dont have root provileges.
    A file createt as root user will be mapped to nobody:nobody.
    The behaviour you see is correct.
    If you want the file to be createt as root, you have to export the filesystem with -o ro,anon=0
    NFSv3 will be blocked by your firewall.
    Franco

  • Connection between SDM client and server is broken

    Dear All,
    First of all this is what I have
    -NW04 SPS 17
    -NWDS Version: 7.0.09 Build id: 200608262203
    -using VPN connection
    -telnet on port 57018 is succesfull
    I can login to SDM server (from NWDS and from SDM GUI) I can see the state of SDM(green light), restart it, can navigate through tabs in GUI, but every time I am trying to deploy an ear i have this error:
    Deployment exception : Filetransfer failed: Error received from server: Connection between SDM client and server is broken
    Inner exception was :
    Filetransfer failed: Error received from server: Connection between SDM client and server is broken
    I have already read a lot of topics,blogs,notes but didn't find the solution.
    Can anybody help me?
    Best Regards

    Having same issue. Nothing helped so far... Using NWDS 7.0 SP18.
    I have turned SDM tracing on and this is what I see on client side after sending first data package:
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0280/17 Client: finished sending string part"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0280/0 Client: receive String part from Server"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl.receiveFromServer(NetComm ..): Entering method
    com.sap.bc.cts.tp.net.NetComm.receive(): Entering method
    com.sap.bc.cts.tp.net.NetComm: debug "Method "receive(char[])" could not read all requested bytes. There are still 12 bytes to read"
    com.sap.bc.cts.tp.net.NetComm: debug "Caught IOException during read of header bytes (-1,          43):Connection reset"
    com.sap.bc.cts.tp.net.NetComm: debug "  throwing IOException(net.id_000001)"
    com.sap.bc.cts.tp.net.NetComm.receive(): Exiting method
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: Exiting method
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0281/1 Client: connection was broken"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: Exiting method
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: debug "20120224140253 0281/0 Client: finshed sendAndReceive"
    com.sap.sdm.is.cs.cmd.client.impl.CmdClientImpl: Exiting method
    My connection on server is still active so I have to restart SDM server to reset and try it again.
    Anyone have idea whats happening?
    Edited by: skyrma on Feb 24, 2012 2:46 PM
    Edited by: skyrma on Feb 24, 2012 2:47 PM
    Edited by: skyrma on Feb 24, 2012 2:47 PM

  • How to enable traffic between VPN clients in Windows Server 2012 R2?

    Hello, 
    I installed Remote Access role with VPN.
    IPv4 Router is enabled: http://snag.gy/UAMY2.jpg
    VPN clients should use static ip pool: http://snag.gy/REjkB.jpg
    One VPN user is configured to have static ip: http://snag.gy/TWwq0.jpg
    VPN server uses Windows Authentication and Windows Accounting.
    With this setup, VPN clients can connect to server, get ip addresses and can see server via server's vpn ip. Server can connect to VPN clients too (Using client's vpn ips). But VPN clients can't communicate with each other.
    For example, VPN server has ip 192.168.99.5
    VPN Client 1 - 192.168.99.6
    VPN Client 2 - 192.168.99.7
    I am able to ping 192.168.99.5 from both clients, and able to ping 192.168.99.6 and 192.168.99.7 from server via remote desktop. But I am not able to ping 192.168.99.7 from client 1 and 192.168.99.6 from client 2.
    If I trace route from 192.168.99.6 to 192.168.99.7 - I can see that packets goes to server (192.168.99.5) and next hop - request timeout.
    What else should I configure to allow network traffic between VPN clients?

    Hi,
    To better analyze this issue, would you please post the routing tables on the two VPN clients? You can run "route print" at the command prompt to get the routing table.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Perform Client import/export SCC8 with different release component between server

    Dear All
    Isn't possible to perform Client import/export SCC8 with different release component between server.?
    Currently the condition of between two system as follows
    Source Server     : SAP ECC6.0, Component SAP_APPL, release 602 level 16
    Target Server     : SAP ECC6.0, Component SAP_APPL, release 600 level 24.
    This problem happens due we was unable to downgrade the release and patch the latest support pack of SAP_APPL reelease 600.
    Thank You, your help is much appreciated.

    No..

  • Data streaming between server and client does not complete

    Using an ad-hoc app, data streaming between server
    and client does not complete as it supposed to be.
    The process runs well in solaris 5.8, however under 5.9
    we have found the characters stream buffer length limitation
    is around 900 to 950 characters (by default we are using 3072
    characters).
    Example:
    - We are transfering HTML file, which will be displayed
    in the App client, with buffer=3072, the HTML only displayed / transfered
    as xxxxxxxx characters, but with buffer=900 the HTML is displayed properly,
    in this case, the only problem that we have is the file transfer will
    eventually longer than usual.
    - There is another case, where we have to transfer information (data) as stream
    to the client. A long data stream will not appear at all in the client.
    Any ideas why the change between 5.8 and 5.9 woudl cause problems?
    The current app-driver that we are using is compiled using Solaris 5.6,
    if possible we would like to have use of a later version, which is compiled using Solaris 5.9, do you think this will probably solve our problem?
    Thanks
    Paul

    Does this have anything to do with Java RMI? or with Java come to think of it?

  • Serialize the object between Server and Client?

    Hello friends,
    What is the important to Serialize the object between server and client?
    Thanks
    tamilvanan

    in which context ??
    Anyways,checkout the below link and try to understand how do we convert Serializable Object's State to in Stream and send it over network.
    http://java.sun.com/j2se/1.4.2/docs/guide/serialization/examples/index.html
    Hope that might help :)
    REGARDS,
    RaHuL

  • Bandwidth between server and client

    HI
    What is the minimum bandwidth can be allocated between server and client?

    Hi,
    Your question has no standard answer. The minimum bandwidth is variable to each specific system. It depends on many other factors too.
    Thanks,
    Gordon

  • Speed between server and client when using FML

    I using FML between server and client, the server access oracle using only 5 ms, but when tranfer back to client, it about 100ms long. I tuned my hp-ux 11 kernel and tuxedo config file, but useless, Why?

    Hi Tumecan,
    Your expected information available here, check.
    Frontend Network Load - Network Integration Guide (BC-NET) - SAP Library
    few related SAP Notes:
    164102 - Network load between application server and front end
    500235 - Network Diagnosis with NIPING
    62418 - Network Load of SAPGUI Frontend Communication
    679918 - The front-end network time
    578118 - Long response times on the SAP GUI
    161053 - Using SAP GUI in WAN
    Regards,
    V Srinivasan

Maybe you are looking for

  • ? IDEAS FOR A CONTOLLER CARD FOR ATA 400 GB HD??

    Hi Chaps, The Nitty Gritty: Seeking an inexpensive PCI controller card to unlock the full size & speed of my newly installed 400 GB Seagate Ultra ATA HD, which is currently limited to the 137 MB cap of my oldschool Quicksilver G4. Looking for widely

  • SOAP Fault for Application errors

    Hi, I would like to know whether it is OK to raise a SOAP fault for Application or system level exceptions. For example, I'm searching for a user with an ID as request , If the ID is invalid(User is not found) is it OK to raise the SOAP Fault. Let me

  • Inspection plan copy model

    Hello, How to extend the Inspection plan from one plant to another plan by copy model. The Master inspection characteristic were not getting extended, for ex when we coped from A- B , Header, Operation , Material assignment get copied , but the  Mast

  • NY Times Book  Review and Consumer Reports On Nook App

    I subscribe to these magazines on my Color Nook.  On the Nook App on my Ipad2, I get an error message saying they can't be dowloaded.  Why do the Ipad ads state you can read magazines on it when in fact there are several magazines that you can't down

  • Finance Security Definition

    Hi, How in generally Security total can be calculated in Accounts receivable for a customer in BW. The defintion we have :This is the sum of all securities held in A/R, using special G/L postings with the following special G/L indicators H Cash secur