Samba 4.1.12 asking for workgroup password.

Hello
I searched from different sources, but I couldn't get a clear explanation. As of last version of samba everything was working. Now I'm facing a strange behavior which is asking a password to access the workgroup.
My samba installation is 4.1.12-
I seen in the systemctl status :
● samba.service - Samba AD Daemon
Loaded: loaded (/usr/lib/systemd/system/samba.service; disabled)
Active: failed (Result: exit-code) since lun 2014-09-22 15:16:27 CEST; 22min ago
Process: 5777 ExecStart=/usr/bin/samba $SAMBAOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 5778 (code=exited, status=1/FAILURE)
set 22 15:16:26 AsusG75 samba[5777]: samba version 4.1.12 started.
set 22 15:16:26 AsusG75 samba[5777]: Copyright Andrew Tridgell and the Samba Team 1992-2013
set 22 15:16:27 AsusG75 samba[5778]: [2014/09/22 15:16:27.079814, 0] ../source4/smbd/server.c:475(binary_smbd_main)
set 22 15:16:27 AsusG75 samba[5778]: At this time the 'samba' binary should only be used for either:
set 22 15:16:27 AsusG75 samba[5778]: 'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
set 22 15:16:27 AsusG75 samba[5778]: You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
set 22 15:16:27 AsusG75 samba[5778]: [2014/09/22 15:16:27.080096, 0] ../lib/util/become_daemon.c:124(exit_daemon)
set 22 15:16:27 AsusG75 samba[5778]: STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
set 22 15:16:27 AsusG75 systemd[1]: samba.service: main process exited, code=exited, status=1/FAILURE
set 22 15:16:27 AsusG75 systemd[1]: Unit samba.service entered failed state.
I suppose I should change the role in my smb.conf, but I don't know what is the right key to be added.
My test without password
$ smbclient -L 192.168.1.7
Enter user's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
Sharename Type Comment
IPC$ IPC IPC Service (Aspire-5733 server (Samba, Ubuntu))
print$ Disk Printer Drivers
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
Server Comment
Aspire-5733 server (Samba, Ubuntu)
ASUSG75 Asus G75 server
Workgroup Master
WORKGROUP ASPIRE-5733
Any clue ?
EDIT
I found some way to use it again, but I'm not that sure it is the right way.
Commented the line securitu in /etc/samba/smb.conf
Started the service as systemctl start {smbd,nmbd,winbindd}
I'll test some more before render it as solved
Last edited by TheSaint (2014-09-23 22:29:58)

A search didn't return any meaningful results, but as usual, writing a question and posting it offers valuable answers in the "more like this" panel. Problem solved, thanks Apple Communities.
Settings > Store > Log out, then log back in. So far, no prompts. Feels great.

Similar Messages

  • Compressord asks for admin password

    We have a Workgroup manager environment with all Applications in the Applications
    folder being allowed, including Compressor. Sometimes the Application will hang
    in a loop and compressord keeps asking for admin password. An excerpt if the
    system log is below...Any ideas what might be causing this?
    Nov 30 13:29:28 shs-video-017 com.apple.qmaster.qmasterd[48]: 2010-11-30 13:29:28.832 qmasterd[7684:203] * NSTask: Task create for path '/Library/Frameworks/Compressor.framework/Resources/CompressorTranscoder.bundle /Contents/MacOS/compressord' failed: 22, "Invalid argument". Terminating temporary process.
    Nov 30 13:29:28 shs-video-017 com.apple.launchd.peruser.502[130] (com.apple.pbs): Throttling respawn: Will start in 10 seconds
    Nov 30 13:29:28 shs-video-017 SecurityAgent[7685]: com.apple.familycontrols.override|2010-11-30 13:29:28 -0500
    Nov 30 13:29:29 shs-video-017 com.apple.ReportCrash.Root[7635]: 2010-11-30 13:29:29.213 ReportCrash[7635:7933] Saved crash report for qmasterd[7684] version ??? (???) to /Library/Logs/DiagnosticReports/qmasterd2010-11-30-132929localhost.crash
    Nov 30 13:29:30 shs-video-017 qmasterd[7687]: * NSTask: Task create for path '/Library/Frameworks/Compressor.framework/Resources/CompressorTranscoder.bundle /Contents/MacOS/

    Phil Leahy wrote:
    Nov 30 13:29:28 shs-video-017 SecurityAgent[7685]: com.apple.familycontrols.override|2010-11-30 13:29:28 -0500
    Do you have Parental Controls or any other restrictions set up?

  • After IOS 8 upgrade, when I turn my phone on, it asks for a password and none of my passwords seem to work. I have already managed to update my password.

    I upgraded to IOS 8 and now when I turn on the phone, it is asking for a password and I have used every password I have used previously but the phone is not accepting the last one I upgraded to. I did a reset of my password but now have to wait 20 more minutes before I can try to get into my phone. I have no idea as to what to do. Thanks to anyone who can help.

    Could it be your email password, or your exchange pass code ? If that does not work you may need to restore the iPad. Good luck.

  • When trying to update apps it asks for account password but it doesn't show my account. Help!

    When trying to update apps it asks for account password but it doesn't show my account ID, it shows my dad's. How can I fix this so I can sign in?

    It sounds like the apps were purchased using your dads account, so they will have to be updated using that account.

  • IOs 8.1 Mail app keeps asking for iCloud password

    Since the update to iOs 8.1 i have a problem with my mailbox.
    Every time i want to create a new mail, it asks me for my iCloud password.
    This happens on my iPhone (6) and iPad (Air) while im in my iCloud inbox, Gmail inbox, or just the general overview.
    Whenever i press the create new mail icon it will ask for my iCloud password.
    - When i give the iCloud password (correct one) it wont ask for it again in the next 15 mins
    - When i dont give the iCloud password (cancel) i can just send mails but it will ask for the password whenever i create a new mail.
    What i did:
    - Remove iCloud account > reboot > Add iCloud account > didnt solve the problem
    - Remove Keychain  > didnt solve the problem
    - Remove iCloud photo's > didnt solve the problem
    - Remove iCloud mail > still asks for the iCloud password.
    - Remove iCloud > solves the problem but i dont want to remove iCloud
    - Disabled all iCloud options, (mail, contacts, etc) > didnt solve the problem
    - Disabled 2 step verification > didnt solve the problem
    Everytime i want to create a new mail, u see the phone/pad use the "syncing icon" 3x 5 seconds, maybe a link here?
    Anyone else with any ideas that i can try?

    That's interesting that it didn't start to happen after a while on your work iPad. I just tried my iPad this evening and I'm getting the same iCloud password popup message when I try to create a new mail or enable "Contacts Only' in Airdrop.
    I still think it's a problem with our iCloud accounts. Some flag in the system isn't set or something for some reason. I don't even have mail switched on in my iCloud account so there is no valid reason why Mail.app would try and authenticate to iCloud just because we create a new email.
    Signing out of iCloud fixes the issue for me (not that it's a valid long term solution) so that points the finger directly at a setting on my server side iCloud account I think.

  • I want to download an app, but whenever I click on it, it does the spinning in a circle thing but never asks for my password and never downloads, I want to be able to download apps again! What to do?

    I want to download apps, but whenever I click download, it does the spinning in a circle thing but never asks for my password and never downloads, I want to be able to download apps again! How do I fix this?

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • I have the iPhone 4S and I cannot get my apps to download. I will click free then install and then it will ask for my password. Once I enter my password correctly it will verify my password an then it won't do anything. what should I do?

    I have the iPhone 4S and I cannot get my apps to download. I will click free then install and then it will ask for my password. Once I enter my password correctly it will verify my password an then it won't do anything. what should I do?

    I just went through this same process.... I changed my credit card, double checked billing info, changed my password, I restored my phone, but the misake I made was I kept restoring it from my back up.... Finally I went to Apple Store.. and sad to say that you have to do a restore, and DO NOT restore from back up.
    I used Gmail so I didnt loose contacts or email.. but I did loose all my text messages and history of that.
    So, I had the EXACT same problem and it was a software issue.. you have to restore your phone to factory settings and start all over.. BLOWS I know!

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • I am trying to install an app.  When I click install, my old gmail account  shows and asks for my password etc but I have a new gmail account that is associated with my apple id.  How can I get it to default to the new gmail?

    I am trying to install an app in my iphone.  When I click Install, my old gmail account comes up for verification and it asks for my password etc.  I dont use this account anymore and have a new gmail account that is associated with my apple account.  How can I get the new gmail to default when I am trying to install apps?

    Did you create a NEW Apple ID or did you change the email address for your OLD Apple ID? This will affect how you update apps in the future.
    Anyway, go to Settings/iTunes&App Stores, log out, then log in with the new ID.

  • My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve .....

    My AppStore id is my apple id n password which is good when purchasing. But when I am updating from update option it ask for a password. The user id I see there is not mine, it's different. How do I change that to my apple Id? Please help me resolve  this issue. I have tried resetting it but nothing... Either I'm doing something wrong or....

    I believe the issue is with the Apple ID that was used to purchase the App. If you download an App that was purchased under a different Appple ID then all updates will also be linked to the original purchaser's Apple ID. Your Apple ID is the the same ID as your iTunes, iCloud, etc. Some folks use different ID for the different Apple sites. No need for that One ID for all Apple Sites, and if someone else buys an App using their ID and they(you) download that App onto your device and that App requires an update it will ask for the purchasers Apple ID. This happens a lot when folks sell their iPad or give it to someone else and leave some purchased(free) Apps on the iOS device. You cannot change the original ID the App was purchased under. A suggestion would be if someone else has an App that you like but do not want to pay for use their ID or in the future have them gift the App to you.

  • When I try to access the Apple store to install a game on my Iphone3g, another person's email address comes up on the page that asks for my password. Has someone hacked my account? It won't accept my password because it's someone else's ID!!!

    When I attempt to install a game on my I phone 3g, another person's ID (email address) is on the little box where it asks for my password. It won't accept my password because it's not my ID. How can I get this person's ID off my phone?  Have I been hacked or something??

    Just sign put of that account and into yours.
    This is covered in the manual:
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • I have a new email address which I have had verified, but when I try to update an app it asks for my password with the old email address and always comes back telling me it is an incorrect password.

    I Have a new email address which I have entered into settings and it has been verified. I no longer have the old email address. When I try to update an app, it comes up with my old email address and asks for my password. It always comes back with a message that the password is incorrect. What do I do to fix this?

    Hi Vivian Zollman,
    Welcome to the Support Communities!
    I'm not sure if you are referring to your Apple ID or just your email account in the Mail app.  So, I've included all of the articles that may be relevant for you.
    iOS: Setting up an email account
    http://support.apple.com/kb/ht4810
    If you already have an email account set up and you want to modify its settings, tap Settings > Mail, Contacts, Calendars, tap the name of your account, and then your email address. Then tap any information you want to adjust.
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/HT1311
    iCloud: View or change your iCloud payment information
    http://support.apple.com/kb/PH2616
    Cheers,
    - Judy

  • It says I'm logged into my Apple ID on my App Store but when I try to download an app it comes up with my mums Apple ID asking for her password yet I have never used her email or Apple ID to login in? Could this be cause we have back up on same comp?

    It says I'm logged into my Apple ID on my App Store but when I try to download an app it comes up with my mums Apple ID asking for her password yet I have never used her email or Apple ID to login in? Could this be cause we have back up on same comp?

    Bojana321 wrote:
    ... this has only come up today yet it says I'm logged into mine!
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • ITunes keeps asking for my password

    First, it's important to note that what I'm about to describe is happening only in my MacBook Pro account, not on my iMac account; nor is it happening on my wife's MBP account, nor on her iMac account.  In other words, it's highly probable that some (inadvertent) action of mine has actually enabled this annoying 'feature' of iTunes.  I just can't figure out what I can do to stop it.
    The Problem:
    For the past couple weeks, the iTunes application on my MacBook Pro has been displaying (intermittently) an alert to notify me that I need to enter my User Name (supplied) and Password (which I must enter manually) so that it can continue to make "authorized downloads."  Interestingly, iTunes displays this notice irrespective of whether the application is even running at the time.   I understand that iTunes may need to check in periodically (in the background) with the Apple Store, but I can't figure out why it is no longer able to do this without my authorization every single time.  Here are the steps I've tried so far, to no avail:
    a.  iTunes Preferences > General > Check for new software updates automatically (turned off);
    b.  iTunes Preferences > Store > Always check for available downloads (turned off);
    c.  iTunes Preferences > Store > Automatically download pre-orders when available (turned off);
    d.  I have signed out of the Store, Quit iTunes and Logged out.  Then I logged back in, opened iTunes and Signed In to my account again;
    e.  I have selected iTunes > Store > View My Account and turned OFF "Recommendations and Ping Posting;"
    f.   I have selected iTunes > Store > View My Account and clicked the button to "Reset all warnings for buying and downloading;"
    g.  In the very alert containing my User Name and Password I have checked the box beside "Remember Password;"
    h.  About 10 minutes ago, I opened iTunes Preferences and in the Advanced pane, I clicked on the Reset warnings button beside "Reset all dialog warnings." If this most recent effort finally does the trick — I won't know for sure until several more hours elapse — I promise to log in to let everyone know.

    UPDATE 2:  As promised, I am writing to let everyone know that I believe that I finally may have resolved this problem.  The procedure that seems to have resolved the issue on my computer was one that another user, Mandoskier,  reports having resolved the same problem on his computer (https://discussions.apple.com/message/17276790#17276790), in which he reported the following:  "This problem was solved for me by trashing "com.apple.iTunes.plist" from userid/Library/Preferences folder and repairing disk permissions."
    I trashed that file two days ago, and also repaired disk permissions (using Disk Utility) and iTunes hasn’t once asked for my password!
    May not work for everyone, but it’s worth a try if you haven’t yet given this recommendation a shot.  Good luck, all.

  • My mac mail is asking for my password and its the correct one, but it still does not want to connect to the mail? how do i fix this?

    It's asking for a password, i'm putting in the correct one and it's still not working. it says mail cant connect to the account "...."
    please help!

    If you've activated 2-step verification, you need to generate an application-specific password in your Google account and enter it instead of the login password you use on the website.

Maybe you are looking for