Displaying 18 results from an estimated 18 matches for "gid_number".
Did you mean:
cid_number
2014 Aug 05
1
samba-tool syntax error?
...ich gives me the following error:
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'user': - unable
to parse dn string
File "/home/vms/devbin/lib/python2.7/site-packages/samba/netcmd/user.py",
line 176, in run
uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos,
loginshell=login_shell)
File "/home/vms/devbin/lib/python2.7/site-packages/samba/samdb.py", line
407, in newuser
ldbmessage2.dn = ldb.Dn(self, user_dn)
Since it didn't detect a syntax error, I assume there is something worse..
But I don't really know why it wo...
2015 Nov 10
3
Unable to use samba-tool
...eate edward
New Password:
Retype Password:
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'edward': -
unable to parse dn string
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
176, in run
uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos,
loginshell=login_shell)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in
newuser
dnsdomain = ldb.Dn(self,
self.domain_dn()).canonical_str().replace("/", "")
----------------------------------------------
samba-tool user list
lt...
2015 Oct 07
1
samba-tool user add
...=pepito,CN=Users,DC=dtnorte,DC=etecsa,DC=cu -
../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
CN=pepito,CN=Users,DC=dtnorte,DC=etecsa,DC=c
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
176, in run
uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos,
loginshell=login_shell)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 422, in
newuser
self.add(ldbmessage)
root at nbn-2:~#
this is may smb.conf
root at nbn-2:~# cat /etc/samba/smb.conf
[global]
workgroup = dtnorte
realm = DTNORTE.ETECSA....
2015 Nov 10
1
Unable to use samba-tool
...t;> ERROR(<type 'exceptions.ValueError'>): Failed to add user 'edward': -
>> unable to parse dn string
>> File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
>> 176, in run
>> uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos,
>> loginshell=login_shell)
>> File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in
>> newuser
>> dnsdomain = ldb.Dn(self,
>> self.domain_dn()).canonical_str().replace("/", "")
>>
>> -------...
2015 Oct 29
3
Local Administrators (group) and delegation in AD
...uld share your thoughts.
>>
>> /Davor
>>
>
> How about this:
>
> ssh into the DC, either as root or as a user that can use sudo (you
> can use kerberos, but I am not going into that here)
>
> Create the group:
> samba-tool group add unixadmins --gid-number=GID_NUMBER
> --nis-domain=NIS_DOMAIN
>
> Add the group to Administrators:
> samba-tool group addmembers Administrators unixadmins
>
> Add the required users to unixadmins, they should get the same rights
> as if they were directly members of Administrators.
> samba-tool group addmemb...
2015 Nov 10
0
Unable to use samba-tool
...Retype Password:
> ERROR(<type 'exceptions.ValueError'>): Failed to add user 'edward': -
> unable to parse dn string
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
> 176, in run
> uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos,
> loginshell=login_shell)
> File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in
> newuser
> dnsdomain = ldb.Dn(self,
> self.domain_dn()).canonical_str().replace("/", "")
>
> -----------------------------------...
2014 Jun 12
2
samba-tool user add --uid
Is it a bug or a feature?
While --gid maps to the gidNumber OID of posixAccount, --uid maps to
uid, which is supposed to contain the textual user name. The numerical
uid should be in uidNumber, but there doesn't seem to be an option to
set this.
Of course the aim is to migrate an existing OpenLDAP, Kerberos, Samba3
infrastructure to Samba4 AD.
Thanks for your help,
- lars.
2015 Oct 07
0
Tr : RE: samba-tool user add
...norte,DC=etecsa,DC=cu -
> ../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in
> CN=pepito,CN=Users,DC=dtnorte,DC=etecsa,DC=c
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
> 176, in run
> uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos,
> loginshell=login_shell)
> File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 422, in
> newuser
> self.add(ldbmessage)
> root at nbn-2:~#
>
> this is may smb.conf
>
> root at nbn-2:~# cat /etc/samba/smb.conf
> [global]
>...
2015 Oct 29
0
Local Administrators (group) and delegation in AD
...escribed.
>
> I would be grateful if you could share your thoughts.
>
> /Davor
>
How about this:
ssh into the DC, either as root or as a user that can use sudo (you can
use kerberos, but I am not going into that here)
Create the group:
samba-tool group add unixadmins --gid-number=GID_NUMBER
--nis-domain=NIS_DOMAIN
Add the group to Administrators:
samba-tool group addmembers Administrators unixadmins
Add the required users to unixadmins, they should get the same rights as
if they were directly members of Administrators.
samba-tool group addmembers unixadmins anADuser
Now with setf...
2015 Oct 29
2
Local Administrators (group) and delegation in AD
...>>
>>> How about this:
>>>
>>> ssh into the DC, either as root or as a user that can use sudo (you can
>>> use kerberos, but I am not going into that here)
>>>
>>> Create the group:
>>> samba-tool group add unixadmins --gid-number=GID_NUMBER
>>> --nis-domain=NIS_DOMAIN
>>>
>>> Add the group to Administrators:
>>> samba-tool group addmembers Administrators unixadmins
>>>
>>> Add the required users to unixadmins, they should get the same rights as
>>> if they were directly me...
2023 Feb 24
2
ldb transaction question
Hi:
I want to add rfc2307 attribute to machine account. I saw I can do
it via "samba-tool computer". but I want to try if there is a simpler
method, so I issue the command:
./samba-tool user addunixattrs 'machine$' 9999
and result:
You are setting a Unix/RFC2307 UID & GID. You may want to set
'idmap_ldb:use rfc2307 = Yes' in smb.conf to use the attributes for
2015 Oct 29
4
Local Administrators (group) and delegation in AD
On 2015-10-29 09:52, Rowland Penny wrote:
> On 29/10/15 08:34, Davor Vusir wrote:
>> Hi all!
>>
>> We have got many delegations in our AD. To add a certain
>> administrator group to the local Administrators group you can use GPO
>> for Windowsservers. As Samba does not understand GPO I have initially
>> used the "username map" feature to add a
2015 Apr 30
2
Full list of options when using samba-tool user create
...User's Unix/RFC2307 NIS domain
--unix-home=UNIX_HOME
User's Unix/RFC2307 home directory
--uid=UID User's Unix/RFC2307 username
--uid-number=UID_NUMBER
User's Unix/RFC2307 numeric UID
--gid-number=GID_NUMBER
User's Unix/RFC2307 primary GID number
--gecos=GECOS User's Unix/RFC2307 GECOS field
--login-shell=LOGIN_SHELL
User's Unix/RFC2307 login shell
----------------------------------------------------------------------------------...
2015 Oct 29
0
Local Administrators (group) and delegation in AD
...gt; /Davor
>>>
>>>
>> How about this:
>>
>> ssh into the DC, either as root or as a user that can use sudo (you can
>> use kerberos, but I am not going into that here)
>>
>> Create the group:
>> samba-tool group add unixadmins --gid-number=GID_NUMBER
>> --nis-domain=NIS_DOMAIN
>>
>> Add the group to Administrators:
>> samba-tool group addmembers Administrators unixadmins
>>
>> Add the required users to unixadmins, they should get the same rights as
>> if they were directly members of Administrators.
>...
2015 Oct 30
2
Local Administrators (group) and delegation in AD
...;>> ssh into the DC, either as root or as a user that can use sudo
>>>>> (you can
>>>>> use kerberos, but I am not going into that here)
>>>>>
>>>>> Create the group:
>>>>> samba-tool group add unixadmins --gid-number=GID_NUMBER
>>>>> --nis-domain=NIS_DOMAIN
>>>>>
>>>>> Add the group to Administrators:
>>>>> samba-tool group addmembers Administrators unixadmins
>>>>>
>>>>> Add the required users to unixadmins, they should get the same...
2015 Oct 29
0
Local Administrators (group) and delegation in AD
...>>>
>>>> ssh into the DC, either as root or as a user that can use sudo (you
>>>> can
>>>> use kerberos, but I am not going into that here)
>>>>
>>>> Create the group:
>>>> samba-tool group add unixadmins --gid-number=GID_NUMBER
>>>> --nis-domain=NIS_DOMAIN
>>>>
>>>> Add the group to Administrators:
>>>> samba-tool group addmembers Administrators unixadmins
>>>>
>>>> Add the required users to unixadmins, they should get the same
>>>> right...
2015 Nov 03
0
Local Administrators (group) and delegation in AD
...he DC, either as root or as a user that can use sudo
>>>>>> (you can
>>>>>> use kerberos, but I am not going into that here)
>>>>>>
>>>>>> Create the group:
>>>>>> samba-tool group add unixadmins --gid-number=GID_NUMBER
>>>>>> --nis-domain=NIS_DOMAIN
>>>>>>
>>>>>> Add the group to Administrators:
>>>>>> samba-tool group addmembers Administrators unixadmins
>>>>>>
>>>>>> Add the required users to unixadmins,...
2015 Dec 07
4
userid shows 4294967295
I'm coming from a Debian system so my system accounts are below 1000,
regular accounts start at 1000. For some historical reason somebody gave
our main group id 500 so therefor I want my usable range to start at 500.
Do I need both idmap config *:range and idmap config SAMDOM:range? I also
tried with only 'idmap config *:range' but that didn't seem to help. I'll
try again