[Samba] samba Digest, Vol 110, Issue 12

Uttam Shrestha Rana uttam.shrestha.rana at gmail.com
Mon Feb 13 09:26:53 MST 2012


Hello Williams

Thanks for your prompt help, well valid user and write-list were define as
got to read but still got confused so can you share me the link of the
standard document or mail me that document so that i can go through it and
implement on the given scenario. Or if you can share any example
configuration then it will be great. I hope for help from you and all
experts.

Thank You

Regards
Uttam Rana

On Mon, Feb 13, 2012 at 12:45 AM, <samba-request at lists.samba.org> wrote:

> Send samba mailing list submissions to
>        samba at lists.samba.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.samba.org/mailman/listinfo/samba
> or, via email, send a message with subject or body 'help' to
>        samba-request at lists.samba.org
>
> You can reach the person managing the list at
>        samba-owner at lists.samba.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of samba digest..."
>
> Today's Topics:
>
>   1. Re: samba-tool set default group (Matthieu Patou)
>   2. Re: latest Samba 4 does not look in keytab (Matthieu Patou)
>   3. Re: samba-tool set default group (steve)
>   4. Samba4 internal dns server cannot find ldap (steve)
>   5. Re: samba 4 provision fails [solved] (steve)
>   6. About SAMBA Configuration (Uttam Shrestha Rana)
>   7. Re: About SAMBA Configuration (Adam Tauno Williams)
>   8. Samba 4 no longer accepts SASL GSSAPI? (steve)
>   9. Re: samba 4 provision fails [solved] (Matthieu Patou)
>
>
> ---------- Forwarded message ----------
> From: Matthieu Patou <mat at samba.org>
> To: samba at lists.samba.org
> Cc:
> Date: Sat, 11 Feb 2012 14:07:39 -0800
> Subject: Re: [Samba] samba-tool set default group
> On 02/09/2012 05:21 AM, steve wrote:
>
>> Hi
>> How do I set the default group for a user?
>>
>> e.g.
>> samba-tool group add opensuse
>> samba-tool group addusers opensuse steve
>>
>> But steve's default group is still Users.
>>
>> I'm looking for soething like this:
>> 'samba-tool group setdefaultgroup steve opensuse'
>>
>> But here isn't that command. I have to do it in Windows.
>>
>> Is there a command I'm missing?
>> Cheers,
>> Steve
>>
>
> Do you know that you can use the windows admin tools again samba 4 also,
> Administration pack for Windows XP/2003 or Vista/2008 are working very well
> against samba.
>
> With those tool changing the default group is just a breath.
>
> Matthieu.
>
> --
> Matthieu Patou
> Samba Team
> http://samba.org
>
>
>
>
> ---------- Forwarded message ----------
> From: Matthieu Patou <mat at samba.org>
> To: samba at lists.samba.org
> Cc:
> Date: Sat, 11 Feb 2012 14:09:16 -0800
> Subject: Re: [Samba] latest Samba 4 does not look in keytab
> On 02/10/2012 03:37 PM, steve wrote:
>
>> Unfortunately, upgradeprovision fails. There are other issues with this
>> latest git because instead of installing everything under /usr/local/samba
>> it leaves stuff in samba-master which it still uses after it has installed.
>> Problem is that make install messes up samba-master. Running make again
>> fixes most of it but leaves the dns files with the wrong permissions if you
>> are using bind9 and the samba dns server falls over after a restart if you
>> provision with the internal. That is on Ubuntu. I keep my old checkout
>> under openSUSE to fall back on. Time for a clean start on Ubuntu I think.
>> Cheers,
>> Steve
>>
> Please file a bug about upgradeprovision.
>
>
>
> --
> Matthieu Patou
> Samba Team
> http://samba.org
>
>
>
>
> ---------- Forwarded message ----------
> From: steve <steve at steve-ss.com>
> To: samba at lists.samba.org
> Cc:
> Date: Sat, 11 Feb 2012 23:40:48 +0100
> Subject: Re: [Samba] samba-tool set default group
> On 02/11/2012 11:07 PM, Matthieu Patou wrote:
>
>> On 02/09/2012 05:21 AM, steve wrote:
>>
>>> Hi
>>> How do I set the default group for a user?
>>>
>>> e.g.
>>> samba-tool group add opensuse
>>> samba-tool group addusers opensuse steve
>>>
>>> But steve's default group is still Users.
>>>
>>> I'm looking for soething like this:
>>> 'samba-tool group setdefaultgroup steve opensuse'
>>>
>>> But here isn't that command. I have to do it in Windows.
>>>
>>> Is there a command I'm missing?
>>> Cheers,
>>> Steve
>>>
>>
>> Do you know that you can use the windows admin tools again samba 4 also,
>> Administration pack for Windows XP/2003 or Vista/2008 are working very well
>> against samba.
>>
>> With those tool changing the default group is just a breath.
>>
>> Matthieu.
>>
>>  Hi
>
> Yes, but it seems overkill to have to tie up a whole Windows client when
> all we need is a 3 line ldif to change primaryGroupID (Thanks to Geza for
> pointing us at the correct attribute).
>
> Having said that, are there any plans to include the (rather nice) Resara
> front end for Samba4 with any official release?
>
> Thanks for your time,
> Steve
>
>
>
> ---------- Forwarded message ----------
> From: steve <steve at steve-ss.com>
> To: samba at lists.samba.org
> Cc:
> Date: Sun, 12 Feb 2012 10:23:21 +0100
> Subject: [Samba] Samba4 internal dns server cannot find ldap
> Version 4.0.0alpha18-GIT-567f05e
> Ubuntu 11.10
>
> ../source4/dsdb/dns/dns_**update.c:294: Failed DNS update -
> NT_STATUS_IO_TIMEOUT
> dns child failed to find name '_ldap._tcp.HH3.SITE' of type SRV
> finddcs: Failed to find SRV record for _ldap._tcp.HH3.SITE
>
> Is there anything I need to configure in the internal server?
> Thanks,
> Steve
>
>
>
>
> ---------- Forwarded message ----------
> From: steve <steve at steve-ss.com>
> To: samba at lists.samba.org
> Cc:
> Date: Sun, 12 Feb 2012 10:34:44 +0100
> Subject: Re: [Samba] samba 4 provision fails [solved]
> On 02/11/2012 12:16 PM, steve wrote:
>
>> On 02/11/2012 09:07 AM, steve wrote:
>>
>>> Version 4.0.0alpha18-GIT-389bb4f
>>> Ubuntu 11.10
>>>
>>> Provision fails with:
>>>
>>> Setting up sam.ldb users and groups
>>> Traceback (most recent call last):
>>>  File "./source4/setup/provision", line 262, in <module>
>>>    useeadb=eadb, next_rid=opts.next_rid, lp=lp)
>>>  File "bin/python/samba/provision/__**init__.py", line 1757, in
>>> provision
>>>    am_rodc=am_rodc, lp=lp)
>>>  File "bin/python/samba/provision/__**init__.py", line 1455, in
>>> provision_fill
>>>    next_rid=next_rid, dc_rid=dc_rid) Hi
>>>
>>
>>   File "bin/python/samba/provision/__**init__.py", line 1288, in
>>> fill_samdb
>>>    "KRBTGTPASS_B64": b64encode(krbtgtpass.encode('**utf-16-le'))
>>>  File "bin/python/samba/provision/**common.py", line 52, in
>>> setup_add_ldif
>>>    ldb.add_ldif(data, controls)
>>>  File "bin/python/samba/__init__.py"**, line 221, in add_ldif
>>>    self.add(msg, controls)
>>> _ldb.LdbError: (1, 'operations error at ../source4/dsdb/samdb/ldb_**
>>> modules/password_hash.c:2163')
>>>
>>> Any ideas?
>>> Thanks,
>>> Steve
>>>
>>
>> Hi again
>> Tried running make again after make install. Same error.
>>
>> Could someone on samba-technical forward this there?
>> Thanks,
>> Steve
>>
>>  Ubuntu no longer ships with libreadline5-dev
>
> The apt-get line in the wiki should read:
> apt-get install build-essential libattr1-dev libblkid-dev libgnutls-dev
> libreadline-gplv2-dev python-dev autoconf python-dnspython gdb pkg-config
> bind9utils libpopt-dev
>
> Maybe someone who has a wiki account could check this and update the info?
> Also, having to rerun make could be mentioned there too.
>
> Thanks and hth,
> Steve
>
>
>
> ---------- Forwarded message ----------
> From: Uttam Shrestha Rana <uttam.shrestha.rana at gmail.com>
> To: samba at lists.samba.org
> Cc:
> Date: Sun, 12 Feb 2012 16:32:26 +0545
> Subject: [Samba] About SAMBA Configuration
> Hello everyone
>
> I am in need of help on configuring SAMBA Server: requirement as -
>
> Two SAMBA user: *one user* should have *read, write* access to SAMBA server
> share directory but *not delete, modify* the files uploaded on share
> directory *files size limited to 300K* where as *another user* should have
> only *read access* to same SAMBA server share directory. Please help me if
> it is possible to be configured or if any alternate things can be
> approximately matches this scenario. It will be great support for you like
> experts.
>
> Regards,
> Uttam Rana
>
>
>
> ---------- Forwarded message ----------
> From: Adam Tauno Williams <awilliam at whitemice.org>
> To: samba at lists.samba.org
> Cc:
> Date: Sun, 12 Feb 2012 10:42:41 -0500
> Subject: Re: [Samba] About SAMBA Configuration
> On Sun, 2012-02-12 at 16:32 +0545, Uttam Shrestha Rana wrote:
> > I am in need of help on configuring SAMBA Server: requirement as -
> > Two SAMBA user: *one user* should have *read, write* access to SAMBA
> server
> > share directory but *not delete, modify* the files uploaded on share
> > directory *files size limited to 300K* where as *another user* should
> have
> > only *read access* to same SAMBA server share directory. Please help me
> if
> > it is possible to be configured or if any alternate things can be
> > approximately matches this scenario. It will be great support for you
> like
> > experts.
>
> This is certainly possible;  everything required is included in the
> standard documentation.  Check out the "valid users" and "write list"
> defaults.  You should also be able to modify share permissions with
> cacls or other Windows tools.
>
> --
> System & Network Administrator [ LPI & NCLA ]
> <http://www.whitemiceconsulting.com>
> OpenGroupware Developer <http://www.opengroupware.us>
> Adam Tauno Williams
>
>
>
>
> ---------- Forwarded message ----------
> From: steve <steve at steve-ss.com>
> To: samba at lists.samba.org
> Cc:
> Date: Sun, 12 Feb 2012 18:09:47 +0100
> Subject: [Samba] Samba 4 no longer accepts SASL GSSAPI?
> Version 4.0.0alpha18-GIT-567f05e
> Ubuntu 11.10
>
> Attempting to bind from nss-ldapd:
> ldb_wrap open of secrets.ldb
> GSS server Update(krb5)(1) Update failed:  An unsupported mechanism was
> requested: unknown mech-code 0 for mech 1 2 840 113554 1 2 2
>
> The call is from here:
>
> base dc=hh3,dc=site
> map    passwd uid              samAccountName
> map    passwd homeDirectory    unixHomeDirectory
> sasl_mech GSSAPI
> sasl_realm HH3.SITE
> krb5_ccname /tmp/krb5cc_0
>
> There is a ticket cache in /tmp/krb5cc_0
>
> A conventional bind works fine.
> Thanks,
> Steve
>
>
>
> ---------- Forwarded message ----------
> From: Matthieu Patou <mat at samba.org>
> To: samba at lists.samba.org, "Lars Müller" <lars at samba.org>
> Cc:
> Date: Sun, 12 Feb 2012 10:01:18 -0800
> Subject: Re: [Samba] samba 4 provision fails [solved]
>
>  Steve
>>>
>>>  Ubuntu no longer ships with libreadline5-dev
>>
>> The apt-get line in the wiki should read:
>> apt-get install build-essential libattr1-dev libblkid-dev libgnutls-dev
>> libreadline-gplv2-dev python-dev autoconf python-dnspython gdb pkg-config
>> bind9utils libpopt-dev
>>
>> Maybe someone who has a wiki account could check this and update the
>> info? Also, having to rerun make could be mentioned there too.
>>
>>  Go on the wiki create an account, ask lars (in copy of this email) for
> write rights on your account. Then you will be able to fix the wiki.
>
> Cheers.
>
>
> --
> Matthieu Patou
> Samba Team
> http://samba.org
>
>
>
> _______________________________________________
> samba mailing list
> samba at lists.samba.org
> https://lists.samba.org/mailman/listinfo/samba
>
>


More information about the samba mailing list