Coder Social home page Coder Social logo

Comments (6)

MarvAmBass avatar MarvAmBass commented on June 9, 2024

thanks, it seemed to me there are more issues with the container, I've retagged and pushed servercontainers/samba:a3.16.2-s4.15.7-r0 to latest again.

I'll investigate the whole thing - thanks for the hint with the other persons issue!

from samba.

gravufo avatar gravufo commented on June 9, 2024

Seems like you made a small typo while pushing :D
image

Nonetheless, I tried the servercontainers/samba:a3.16.2-s4.15.7-r0 tag and it doesn't seem to work either. I'll keep trying older tags and see if one is working and report back.

EDIT: Tried each version of alpine available on DockerHub and they all fail. Either it hasn't worked for quite a while (doesn't make sense, cause your setup would have been broken as well) or there's some weird thing going on on my side...

from samba.

MarvAmBass avatar MarvAmBass commented on June 9, 2024

ohh thanks, I just pushed t again :)

it works on my machine, even with the broken version from a few days ago.
I get some wierd logs but nothing bad and everything is working

the alpine build log for the samba packages also seemed fine.

I have another open bug ticket, were it seems to have a problem with latest debian - testing I guess. I'm not sure if they broke it, maybe some other new packages breaks my containers I'm not sure. with current stable debian it works just fine.

what kind of host os do you use? I checked the commit you added in your first message, this would create system users, but I explicitly don't want to have system users as a samba user. they are per definition not system users in my optinion

from samba.

MarvAmBass avatar MarvAmBass commented on June 9, 2024

it tells you, that uid 1000 is in use, which is strange, I don't create a default user, alpine doesn't ship with one.
samba packages also doesn't seem to ship one.

maybe you can use a more random id 1051 and check what user is blocking uid 1000.

from samba.

MarvAmBass avatar MarvAmBass commented on June 9, 2024

I found some strange thing, as far as I can see in your config, there is a conflict in it:

      ACCOUNT_admin: password
      UID_admin: 1000
      GROUPS_admin: admin
      GROUP_admin: 1000

group admin is autocreated and should not be explicitly added. the group feature is meant for groups you explicitly specify to share files across users.

in your case, adduser or addgroup creates a group/user with 1000 and blocks the other program from using it - this might explain the message, that uid 1000 is already taken. I create the groups first so that they are available on user creation/handling

just remove the GROUP lines in your config and everything should work as expected

      ACCOUNT_admin: password
      UID_admin: 1000

from samba.

gravufo avatar gravufo commented on June 9, 2024

Thanks a lot for helping, you're totally right, it was indeed the group messing everything up :(

Really appreciate the time and effort!
Have a good one :)

from samba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.