Displaying 20 results from an estimated 5000 matches similar to: "Is there something similar to ADUC in Samba?"
2018 May 29
2
Scripting the next UID/GID number to use
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 msSFU30MaxUidNumber or msSFU30MaxGidNumber. I'm not sure how
to use ldbedit to script this process. Any guidance would be great. Thanks.
- James
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
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
2018 Nov 19
4
getenv does not return any AD DOMAIN users or groups - ?nsswitch is not setup for Samba?
>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 objects. It's helpful and confusing, but maybe because I'm just not informed enough.
I got the property pages to show in AD Users & Computers,
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
2014 Dec 11
3
Samba 4 two DCs no matching UID/GID
Thanks for your advice regarding modifying the ldb. Before I do that I have to tell that uids and gids are automatically assigned in ADUC Unix tab.
All have to do is to choose the NIS domain. After changing this field all other Unix attributes are automatially filled in. So this works.
I tried something different for testing:
I added a user with samba-tool using a script and assigned a random
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
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 Jan 16
3
Avoiding uid conflicts between rfc2307 user/groups and computers
Mandi! Kacper Wirski via samba
In chel di` si favelave...
> I understand the OP, I was asking some time ago similar question, but it was
> in relation to samba domain member.
Thanks, Kacper.
> I couldn't get backend: ad to work for
> machine accounts, so i switched to idmap: rid and it solved everything. I
> tried manually adding UID and GID to Domain Computer group and to
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
4
Domain member server: user access
Am 2017-10-10 um 09:57 schrieb Rowland Penny via samba:
> On Tue, 10 Oct 2017 09:19:11 +0200
> "Stefan G. Weichinger via samba" <samba at lists.samba.org> wrote:
>>
>> The admin there created a group via RSAT.
>> And that group was not visible/usable on the DM server.
>
> It wouldn't be if the group was created as just a windows group.
How to
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 ;-)
2014 Jun 04
0
tested lowering default GID/UID failed. ( samba 4.1.7 ) ( minor BUG? )
Hai.
?
on the page here.
http://wiki.samba.org/index.php/Using_RFC2307_on_a_Samba_DC?
?
I?did read :
Per default Active Directory starts assigning UIDs/GIDs both at 10000.
You can change the next UID/GID that will be assigned. E. g. if you require to start UIDs at 20000 and GID at 50000, change the values on a Domain Controller:
Ok, now im lowering the default from 10000 to 5000, but samba
2016 Aug 08
4
UNIX attribute UID no longer increments with RSAT
Hello,
I'm using rfc2307 to enable Unix attributes on my DC's. Recently
when adding a user and attempting to add a UID with the RSAT, I
receiving the following error.
'Duplicate UID. Assign a uniqueUID.'
How do I list all users and their UID? I tried using 'pdbedit' and
wbinfo. Pdbedit appears to list the XID's and wbinfo needs me to specify
a user name. I
2015 Jan 29
1
rfc2307 deprecated in Windows 2012 R2?
On 29/01/15 22:27, Tim wrote:
> @Hans-Kristian:
> I'd like to see it. How did you automate this?
>
> @Andrew:
> In another thread I suggested to set the rfc2307 info automatically when a domain is provisioned with --use-rfc2307. Possibly by an additional parameter.
> This would make things easier in my eyes.
>
The problem with setting the rfc2307 info when the domain is
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:
>
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
2014 Dec 13
1
Samba 4 two DCs no matching UID/GID
The reason why is that simple: the other admin only knows the windows world and that's why it's gonna be risky regarding file services when he creates new users or groups and forgets about the Unix tab.
My personal hope is that samba will one day set rfc ids automatically so that these windows guys won't have to care. E.g. it could be an option when provisioning a new domain.
It would
2018 Jul 13
3
A few questions and propostions on the samba architecture
That explains why there is so little information on ldb and sqlite.
From my pov sqlite just seemed interesting, as it has a well known
syntax and the ability to embedd a transparent logic layer. As there is
no effort to use sqlite (or sql) in the future , I just burried that path.
As for compability I would strongly suggest to stay where Microsoft left
off, before killing the "UNIX
2013 Dec 10
3
Howto for manage unix data with ADUC
Hi,
My tests on DC server and File/print server have some problem with account
management...
user access right on home share is very strange.
if we use ADUC and home share (not homes) for new user, it work.
All howto in samba's wiki ask administrator to use windows tools for
manage users and groups and share like home share
so... I know that is possible to add unix tab on aduc (already