[K12OSN] open samba share
Doug Simpson
simpsond at leopards.k12.ar.us
Thu May 4 16:28:38 UTC 2006
I will try to go this route. . .Don't have O'Reilly's book, but do have
another samba manual from someone else. . .Somewhere around here. . .
May visit samba.org, too. . .
Thanks for all your help guys!
I'll leave you alone with it now. . .
Doug Simpson
Technology Specialist
DeQueen Public Schools
DeQueen, AR 71832
simpsond at leopards.k12.ar.us
Tux for President!
On Thu, 4 May 2006, Huck wrote:
> a quote from Ch. 4 of the 'Using Samba' book from O'Reilly.
>
> add user script:
>
> There are two ways in which add user script can be used. When the Samba
> server is set up as a PDC, it can be assigned to a command that will run
> on the Samba server to add a Win NT/2k/XP computer acct to Samba's
> passwd db. When the user on the Win System changes the computer's
> settings to join a domain, he is asked for the username and password of
> a user who has admin rights on the domain controller. Samba auths this
> user and then runs the 'add user script' with root perms.
>
> When Samba is configured as a domain member server, the 'add user
> script' can be assigned to a command to add a user to the system. This
> allows Win clients to add users that can access shares on the Samba
> system without requiring an admin to create the account manually on the
> Samba host.
>
> delete user script:
>
> There are times when users are automatically delted from the domain, and
> the 'delte user script' can be assigned to a command that removes a user
> from the Samba host as a Win server would do. However, you might not
> want this to happen because the Unix user might need the acct for
> reasons other than use with Samba, so be careful.
>
>
> Not sure how helpful that is... but that's what the book says ;)
>
> --Huck
> caveat...I use the first method of the 'add user script' to add machines
> to the domain...but the users already exist in my scenario they aren't
> dynamically created and deleted.
>
> Doug Simpson wrote:
> > So if I put adduser in there on the share using root preexec then it will
> > create the unix account and that will allow samba to connect and use a
> > share created by the user withh adduser?
> >
> > Don't you have to run smbpasswd -a <username> also?
> >
> > I will try it with just adduser first and see what happens. . .
> >
> > Thanks!
> >
> > Doug Simpson
> > Technology Specialist
> > DeQueen Public Schools
> > DeQueen, AR 71832
> > simpsond at leopards.k12.ar.us
> > Tux for President!
> >
> > On Thu, 4 May 2006, Les Mikesell wrote:
> >
> >> On Thu, 2006-05-04 at 11:00, Doug Simpson wrote:
> >>> I am wanting a dumb share available without having to have usernames and
> >>> passwords entered on the linux server, but still have the smb set up with
> >>> security = server. .
> >>>
> >>> Not possible is it?
> >>>
> >>> I guess I will just have to add the users on the linux server. . . RATS!
> >> I think if you use winbindd authentication on the linux side
> >> the users would be there automatically. Otherwise all you
> >> need is the 'adduser' step. You don't have to assign passwords
> >> on the Linux side.
> >>
> >> --
> >> Les Mikesell
> >> les at futuresource.com
> >>
> >> _______________________________________________
> >> K12OSN mailing list
> >> K12OSN at redhat.com
> >> https://www.redhat.com/mailman/listinfo/k12osn
> >> For more info see <http://www.k12os.org>
> >>
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
> >
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
More information about the K12OSN
mailing list