Displaying 11 results from an estimated 11 matches for "domainnetbio".
Did you mean:
domainnetbios
2015 Apr 09
2
samba member logon.. question.
...dNumber
> _findnext () {
> ATTR="$1"
> if [ -z "${ATTR}" ]; then
> error "No Attribute supplied"
> error "Cannot continue... Exiting."
> exit 1
> fi
> _NEXTID=$(ldbsearch -H ${LDBDB} -b
> "CN=${domainNETBios},CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,${domainDN}"
> -s sub '(objectClass=msSFU30DomainInfo)' ${ATTR} | grep "${ATTR}: " |
> awk '{print $NF}')
> if [ -z "$_NEXTID" ] || [ "$_NEXTID" -lt "10000" ]; then
>...
2015 Apr 09
3
samba member logon.. question.
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
>>>> get the same ID on each Unix machine, you will
2018 May 29
4
Scripting the next UID/GID number to use
...e this:
>
> # UPDATE msSFU30MaxUidNumber/msSFU30MaxGidNumber
> # Input : $1 $2
> # $1: what to update (msSFU30MaxUidNumber or msSFU30MaxGidNumber)
> # $2: Next Number
> #
> # Output : Nothing
> _updatemax () {
> echo "Updating $1"
>
> newid="dn: CN=$domainNETBios,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$domainDN
> changetype: modify
> replace: $1
> $1: $2"
Actually, you would want to use (something like this, not tested):
changetype: modify
add: $1
$1: $2
delete: $1
$1: $2
This is called a constrained update, and avoids a race wh...
2015 Apr 09
3
samba member logon.. question.
...gt;> if [ -z "${ATTR}" ]; then
>>> error "No Attribute supplied"
>>> error "Cannot continue... Exiting."
>>> exit 1
>>> fi
>>> _NEXTID=$(ldbsearch -H ${LDBDB} -b
>>> "CN=${domainNETBios},CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,${domainDN}"
>>> -s sub '(objectClass=msSFU30DomainInfo)' ${ATTR} | grep "${ATTR}: " |
>>> awk '{print $NF}')
>>> if [ -z "$_NEXTID" ] || [ "$_NEXTID" -lt "1000...
2015 Apr 09
0
samba member logon.. question.
...ber
# Output : the first free uidNumber or gidNumber
_findnext () {
ATTR="$1"
if [ -z "${ATTR}" ]; then
error "No Attribute supplied"
error "Cannot continue... Exiting."
exit 1
fi
_NEXTID=$(ldbsearch -H ${LDBDB} -b
"CN=${domainNETBios},CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,${domainDN}"
-s sub '(objectClass=msSFU30DomainInfo)' ${ATTR} | grep "${ATTR}: " |
awk '{print $NF}')
if [ -z "$_NEXTID" ] || [ "$_NEXTID" -lt "10000" ]; then
_NEXTID="1...
2015 Apr 09
0
samba member logon.. question.
...ATTR="$1"
>> if [ -z "${ATTR}" ]; then
>> error "No Attribute supplied"
>> error "Cannot continue... Exiting."
>> exit 1
>> fi
>> _NEXTID=$(ldbsearch -H ${LDBDB} -b
>> "CN=${domainNETBios},CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,${domainDN}"
>> -s sub '(objectClass=msSFU30DomainInfo)' ${ATTR} | grep "${ATTR}: " |
>> awk '{print $NF}')
>> if [ -z "$_NEXTID" ] || [ "$_NEXTID" -lt "10000" ]; t...
2015 Apr 09
0
samba member logon.. question.
...TTR}" ]; then
>>>> error "No Attribute supplied"
>>>> error "Cannot continue... Exiting."
>>>> exit 1
>>>> fi
>>>> _NEXTID=$(ldbsearch -H ${LDBDB} -b
>>>> "CN=${domainNETBios},CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,${domainDN}"
>>>> -s sub '(objectClass=msSFU30DomainInfo)' ${ATTR} | grep "${ATTR}: " |
>>>> awk '{print $NF}')
>>>> if [ -z "$_NEXTID" ] || [ "$_NEXTID" -...
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
0
Scripting the next UID/GID number to use
...MaxGidNumber
> > # Input : $1 $2
> > # $1: what to update (msSFU30MaxUidNumber or msSFU30MaxGidNumber)
> > # $2: Next Number
> > #
> > # Output : Nothing
> > _updatemax () {
> > echo "Updating $1"
> >
> > newid="dn:
> > CN=$domainNETBios,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$domainDN
> > changetype: modify replace: $1
> > $1: $2"
>
> Actually, you would want to use (something like this, not tested):
>
> changetype: modify
> add: $1
> $1: $2
> delete: $1
> $1: $2
>
> Th...
2018 May 30
2
Scripting the next UID/GID number to use
On Wed, 30 May 2018 10:03:19 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Andrew Bartlett via samba
> In chel di` si favelave...
>
> > > newid="dn:
> > > CN=$domainNETBios,CN=ypservers,CN=ypServ30,CN=RpcServices,CN=System,$domainDN
> > > changetype: modify replace: $1
> > > $1: $2"
> >
> > Actually, you would want to use (something like this, not tested):
> >
> > changetype: modify
> > add: $1
> > $1: $2
&...
2007 Jun 04
2
Unable to set/authenticate to correct domain...
...the base install -- openldap, etc.) and have set it up to authenticate to LDAP directories on two different servers (one of them set up as a samba PDC and the other as a samba BDC) in the usual way:[global]workgroup = mydomaindomain master = no...passdb backend = ldapsam:"ldaps://...security = domainnetbios name = p505...And I have a share set up like the following:[shared] comment = shared files path = /tmp/shares/testshare valid users = test read only = no write list = test browseable = Yes(It will be good to note that user 'test' belongs to group 'testers'. Both...