Displaying 20 results from an estimated 3000 matches similar to: "creating new users - missing uidNumber"
2017 Feb 01
0
creating new users - missing uidNumber
On Wed, 1 Feb 2017 15:20:47 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> Am 2017-02-01 um 14:49 schrieb Rowland Penny via samba:
>
> > If you just run 'samba-tool user create testuser' you will get a
> > user without a uidNumber. See example5 from 'samba-tool user create
> > --help' for how to create a user
2018 Jan 17
0
Avoiding uid conflicts between rfc2307 user/groups and computers
2018-01-15 20:14 GMT+01:00 Rowland Penny via samba <samba at lists.samba.org>:
> On Mon, 15 Jan 2018 19:51:12 +0100
> Prunk Dump via samba <samba at lists.samba.org> wrote:
>
>> Thank again for your help !
>>
>> 2018-01-12 21:26 GMT+01:00 Rowland Penny <rpenny at samba.org>:
>> > The problem is, you are thinking in the wrong direction ;-)
2018 Jan 15
1
Avoiding uid conflicts between rfc2307 user/groups and computers
Thank again for your help !
2018-01-12 21:26 GMT+01:00 Rowland Penny <rpenny at samba.org>:
> The problem is, you are thinking in the wrong direction ;-)
> If you give a user a uidNumber, or a group a gidNumber, these will be
> used instead of the xidNumbers found in idmap.ldb, you do not need to
> alter idmap.ldb at all.
> The way ADUC works, is by using a couple of
2020 Nov 03
1
Get last uidNumber
Am 03.11.20 um 17:46 schrieb Rowland penny via samba:
> On 03/11/2020 16:24, basti via samba wrote:
>> Hello,
>> is there a way to get the last uidNumber from ldap.
>>
>> I can do a ldapsearch like:
>>
>> ldapsearch -h samdom.example.com -D "administrator at samdom.example.com"
>> -w "changeit"? -b
2015 Apr 09
0
samba member logon.. question.
On 09/04/15 15:32, Luca Olivetti wrote:
> El 09/04/15 a les 16:20, Rowland Penny ha escrit:
>> On 09/04/15 14:58, Luca Olivetti wrote:
>>> El 09/04/15 a les 14:57, Andrey Repin ha escrit:
>>>>> Using the RFC2307 attributes, you will get the same ID number on every
>>>>> Unix machine, whereas if you use the 'rid' backend, whilst you should
2015 Apr 09
0
samba member logon.. question.
On 09/04/15 16:22, Andrey Repin wrote:
> Greetings, Rowland Penny!
>
>>>>>> Ok, good.
>>>>>> Now, how can I get RFC2307 attributes populated automatically upon
>>>>>> users or
>>>>>> groups creation?
>>>>> You can't :-(
>>>>> I'm experimenting with
>>>>>
2015 Apr 09
0
samba member logon.. question.
On 09/04/15 17:09, Andrey Repin wrote:
> Greetings, Rowland Penny!
>
>>>> You are using python, which to me is a very big snake, so I bash it :-D
>>>> I just use these two functions in a bash script:
>>>> # Finds the next useable user uidNumber or group gidNumber
>>>> # Input : $1
>>>> # $1 : msSFU30MaxUidNumber or
2015 Apr 09
2
samba member logon.. question.
Greetings, Rowland Penny!
>>>>> Ok, good.
>>>>> Now, how can I get RFC2307 attributes populated automatically upon
>>>>> users or
>>>>> groups creation?
>>>> You can't :-(
>>>> I'm experimenting with
>>>> https://github.com/laotse/SambaPosix
>>>> but it's quite buggy (at least
2017 Feb 02
2
creating new users - missing uidNumber
Am 2017-02-01 um 15:32 schrieb Rowland Penny via samba:
> You don't need to do that, there are a couple of attributes (which you
> will probably not have) which will store the next uid & gidNumber.
> these are 'msSFU30MaxUidNumber' & 'msSFU30MaxGidNumber' and they
> should/can be here:
> dn:
>
2015 Apr 09
3
samba member logon.. question.
Greetings, Rowland Penny!
>>> You are using python, which to me is a very big snake, so I bash it :-D
>>> I just use these two functions in a bash script:
>>> # Finds the next useable user uidNumber or group gidNumber
>>> # Input : $1
>>> # $1 : msSFU30MaxUidNumber or msSFU30MaxGidNumber
>>> # Output : the first free uidNumber or gidNumber
2018 May 29
0
Scripting the next UID/GID number to use
On Wed, 30 May 2018 08:09:50 +1200
Andrew Bartlett <abartlet at samba.org> wrote:
> On Tue, 2018-05-29 at 21:00 +0100, Rowland Penny via samba wrote:
> > On Tue, 29 May 2018 15:50:44 -0400
> > lingpanda101 via samba <samba at lists.samba.org> wrote:
> >
> > > Hello,
> > >
> > > I'm developing a script to create a user and pass
2017 Aug 02
1
Bulk add users and rfc2307 attributes questions
Hi Rowland,
On Wed, 2 Aug 2017, Rowland Penny via samba wrote:
> On Tue, 1 Aug 2017 23:23:25 -0400 (EDT)
> Tom Diehl via samba <samba at lists.samba.org> wrote:
>
>> Hi,
>>
>> I am currently testing a self compiled 4.7.0rc3 AD DC and a samba
>> member server acting as a file server. I have them configured to use
>> rfc2307 attributes so that the samba
2017 Oct 10
0
Domain member server: user access
Here, a script you can use as start point. ;-)
Run it and it shows the command to "edit" the sam.ldb.
Just replace ldbedit with ldbsearch and script agains it.
cat addc-change-nix-rfc2307.sh
#!/bin/bash
# Per default Active Directory starts assigning UIDs/GIDs both at 10000.
# Defining the next UID/GID to use is not done with samba-tool (yet)
#
# Everytime a UID/GID is assigned,
2018 May 29
4
Scripting the next UID/GID number to use
On Tue, 2018-05-29 at 21:00 +0100, Rowland Penny via samba wrote:
> On Tue, 29 May 2018 15:50:44 -0400
> lingpanda101 via samba <samba at lists.samba.org> wrote:
>
> > Hello,
> >
> > I'm developing a script to create a user and pass along all the
> > necessary unix attributes required. I'm successful except when I go
> > to increment
2014 Dec 01
0
uidNumber. ( Was: What is --rfc2307-from-nss ??)
On 01/12/14 08:40, Greg Zartman wrote:
>
> Rowland,
>
> How are you selecting you UID to store in the AD uidNumber
> attribute? I initially thought UID could be pulled from the last set
> of digits from SID, ut this does not appear to be what others are
> doing :(
>
> What are you using determine the UID number???
>
> Thanks
>
I do what windows does, it
2017 Feb 02
0
creating new users - missing uidNumber
On Thu, 2 Feb 2017 11:01:06 +0100
"Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
> Am 2017-02-01 um 15:32 schrieb Rowland Penny via samba:
>
> > You don't need to do that, there are a couple of attributes (which
> > you will probably not have) which will store the next uid &
> > gidNumber. these are 'msSFU30MaxUidNumber'
2020 Nov 03
0
Get last uidNumber
On 03/11/2020 16:24, basti via samba wrote:
> Hello,
> is there a way to get the last uidNumber from ldap.
>
> I can do a ldapsearch like:
>
> ldapsearch -h samdom.example.com -D "administrator at samdom.example.com"
> -w "changeit"? -b "DC=samdom,DC=example,DC=com" -x -LLL
> "(uidNumber=*)" uidNumber | grep -Po
2014 Dec 13
0
Samba 4 two DCs no matching UID/GID
On 13/12/14 18:24, rintimtim at gmx.net wrote:
> Here you are my working script for setting gidNumbers. You're welcome
> to verify.
> WARNING: I'm not responsible for any damage. Use and test at your own
> risk. Variables must be set correctly!
> # Groups
> maxGid=40000
> pathTmpFiles="/root"
> domain="example"
>
2017 Feb 01
2
creating new users - missing uidNumber
Am 2017-02-01 um 14:49 schrieb Rowland Penny via samba:
> If you just run 'samba-tool user create testuser' you will get a user
> without a uidNumber. See example5 from 'samba-tool user create --help'
> for how to create a user with a uidNumber, but there is a gotcha, you
> will need to track the next uidNumber or gidNumber yourself.
yes, we figured that out and
2018 Nov 19
0
getenv does not return any AD DOMAIN users or groups - ?nsswitch is not setup for Samba?
On Mon, 19 Nov 2018 03:23:29 +0000
"Barry D. Adkins via samba" <samba at lists.samba.org> wrote:
> >What is wrong with the Samba wiki, what didn't go exactly like the
> >wiki ?
>
> https://wiki.samba.org/index.php/Maintaining_Unix_Attributes_in_AD_using_ADUC
>
> Well take this wiki that I'm trying to follow to add the AD uid/gid
> to the