Displaying 14 results from an estimated 14 matches for "uid_number".
Did you mean:
cid_number
2014 Aug 05
1
samba-tool syntax error?
...er at myschool.edu
Which 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...
2015 Nov 10
3
Unable to use samba-tool
...udo samba-tool user create 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("/", "")
----------------------------------------------
s...
2015 Oct 07
1
samba-tool user add
...index objectSid in
CN=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
r...
2015 Jun 23
1
Winbindd Strangeness
...er. Both are running on Centos7 and samba version 4.2.2. The Member Server is running smbd and winbindd.
I've followed the wiki and for the most part it's working. However, after stuffing up the ranges, then fixing them up, when I create new accounts, adding all the Unix attributes, the UID_Number is not showing the correct value for new accounts. Existing ones are okay.
Member_Server Config:
[global]
netbios name = MS1
workgroup = AD
security = ADS
realm = SAMBADOM
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
idmap config *:backend = tdb...
2015 Nov 10
1
Unable to use samba-tool
...t; 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("/", "")
>...
2015 Jun 24
1
Winbindd Strangeness
...running on Centos7 and samba version 4.2.2. The Member Server is running smbd and winbindd.
>
> I've followed the wiki and for the most part it's working. However, after stuffing up the ranges, then fixing them up, when I create new accounts, adding all the Unix attributes, the UID_Number is not showing the correct value for new accounts. Existing ones are okay.
>
> Member_Server Config:
>
> [global]
>
> netbios name = MS1
> workgroup = AD
> security = ADS
> realm = SAMBADOM
> dedicated keytab file = /etc...
2015 Jun 25
1
Winbindd Strangeness
...Server is
>>> running smbd and winbindd.
>>>
>>> I've followed the wiki and for the most part it's working.
>>> However, after stuffing up the ranges, then fixing them up, when I
>>> create new accounts, adding all the Unix attributes, the UID_Number
>>> is not showing the correct value for new accounts. Existing ones are
>>> okay.
>>>
>>> Member_Server Config:
>>>
>>> [global]
>>>
>>> netbios name = MS1
>>> workgroup = AD
>>>...
2015 Nov 10
0
Unable to use samba-tool
...gt; 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("/", "")
>
> -------------...
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
...=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...
2015 Jun 29
1
Winbindd Strangeness
...ning smbd and winbindd.
>>>>
>>>> I've followed the wiki and for the most part it's working.
>>>> However, after stuffing up the ranges, then fixing them up, when I
>>>> create new accounts, adding all the Unix attributes, the UID_Number
>>>> is not showing the correct value for new accounts. Existing ones are
>>>> okay.
>>>>
>>>> Member_Server Config:
>>>>
>>>> [global]
>>>>
>>>> netbios name = MS1...
2015 Apr 30
2
Full list of options when using samba-tool user create
...by explicit UID/GID/GECOS/shell)
--nis-domain=NIS_DOMAIN
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 shel...
2015 Jul 02
0
Winbindd Strangeness [Solved]
...t;>> >>>>> However, after stuffing up the ranges, then fixing them up,
>>>>>> >>>>>when I
>>>>>> >>>>> create new accounts, adding all the Unix attributes, the
>>>>>> >>>>>UID_Number
>>>>>> >>>>> is not showing the correct value for new accounts. Existing
>>>>>> >>>>>ones are
>>>>>> >>>>> okay.
>>>>>> >>>>>
>>>>>> >>...
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