Playing with Samba4

Hi
I've recently been "playing" with Samba4 as a test to whether our small business can make use of it.
I've found what I believe to be an oddity (or two) and was after opinions on how normal this is under Arch.
I can join the domain fine, messed about with GPO's and can use the Windows tools to add users to the domains.  The things which are throwing me a little and not what I expected are to do with permissions and ownership of files in shares.
If I log in as a standard user and create a file in a share, there is no problem with it being created, but the default permissions are globally changeable.  Also the owner of the file is not the user that created it, but a numeric id of 3000000 which is BUILTIN/Administrators.  This to me, does not sound normal.  Surely the owner should be the user that created the file?  I have previously used Samba3 and that is how the file shares worked for me.  I was wondering if others had done any tests with Samba4 and if this is normal behaviour under (Arch)Linux?  I realise I can change the "create mask" under the share, but it does not seem to be creating things under the default setting (my smb.conf is bare minimal created when provisioning the domain)
The second thing I've noticed is wbinfo and getent don't pick up the Samba users/groups when run as a normal user, only as root.  This may be standard, but when doing a directory listing as a normal user it means I'm only shown numerical uid/gid's.
smb.conf:
# Global parameters
[global]
workgroup = SAM-TEST
realm = SAM-TEST.LOCAL
netbios name = VM-LX-DC
server role = active directory domain controller
dns forwarder = 192.168.5.254
[netlogon]
path = /var/lib/samba/sysvol/sam-test.local/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[homes]
read only = no
[public]
path = /home/sambashares/Public
read only = no
browseable = yes
Am I just missing something simple here? ;-)
Thanks
Daren

Hmm.. just as an addition, I did a quick install of FreeBSD on Xen and installed their port of S4.  It seems these permissions are something specifically to do with S4, as it defaults to the same even though the man page gives a different mask as default - although under BSD, the files are created under the correct username so I guess there are some slight differences depending on OS.
Off to the Samba lists about the permissions I think....
Edit: In case anybody is further interested, the permission appears to be a bug in the current release (http://www.spinics.net/lists/samba/msg106537.html).  I guess this is what happens to early adopters ;-)
Last edited by Daren (2013-03-15 16:55:15)

Similar Messages

  • How do I use my iPod Touch 4th Generation with air play with my Apple TV?

    Can someone please help me.  I need to find out if my iPod Touch 4th Generation can be used for Air Play with my Apple TV.  When I go to photos I can use Air Play to display them.  But I cannot use airplay for my apps like Facebook, and My games like The Sims.   I am using iOS 6.0.1.  Is that the issue if so, When you be updating the 4th Gen. Touch to be able to use it with the 6.0.2 version.  I beleive Apple can do better with this.  I just purchased my Apple TV yesterday, and I don't want to have to take it back already, because it doesn't work with my iPod 4th Gen.

    Do the games and apps show the AIrPlay option? No all do.
    The second article in my previous reply included:
    From the Videos, iPod, Photos, Music, and YouTube apps on iOS devices, stream videos, music, and photos to an Apple TV (2nd and 3rd generation), or stream music to an AirPort Express or compatible third-party device.
    With iOS 4.3 and later, you can also stream video and audio from a website or a third-party app installed on your iOS device if the developer for the app or website has added AirPlay functionality

  • I was playing with my ipad settings (it's an older model) and noted in the advanced settings of Safari there was a place to view website databases.  When I clicked on this I saw websites.  How do these get there and what does the space amount mean?

    I was playing with my ipad settings and noted in he advanced settings of Safari there was a place to view "website databases".  When I selected this I saw a multitude of websites.
    Can anyone tell me how these get there?  Can a website be posted even if it was never went to?  What does the space amount mean?  For example, 1.5 kb...is this quite a bit?  Would it indicate someone has gone to a site multiple times?
    I share my ipad with my teenage daughter and I'm trying to find out if she's lying to me.  Obviously she's swearing that she has "no idea" how these got there and I'm trying to keep her safe (she's only 14).
    Thanks everyone.
    Concerned Mom

    Think of your PC and the 'temporary internet folder' where it keeps cached copies of web pages or elements off a web page for 'quicker display the next time you visit'. That's pretty much what that folder is. 1.5K is tiny. Probably just a basic page with some text on it. (you might be confusing 1.5K with 1.5 megabyte....megabyte is large...it's roughly 1000 kilobytes, so the 1.5K is a tiny file)
    As far as I know, the only way info gets into that folder is if the browser has been to that site.
    if you have a concern there are browsers out there, McGruff is one i've seen recommended, that allow some degree of parental control and supervision. That or you could passcode lock the iPad or enable the restrictions to turn off some parts of the device to have some control.

  • I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas help me

    I have an ipad mini 1st gen 64 gb (wifi only) and i have problem with some of my apps. These apps have lags when you play with them for a few seconds the apps are having lags are call of duty strike team, gta San Andreas and nfs most wanted.pleas help me

    I'm going to guess videos buffer for a while also...
    Two possibilities, one is you should close apps on the iPad, the other is your internet speed is not able to handle the demands of a high speed device.
    To close apps:   Double click home button, swipe up to close the apps.
    To solve internet problem, contact your provider.   Basic internet is not enough for video games and movies.   Your router may be old and slow.

  • My Game Center won't work on my iPod touch 2nd Gen. It let me sign up but it won't load any of my games and won't let me play with my friends. I don't know why? Any help?

    My ipod touch 2nd Gen let me sign up to game center but it won't load any of my games and won't let me play with my friend. I don't know if it's like this because it is old and slow, or what. Please help me figure this out. Thank You.

    Try:
    - Sign out of Game Center and sign back in
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • HT201303 OK SO I BOUGHT MY 7YEAR OLD DAUGHTERS AN IPOD TOUCH FOR THEIR BIRTHDAY AND THE SECOND THEY START PLAYING WITH THEM ONE SET A PASSWORD TO ENTER THE IPOD AND FORGOT THE PASSWORD. IT SAYS THAT THE IPOD IS ENABLED... HOW DO I FIX THIS PROBLEM? HELP

    I BOUGHT MY 7 YEAR OLD DAUGHTERS A IPOD TOUCH FOR THEIR BIRTHDAY, THE SECOND THEY BEGAN TO PLAY WITH THEM THEY BOTH SET PASSWORDS TO ENTER THE IPOD HOME PAGE, WELL ONE OF MY GIRLS FORGOT THEIR PASSWORD AND NOW IT SHOWS THAT THE IPOD IS ENABLED... HOW SHOULD I GO ABOUT THIS?

    You will need to restore the device from the computer to which the device is synced. For information and instructions, see:
    http://support.apple.com/kb/ht1212
    If that will not work, you'll need to put the device into Recovery Mode and then try the Restore again:
    http://support.apple.com/kb/ht1808
    Forum Tip: It is generally considered inappropriate to type all in uppercase letters in Internet discussions, as text that is typed all in uppercase is by convention considered to be shouting.  Uppercase is also more difficult to read, so please use all uppercase sparingly and only when you really mean to shout, which we hope you won’t need to do here .
    Also, please note that you posted in the iPhone forum.
    Regards.

  • HT5706 trouble staying connected to air play with Apple TV even though my device is still connected to the internet and playing.

    I am having trouble staying connected to air play with Apple TV even though my device is still connected to the internet and playing.

    Troubleshoot the network connectivity issues.
    Power cycling the ATV and router is generally a good place to start.

  • Each time I connect to my IBM computer it crashes with blue screen error message pops up. Apple say that it's my printer/camera drivers. The problem is with iTunes, it likes to play with all the ports on my comp and conflicts with prnt drivers. How to fix

    Does anyone know how to fix this problem without disabling my printer. It's very frustrating. It's either I have my iPad or my printer. iTunes likes to play with the ports on my computer thereby causing a conflict with my printer drivers. Apple should fix this problem, I'm so annoyed.

    When this problem first happened, I searched for threads and found a few.  See be;ow links:
    http://support.apple.com/kb/TS1502
    Apple say that its a driver problem, but I've never had this problem before so I am not convinced. Another thread, which I can't seem to find, suggests that it is an apple problem - itunes plays with the ports on the company causing conflicts with existing drivers. I isolated the conflict to my new Samsung printer. I uninstalled the Samsung printer driver and then can successfully connect my ipad without the blue screen appearing.
    It's not a windows problem. Windows is working fine. Only happens when Ipad is connected. Actually, this first happened after I installed the new version of itunes. I reget installing the new itunes version, but don't know how to reinstall the previous itunes version.

  • HT2953 i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    i-tunes could not be used because the original file could not be found.could not locate.this error occurs on most of my songs in my library and will not play even though they are in my i-pod and play with no trouble.can  anyone please help?

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2)

    I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2) this happens with other music apps too. Please I need help!

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists. If it doesn't work, there isn;t much anyone here can do for you. It may be a physical problem with your speakers.

  • I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

  • When I buy a pre order song how do I get it to play with the rest of the CD?

    When I buy a pre-order song from i tunes, and then purchase the CD the song was from it will not play with the rest of the CD.
    Example: Tori Amos's new CD Unrepentant Geraldines
    I purchased the single Trouble's Lament when it was released, before the CD.
    I just purchased the CD and the song should be #2 on the CD, but its not there, it is listed separately, and will not play with the CD.
    Also, other issue... Free U2 CD, it says its in my Library when I clicked on the CD add in the store. It's nowhere to be found in my library!! I really would love to listen to it since I have several of there CD's and am a big fan
    If anyone can help with either of these issues , I would greatly appreciate it.

    For the single, if you select the track in your library and do 'get-info' (control-I) on it and select its Summary tab on the popup are its details (e.g. album name and artist) the same as for the other tracks on the album ?
    For the U2 album you should be able to download it into your library by ticking the 'show iTunes in the Cloud purchases' tick box on the Store tab in iTunes > Preferences - it should then show in the Music part of your library with a cloud icon against it for downloading (downloading the booklet for it this way may not work, you may get a 'corrupt file' message when trying to open it, though that might have been fixed by now).
    Or go to the Purchased link under Quick Links on the right-hand side of the iTunes store homepage and you should be able to download it from there.
    A third option is to sign out of your account (Store > Sign Out menu option), find the album in the store and then click on its free 'price' button - you should then be prompted to sign back in and the album should download.

  • I am trying to import standard midi file that I created in Band in a Box into Logic Pro 9.  I can not get all the track to play with internal instrument sounds... only the piano track.  how can I get the others to play... drums, bass etc????   Help

    I am trying to import standard midi file that I created in Band in a Box into Logic Pro 9.  I can not get all the track to play with internal instrument sounds... only the piano track.  how can I get the others to play... drums, bass etc????   Help

    Don't drag the midi into an open Logic project. The tracks won't set up correctly.
    'Open' the midi file with Logic as if it were a Logic project. Then all the tracks will be set up so you can start editing them and applying better saved sounds and instruments, but you'll be at a starting place where you can hear what's going on.

  • IMac G5 running OS 10.4.11. Started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup. I can get into safe mode. Tried install disc for disc utility and reloaded OS. Still get blue screen.

    I have an older iMac G5 running OS 10.4.11. The other day I started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup.
    I can get into safe mode. But no regular startup.
    I tried disabling bluetooth, thinking that might be related. It didn't help.
    I even tried using the install disc to run disc utility. That didn't work so I reloaded the OS.
    But I still get hung on the blue screen when trying a normal startup.
    All help would be appreciated.

    Try resetting the PMU/SMU and PRAM/NVRAM. You'd need to identify the mode of resetting depending on the model of your G5 iMac. The Apple support sites that would help you for this are –
    http://support.apple.com/kb/HT1436
    http://support.apple.com/kb/HT1939
    http://support.apple.com/kb/HT1767
    http://support.apple.com/kb/HT1379
    I hope this solves your problem.

  • HT201335 can i use air play with my macbook pro and apple tv

    can i use air play with my macbook pro and apple tv

    AirPlay Mirroring requires a second-generation Apple TV or later, OS X 10.8 or better and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). It also requires the computer to be using wi-fi.

Maybe you are looking for

  • Diary of my painful attempts to use a program for which I have the license

    Hi: I will summarize my painful experience with Excelsius 2008 in the following diary 4-2011: Excelsius 2008 is working OK in the computer where it is installed. (5 months pass by) 9-2011: Excelsius 2008 shows that there is  a "mising or inactive" li

  • How do i read .epm files on my macbook pro?

    I have a hardrive I nned to open and the computoer says it does not recognize it.  In my office mates PC, she says the files end ".epm".  Is there a program I can download to make the disk readible on my macbook pro?

  • PSE 7: Preset Manager Grayed Out

    Hi, Any reason why the preset manager in PSE7 is grayed out?  The attachment will show it better than me explaining it.  It works fine in PSE 4. Tony

  • Impossible to program a Kintex-7 with Vivado Lab Edition 2015.[1,2]

    Hello, I'm trying to program a Kintex-7 160T with a Platform USB Cable and Vivado Lab Edition 2015.1 and 2015.2. The JTAG chain is shown on the screenshot below: It is possible to program very small bitstream (~600KiB). But when the bitstreams become

  • Equivalents of SQL Server sysobjects and syscolumns

    I'm developing some software that nees to work on both SQL Server and Oracle. Just starting on the Oracle version, and the first thing I nede to do is query system tables for the names of tables, columns, datatypes etc. Can anyone tell me what tables